Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-08 23:59:03.947278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bbbd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 149.70077443122864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:01:42.020726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.98937678337097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:04:03.319748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a8130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:06:22.029292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541c1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541c1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:08:42.374948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb551f9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.47517347335815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:11:02.656095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c8190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c8190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:13:22.475186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53eb1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:15:41.813116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55198f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.87696480751038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:18:02.911288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:20:21.951823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542a210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:22:42.259205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5503930>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.27089548110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:25:02.407208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54721d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54721d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:27:22.340171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54142b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54142b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:29:43.708429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543c6b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 137.78128504753113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 00:32:05.377930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 00:32:15.012302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb556e9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 140.0751016139984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:34:42.427680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5506990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.0223264694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:37:02.667104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ea210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ea210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:39:22.491634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54381b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54381b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:41:45.363290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5539970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.92703247070312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:44:02.581698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541f1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:46:22.401335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54021d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54021d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:48:42.888143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549b950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.24202966690063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:51:03.151543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:53:21.993897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c51b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 00:55:42.539705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5519a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.43037366867065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 00:59:03.283043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54741f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54741f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:01:22.692783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5462190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5462190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:03:42.025919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ef170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.10959815979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:06:02.287811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54101d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54101d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:08:22.303182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5452290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5452290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:10:42.587984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5459970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.50264358520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:13:02.778505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542d190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542d190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:15:23.077235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:17:42.474588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c69b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.45627689361572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:20:02.625673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5459250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5459250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:22:22.484114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b71b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b71b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:24:42.440352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5481a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.20977115631104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:27:02.700067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b92b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:29:22.509874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ff1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ff1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:31:42.770090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543d910>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.83997917175293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 01:34:02.647869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 01:34:12.065733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb554a9b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.02186059951782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 01:36:32.507099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb555cd50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.82305097579956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:39:03.012624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54891d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54891d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:41:22.501565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:43:41.872230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550b950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.5373079776764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:46:02.890804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5439230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5439230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:48:22.004694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cd1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:50:42.339021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54aa950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.91110563278198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:53:02.647098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544c230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:55:22.338479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b61b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b61b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 01:57:41.837832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 01:59:03.141519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542d1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:01:22.710229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54961b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54961b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:03:42.118214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.37191724777222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:06:03.248720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54931d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54931d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:08:22.374218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546f150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546f150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:10:42.565170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b1950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.88496232032776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:13:02.949482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54342b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54342b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:15:22.625122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb547c170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547c170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:17:42.083992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5466970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.2061676979065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:20:03.278462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54731f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:22:22.322682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5468250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5468250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:24:42.666170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548f6d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.47252702713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:27:03.003559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546c150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546c150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:29:21.976888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:31:42.440573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5532630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.5295488834381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:34:02.817423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548b210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:36:22.476123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f21b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f21b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:38:41.821212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ee650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.98885250091553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:41:02.980098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54151f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54151f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:43:22.006913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5407210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:45:42.317519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548da30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.33419752120972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:48:02.410154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54110f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54110f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:50:22.351238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548b290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548b290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 02:52:42.737466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5527ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.75261688232422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:55:02.976489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54d00f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d00f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 02:59:03.009788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bf170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bf170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:01:22.497182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54281f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54281f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:03:41.725822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.24437832832336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:06:02.801367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c5290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c5290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:08:22.738698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b8250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b8250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:10:42.191363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.6181764602661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:13:02.660535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ca210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ca210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:15:22.336607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:17:42.705832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d0630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.9443325996399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:20:02.796612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b7210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b7210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:22:22.665128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54582d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54582d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:24:41.886993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d69b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.6031951904297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:27:03.075893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e51b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:29:22.519592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54af290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:31:42.665848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5538a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.66422700881958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:34:03.268984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5467190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5467190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:36:22.106515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b5210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b5210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:38:42.386832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473910>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.78330159187317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:41:02.725226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542a1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:43:22.436683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5468270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5468270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:45:42.771582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5456990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.2388939857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:48:02.762218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:50:22.648463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ae110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ae110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 03:52:42.105563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.7445628643036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:55:02.830393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54251d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54251d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 03:59:03.298059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54671b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54671b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:01:22.103437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5451190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:03:42.379762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54fa8f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.9505317211151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:06:02.465493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c51d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c51d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:08:21.954573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c61b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c61b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:10:42.335665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5440950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.83445763587952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:13:02.645927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546e130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546e130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:15:22.242140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5457210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:17:42.750732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54dcab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.2593469619751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:20:04.515183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54221f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54221f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:22:22.328953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f31d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f31d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:24:48.777958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5527970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.19003295898438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 04:27:12.413041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5512a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.91473054885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 04:29:32.728985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5569950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.96113681793213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:32:02.752989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546c1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:34:21.893840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5424230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5424230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:36:45.908813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f09d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.86115288734436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:39:03.554172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f0150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f0150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:41:22.006877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5f3b990>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f3b990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:43:42.276303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5466a50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.3339614868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:46:02.423730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cc170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:48:22.314645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5407230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:50:42.821420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5465990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.62871146202087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:53:03.026948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:55:22.567272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54571f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54571f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 04:57:44.474745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 04:59:02.860373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542a270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542a270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:01:22.261744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a8270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:03:42.710335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 137.74507451057434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:06:02.916226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e4150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e4150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:08:26.720036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542e190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542e190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:11:03.227653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5479150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5479150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:13:22.837980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5423190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5423190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:15:42.261336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.2275915145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:18:03.298876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54291d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54291d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:20:22.215382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a01d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a01d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:22:42.471283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544f950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.9788155555725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:25:02.666500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c41b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c41b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:27:22.483460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5418150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5418150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:29:42.009438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5449a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.28067803382874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:32:03.074058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54961f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54961f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:34:22.114963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a81d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a81d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:36:42.614188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.5163562297821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:39:03.038098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e81f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e81f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:41:22.670541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f7250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f7250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:43:42.026202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b79b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.94277143478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:46:03.140223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ae2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ae2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:48:22.228358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c0130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c0130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:50:42.668046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5486970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.1420443058014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:53:03.003991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bb190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bb190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:55:22.712686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e0230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e0230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 05:57:42.063703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 05:59:03.525608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54aa190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54aa190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:01:21.970812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b61d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b61d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:03:42.227769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e99d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.82247066497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:06:02.488514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54411f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54411f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:08:22.381186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54be230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54be230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:10:42.777064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb552e990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.11306738853455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:13:03.108720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5420150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5420150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:15:22.880326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5400250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:17:42.201748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e5970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.52833914756775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:20:02.294923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54591f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54591f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:22:22.419332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f61b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f61b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:24:42.788228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb553a910>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.78033924102783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:27:03.237753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54171f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54171f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:29:21.917986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543f170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543f170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:31:42.431805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f1930>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.977885723114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:34:02.768694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54951b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54951b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:36:22.747585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53de1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53de1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:38:42.163280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5500990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.08680152893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:41:03.386335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5450190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5450190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:43:22.229504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5406150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5406150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 06:45:32.645390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ead90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.2028408050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:48:02.774486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540c190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540c190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:50:22.746118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545e190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545e190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 06:52:42.122159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.80789756774902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:55:03.526427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5488130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 06:59:03.691757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5437170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5437170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:01:22.165495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:03:42.734492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5467a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.67566347122192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:06:03.066999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:08:22.175642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cd290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:10:42.367941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5480ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.88105058670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:13:02.576664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c0210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c0210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:15:22.473307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546c150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546c150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:17:41.917209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.1722548007965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:20:03.026014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5480190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5480190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:22:22.051480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5f22710>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5f22710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 07:24:32.489142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5550a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.19938015937805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:27:02.853370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54632d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54632d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:29:27.547418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:32:03.019383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5485190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5485190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:34:22.805528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b3230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:36:43.923227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5537ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.92687153816223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:39:03.532843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5418150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5418150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:41:22.106345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cb170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cb170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:43:42.459006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e4990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.2310688495636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:46:02.632860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:48:22.643330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a41b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a41b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:50:42.183075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ff9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.34701657295227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:53:02.769934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f1190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f1190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:55:22.701565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c31d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c31d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 07:57:42.455016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 07:59:02.697590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54bf210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bf210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:01:22.397589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540b210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:03:42.707992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550e950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.06211352348328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 08:06:02.931340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 08:06:12.520024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5509d50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.84766221046448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 08:08:31.848622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c9a50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.76143884658813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:11:03.004287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53eb170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53eb170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:13:22.801293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dd190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dd190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:15:42.148141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550e9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.5419590473175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:18:02.314300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54551b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54551b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:20:22.362380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549c1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:22:41.996468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d59b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.53363490104675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:25:03.389389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5407130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5407130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:27:22.127784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544b210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544b210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:29:42.455098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a5a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.9149947166443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:32:07.473831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c71d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c71d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:34:22.466250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548c110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548c110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:36:42.812342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546ca70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.397709608078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:39:03.415778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540e170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540e170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:41:22.780657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5400190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5400190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:43:42.681923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f5650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.3673746585846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:46:03.138772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5467150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5467150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:48:22.197243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c0190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c0190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:50:42.409835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.48016548156738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:53:02.948912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:55:22.066118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ac190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ac190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 08:57:42.381935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 08:59:03.494962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 08:59:25.338086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5447190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5447190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:01:42.145401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e69d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.2249538898468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:04:03.265769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53ec170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53ec170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:06:22.030472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dd210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dd210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:08:42.321537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b79b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.88857412338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:11:02.548913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ad190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ad190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:13:21.904915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5477270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5477270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:15:42.330115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5515990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.71990871429443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:18:02.364382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54951d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54951d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:20:22.165206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5483190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:22:42.441891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5457a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.4481999874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:25:04.638197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53fc150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53fc150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:27:22.017245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f22b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f22b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:29:42.468652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.2590720653534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:32:06.183047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5460150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5460150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:34:22.196683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5488230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5488230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:36:42.375715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547aa90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.19441962242126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 09:39:02.682194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 09:39:11.927041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e0d70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.12054300308228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 09:41:32.336427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54af9b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.07373237609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:44:02.365603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543d1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543d1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:46:22.138687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54301b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54301b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:48:42.482583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5528970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.007572889328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:51:02.850806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cf290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cf290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:53:22.586582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e7230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e7230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 09:55:41.913257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e630>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.4168074131012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 09:59:03.728495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54922b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54922b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:01:22.188145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544e1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544e1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:03:42.464934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb551c9b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.14507961273193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:06:02.796719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb544d210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544d210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:08:21.837300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb540a130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb540a130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:10:42.387920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bf950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.0621373653412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:13:02.728308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ab210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ab210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:15:22.347696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53e4210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53e4210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:17:41.791445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb6557f50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.37866473197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:20:02.955280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54131b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54131b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:22:22.887964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54cd270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cd270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:24:42.166266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54afa90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.9639310836792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:27:02.358018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54691d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54691d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:29:22.481397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54221f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54221f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:31:41.818249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5486990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.15186738967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:34:03.278377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5411310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:36:22.100806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54ba230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ba230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:38:42.650598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475930>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.15949535369873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:41:03.088784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d8150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d8150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:43:22.723658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5486170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5486170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:45:42.054816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5502a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.59526586532593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:48:03.053314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5473150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5473150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:50:22.005415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54221d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54221d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 10:52:42.313632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb551aaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.17532420158386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:55:02.737321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a7290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a7290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 10:59:03.729137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54c3210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c3210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:01:22.089996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53df230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53df230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:03:42.570075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55289b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.39999747276306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:06:02.608494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549f190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:08:22.558650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54401f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54401f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:10:41.845100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55029b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.96494960784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:13:03.193192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:15:21.899659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54371b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54371b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:17:42.148145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544d990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.50199341773987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:20:03.286328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549d210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549d210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:22:22.137246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5429150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5429150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:24:42.479800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54fa990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.0103623867035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:27:02.639103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d32b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d32b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:29:22.423554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541f290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541f290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:31:43.297583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5468a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 139.15013217926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 11:34:11.933325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55239d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.87436723709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 11:36:32.553663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5552a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.61643838882446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:39:03.482818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b21d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b21d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:41:21.930213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53dd2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53dd2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:43:42.200260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b7990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.92975282669067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:46:03.242199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb548a130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:48:22.072782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a8210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a8210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:50:42.295007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5465a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.67443299293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:53:02.667919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d7130>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d7130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:55:22.358423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5468170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5468170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 11:57:42.747033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 11:59:02.937679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5434190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5434190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:01:22.520013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541d290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541d290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 12:03:41.975917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5451990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.35421442985535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:06:02.991473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:08:22.170448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5401110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5401110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 12:10:42.358220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5490a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8095188140869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 12:13:02.558540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:13:11.936373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5534c10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.7112991809845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:15:32.812674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5528db0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 141.31632018089294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:18:02.596600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545a250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:20:22.545898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d4150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d4150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:22:37.746418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb552a970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.22366762161255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:25:03.511228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb545f170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545f170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:27:22.301593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54722b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54722b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 12:29:42.554150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb551e5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.37597155570984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:32:02.578223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5495250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:34:22.482379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5469310>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5469310>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 12:36:41.793070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c69d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.85707068443298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:39:03.412946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5410110>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5410110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:41:32.398408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54bbcb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.09160542488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 12:44:02.670499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:44:12.025026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54dd250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.1825668811798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 12:46:32.504169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5573d50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.06322193145752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:49:03.432301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54b11d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b11d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:51:22.331490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb541e1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb541e1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 12:53:42.836356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5501970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8136978149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:56:02.880678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb546b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 12:59:02.968535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5490170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5490170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:01:28.472454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54692d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54692d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:03:42.295563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5485950>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.3946177959442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:06:02.577675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53f01b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53f01b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:08:22.515042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb53d4190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb53d4190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:10:41.893733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.63634824752808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:13:03.300420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb549a190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:15:21.833599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5463230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5463230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:17:42.300974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d5990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 139.14352369308472 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 13:20:14.872789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5551e10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.09462213516235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 13:22:32.528152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5556d70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.68191385269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:25:02.660116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5411150>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5411150>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:27:22.605760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb542b2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb542b2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:29:42.092777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547d970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.1966896057129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:32:02.261229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb543d210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543d210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:34:22.315227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb54a3170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a3170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:36:42.640648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d39f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.4895589351654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-12-09 13:39:03.121469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5435230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 670, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5435230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:41:22.711809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_09122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29266298, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1765284143000}
4219
4198831
4219
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/02/image_09122025_00_03_04_9885.jpg', '/home/pi/Desktop/images/09122025/00/03/image_09122025_00_03_44_9760.jpg', '/home/pi/Desktop/images/09122025/00/03/image_09122025_00_03_54_10651.jpg', '/home/pi/Desktop/images/09122025/00/03/image_09122025_00_04_04_9739.jpg', '/home/pi/Desktop/images/09122025/00/04/image_09122025_00_04_34_9643.jpg', '/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/02/image_09122025_00_03_04_9885.jpg
/home/pi/Desktop/images/09122025/00/03/image_09122025_00_03_44_9760.jpg
/home/pi/Desktop/images/09122025/00/03/image_09122025_00_03_54_10651.jpg
/home/pi/Desktop/images/09122025/00/03/image_09122025_00_04_04_9739.jpg
/home/pi/Desktop/images/09122025/00/04/image_09122025_00_04_34_9643.jpg
/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398477886","1398477889","1398477901","1398477897","1398477884","1398477893"],"photo_ids_order":["1398477884","1398477886","1398477889","1398477893","1398477897","1398477901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8a205c19cbdea0561a310f078a785c4.jpg","text":"TemporaryFile(/tmp/multipartBody1196448997267727096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_03_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d693b225135166ec1826cdc2318d775d.jpg","text":"TemporaryFile(/tmp/multipartBody205446909648892567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_03_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a58cba99175cae3283a286e1ac6be2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2202649683691352668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_05_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec5ceb709e26999cd5a7c96e680be030.jpg","text":"TemporaryFile(/tmp/multipartBody2621189904139434590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_04_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f6c8f11a188a07c006a46a988b572c4.jpg","text":"TemporaryFile(/tmp/multipartBody7382308740199819467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_03_04_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a76e73eb647ed4034b9c2e5d3a08b64.jpg","text":"TemporaryFile(/tmp/multipartBody67725711215151415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284144409,"filename":"image_09122025_00_04_04_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398477889","file1":"1398477886","file0":"1398477884","file4":"1398477897","file5":"1398477901","file3":"1398477893"},"map_files_photo_id_array":[{"photo_id":"1398477901","filename":"file5"},{"photo_id":"1398477889","filename":"file2"},{"photo_id":"1398477897","filename":"file4"},{"photo_id":"1398477886","filename":"file1"},{"photo_id":"1398477884","filename":"file0"},{"photo_id":"1398477893","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398477886":["hashtag1","hashtag2"]},{"1398477889":["hashtag1","hashtag2"]},{"1398477901":["hashtag1","hashtag2"]},{"1398477897":["hashtag1","hashtag2"]},{"1398477884":["hashtag1","hashtag2"]},{"1398477893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398477886, 1398477889, 1398477901, 1398477897, 1398477884, 1398477893)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.76755952835083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 13:42:11.822451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg', '/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/29/image_08122025_12_29_55_9666.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_15_10050.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_25_10728.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_35_9699.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_45_9662.jpg
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_30_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398477917","1398477926","1398477908","1398477913","1398477910","1398477921"],"photo_ids_order":["1398477908","1398477910","1398477913","1398477917","1398477921","1398477926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3a1681f0ff0cc11fae20e5bf43217e7.jpg","text":"TemporaryFile(/tmp/multipartBody3612234997649448585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_30_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/420f056d32cb93ffafe3eac3acaf6e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6083788197872064917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_30_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4f3a4d9f2b94e605fe6f81981997040.jpg","text":"TemporaryFile(/tmp/multipartBody8478799635964800951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_29_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4030db94d755f1d083a4e24ebfe3b221.jpg","text":"TemporaryFile(/tmp/multipartBody6460937510666500169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_30_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e281b69d91fc8ee34b236c70e60adfa8.jpg","text":"TemporaryFile(/tmp/multipartBody8840048719043314695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_30_15_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e4030bfec0419e7992cf8b66e86bf55e.jpg","text":"TemporaryFile(/tmp/multipartBody8164742078345066549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284193388,"filename":"image_08122025_12_30_45_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398477913","file1":"1398477910","file0":"1398477908","file4":"1398477921","file5":"1398477926","file3":"1398477917"},"map_files_photo_id_array":[{"photo_id":"1398477926","filename":"file5"},{"photo_id":"1398477913","filename":"file2"},{"photo_id":"1398477921","filename":"file4"},{"photo_id":"1398477910","filename":"file1"},{"photo_id":"1398477908","filename":"file0"},{"photo_id":"1398477917","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398477917":["hashtag1","hashtag2"]},{"1398477926":["hashtag1","hashtag2"]},{"1398477908":["hashtag1","hashtag2"]},{"1398477913":["hashtag1","hashtag2"]},{"1398477910":["hashtag1","hashtag2"]},{"1398477921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398477917, 1398477926, 1398477908, 1398477913, 1398477910, 1398477921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53937029838562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:43:02.813641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_54_9759.jpg', '/home/pi/Desktop/images/09122025/00/05/image_09122025_00_06_04_10721.jpg', '/home/pi/Desktop/images/09122025/00/08/image_09122025_00_09_04_10700.jpg', '/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_14_9464.jpg', '/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_24_9804.jpg', '/home/pi/Desktop/images/09122025/00/11/image_09122025_00_11_34_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_54_9759.jpg
/home/pi/Desktop/images/09122025/00/05/image_09122025_00_06_04_10721.jpg
/home/pi/Desktop/images/09122025/00/08/image_09122025_00_09_04_10700.jpg
/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_14_9464.jpg
/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_24_9804.jpg
/home/pi/Desktop/images/09122025/00/11/image_09122025_00_11_34_10560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.631842851638794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 13:43:12.129296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/30/image_08122025_12_31_05_9598.jpg', '/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_25_10717.jpg', '/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_35_9602.jpg', '/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_45_9809.jpg', '/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_55_10579.jpg', '/home/pi/Desktop/images/08122025/12/31/image_08122025_12_32_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/30/image_08122025_12_31_05_9598.jpg
/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_25_10717.jpg
/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_35_9602.jpg
/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_45_9809.jpg
/home/pi/Desktop/images/08122025/12/31/image_08122025_12_31_55_10579.jpg
/home/pi/Desktop/images/08122025/12/31/image_08122025_12_32_05_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398477958","1398477955","1398477960","1398477963","1398477951","1398477948"],"photo_ids_order":["1398477948","1398477951","1398477955","1398477958","1398477960","1398477963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf91ea883faf3cffe40871b4000c11d3.jpg","text":"TemporaryFile(/tmp/multipartBody1144149781164295587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_31_45_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1f14279c2acc7201e38f096d4b1b787.jpg","text":"TemporaryFile(/tmp/multipartBody7512288681751278078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_31_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41272847901f9b7f2680fdb714fafff0.jpg","text":"TemporaryFile(/tmp/multipartBody722677900271850617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_31_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2bc6523e0bb1c517967b004eaeacf70.jpg","text":"TemporaryFile(/tmp/multipartBody3235498391850721985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_32_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/495f9fa0e7e7f57fefdf9822c55a8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8438383841565824890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_31_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c71de23d500e429d931a26abbcfa491.jpg","text":"TemporaryFile(/tmp/multipartBody1139771743240462692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284253924,"filename":"image_08122025_12_31_05_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398477955","file1":"1398477951","file0":"1398477948","file4":"1398477960","file5":"1398477963","file3":"1398477958"},"map_files_photo_id_array":[{"photo_id":"1398477963","filename":"file5"},{"photo_id":"1398477955","filename":"file2"},{"photo_id":"1398477960","filename":"file4"},{"photo_id":"1398477951","filename":"file1"},{"photo_id":"1398477948","filename":"file0"},{"photo_id":"1398477958","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398477958":["hashtag1","hashtag2"]},{"1398477955":["hashtag1","hashtag2"]},{"1398477960":["hashtag1","hashtag2"]},{"1398477963":["hashtag1","hashtag2"]},{"1398477951":["hashtag1","hashtag2"]},{"1398477948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398477958, 1398477955, 1398477960, 1398477963, 1398477951, 1398477948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.113205909729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:44:03.002023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_54_9759.jpg', '/home/pi/Desktop/images/09122025/00/05/image_09122025_00_06_04_10721.jpg', '/home/pi/Desktop/images/09122025/00/08/image_09122025_00_09_04_10700.jpg', '/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_14_9464.jpg', '/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_24_9804.jpg', '/home/pi/Desktop/images/09122025/00/11/image_09122025_00_11_34_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/05/image_09122025_00_05_54_9759.jpg
/home/pi/Desktop/images/09122025/00/05/image_09122025_00_06_04_10721.jpg
/home/pi/Desktop/images/09122025/00/08/image_09122025_00_09_04_10700.jpg
/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_14_9464.jpg
/home/pi/Desktop/images/09122025/00/10/image_09122025_00_10_24_9804.jpg
/home/pi/Desktop/images/09122025/00/11/image_09122025_00_11_34_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398477980","1398477982","1398477976","1398477981","1398477984","1398477978"],"photo_ids_order":["1398477976","1398477978","1398477980","1398477981","1398477982","1398477984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d73ac35ddbd27735c25ed82fca59eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1339664298263104747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_09_04_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd6b40c14aac7b53e56aaec6fb216e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6895242195207344309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_10_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b80d0330a2e9e21285533b6c3f1f4a93.jpg","text":"TemporaryFile(/tmp/multipartBody7170175665579938292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_05_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d2989e82b29bf62ab95f420365f8d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4366339172378928758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_10_14_9464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/792a32d75bade97dc114a8ea8a67d362.jpg","text":"TemporaryFile(/tmp/multipartBody7724389257771168919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_11_34_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3967c09ddac2caafa540621ff911627f.jpg","text":"TemporaryFile(/tmp/multipartBody8941009031331763552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284303783,"filename":"image_09122025_00_06_04_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398477980","file1":"1398477978","file0":"1398477976","file4":"1398477982","file5":"1398477984","file3":"1398477981"},"map_files_photo_id_array":[{"photo_id":"1398477984","filename":"file5"},{"photo_id":"1398477980","filename":"file2"},{"photo_id":"1398477982","filename":"file4"},{"photo_id":"1398477978","filename":"file1"},{"photo_id":"1398477976","filename":"file0"},{"photo_id":"1398477981","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398477980":["hashtag1","hashtag2"]},{"1398477982":["hashtag1","hashtag2"]},{"1398477976":["hashtag1","hashtag2"]},{"1398477981":["hashtag1","hashtag2"]},{"1398477984":["hashtag1","hashtag2"]},{"1398477978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398477980, 1398477982, 1398477976, 1398477981, 1398477984, 1398477978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8827006816864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:44:42.282439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg', '/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_51_1711.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_55_1638.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_56_1624.jpg
/home/pi/Desktop/images/01112025/19/01/image_01112025_19_01_58_1661.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_06_1654.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_08_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478004","1398478007","1398478001","1398477997","1398478009","1398478006"],"photo_ids_order":["1398477997","1398478001","1398478004","1398478006","1398478007","1398478009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5973ecf4f06a6e64af11a27a1626bcad.jpg","text":"TemporaryFile(/tmp/multipartBody1440534906931293764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_01_56_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5474582e940a5b6714af3f218a324b4.jpg","text":"TemporaryFile(/tmp/multipartBody5977576424108210322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_02_06_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8470d251fb0e1fd23364cdfca5a29f2.jpg","text":"TemporaryFile(/tmp/multipartBody9141734123777617283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_01_55_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d4513e618beab366f6605ae4b14bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody4965732703215552088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_01_51_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58d2d60889be3351571eeb0c99722105.jpg","text":"TemporaryFile(/tmp/multipartBody888789601609623757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_02_08_1897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08dc9a40aff40e019f20fbea5de6a237.jpg","text":"TemporaryFile(/tmp/multipartBody8685152460513332492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284343154,"filename":"image_01112025_19_01_58_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478004","file1":"1398478001","file0":"1398477997","file4":"1398478007","file5":"1398478009","file3":"1398478006"},"map_files_photo_id_array":[{"photo_id":"1398478009","filename":"file5"},{"photo_id":"1398478004","filename":"file2"},{"photo_id":"1398478007","filename":"file4"},{"photo_id":"1398478001","filename":"file1"},{"photo_id":"1398477997","filename":"file0"},{"photo_id":"1398478006","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478004":["hashtag1","hashtag2"]},{"1398478007":["hashtag1","hashtag2"]},{"1398478001":["hashtag1","hashtag2"]},{"1398477997":["hashtag1","hashtag2"]},{"1398478009":["hashtag1","hashtag2"]},{"1398478006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478004, 1398478007, 1398478001, 1398477997, 1398478009, 1398478006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54524779319763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:45:22.422375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/12/image_09122025_00_12_14_9618.jpg', '/home/pi/Desktop/images/09122025/00/12/image_09122025_00_12_34_10616.jpg', '/home/pi/Desktop/images/09122025/00/16/image_09122025_00_16_54_9740.jpg', '/home/pi/Desktop/images/09122025/00/17/image_09122025_00_17_14_9554.jpg', '/home/pi/Desktop/images/09122025/00/17/image_09122025_00_17_44_9847.jpg', '/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/12/image_09122025_00_12_14_9618.jpg
/home/pi/Desktop/images/09122025/00/12/image_09122025_00_12_34_10616.jpg
/home/pi/Desktop/images/09122025/00/16/image_09122025_00_16_54_9740.jpg
/home/pi/Desktop/images/09122025/00/17/image_09122025_00_17_14_9554.jpg
/home/pi/Desktop/images/09122025/00/17/image_09122025_00_17_44_9847.jpg
/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_24_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478025","1398478030","1398478027","1398478018","1398478023","1398478020"],"photo_ids_order":["1398478018","1398478020","1398478023","1398478025","1398478027","1398478030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/032720c7c681bc2eca01907d6379f655.jpg","text":"TemporaryFile(/tmp/multipartBody4993640572571871583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_17_14_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7108535034d1ef2f50efbb5c3f2c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7871118685046060115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_18_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a3d597f0d0efbe59a339e9dcbf3de79.jpg","text":"TemporaryFile(/tmp/multipartBody6646345952774351226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_17_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20da52094c97f4d0c57ccea9415c1bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7362926463331719366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_12_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1880373ad3fab7e65f08ac8ae83739cf.jpg","text":"TemporaryFile(/tmp/multipartBody1320389881388136907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_16_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd88d45c9e087ef6988c9d2bc3eaf93e.jpg","text":"TemporaryFile(/tmp/multipartBody216046654417574537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284383018,"filename":"image_09122025_00_12_34_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478023","file1":"1398478020","file0":"1398478018","file4":"1398478027","file5":"1398478030","file3":"1398478025"},"map_files_photo_id_array":[{"photo_id":"1398478030","filename":"file5"},{"photo_id":"1398478023","filename":"file2"},{"photo_id":"1398478027","filename":"file4"},{"photo_id":"1398478020","filename":"file1"},{"photo_id":"1398478018","filename":"file0"},{"photo_id":"1398478025","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478025":["hashtag1","hashtag2"]},{"1398478030":["hashtag1","hashtag2"]},{"1398478027":["hashtag1","hashtag2"]},{"1398478018":["hashtag1","hashtag2"]},{"1398478023":["hashtag1","hashtag2"]},{"1398478020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478025, 1398478030, 1398478027, 1398478018, 1398478023, 1398478020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86807918548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:46:03.090189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_34_9769.jpg', '/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_44_10751.jpg', '/home/pi/Desktop/images/09122025/00/19/image_09122025_00_19_14_10745.jpg', '/home/pi/Desktop/images/09122025/00/19/image_09122025_00_19_44_10655.jpg', '/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_24_10627.jpg', '/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_34_9769.jpg
/home/pi/Desktop/images/09122025/00/18/image_09122025_00_18_44_10751.jpg
/home/pi/Desktop/images/09122025/00/19/image_09122025_00_19_14_10745.jpg
/home/pi/Desktop/images/09122025/00/19/image_09122025_00_19_44_10655.jpg
/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_24_10627.jpg
/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_34_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478043","1398478045","1398478041","1398478038","1398478049","1398478040"],"photo_ids_order":["1398478038","1398478040","1398478041","1398478043","1398478045","1398478049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/479b24955b8fac26602184ac7eefe82a.jpg","text":"TemporaryFile(/tmp/multipartBody7739812677098783585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_19_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3b294f42b9e15874bad66c937e993a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2186111969154433937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_20_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e18ba51e00a40079938fea8f9ad7052c.jpg","text":"TemporaryFile(/tmp/multipartBody62170486762120075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_19_14_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f7bfc086a2241d7ed2990b7c25638d6.jpg","text":"TemporaryFile(/tmp/multipartBody6859448176122858683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_18_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c5657855bde2684ef0fbcf3163b018a.jpg","text":"TemporaryFile(/tmp/multipartBody8523798988704133310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_20_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/780deb2797e4e0f735b38de13d06d16e.jpg","text":"TemporaryFile(/tmp/multipartBody7835707767443837462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284423718,"filename":"image_09122025_00_18_44_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478041","file1":"1398478040","file0":"1398478038","file4":"1398478045","file5":"1398478049","file3":"1398478043"},"map_files_photo_id_array":[{"photo_id":"1398478049","filename":"file5"},{"photo_id":"1398478041","filename":"file2"},{"photo_id":"1398478045","filename":"file4"},{"photo_id":"1398478040","filename":"file1"},{"photo_id":"1398478038","filename":"file0"},{"photo_id":"1398478043","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478043":["hashtag1","hashtag2"]},{"1398478045":["hashtag1","hashtag2"]},{"1398478041":["hashtag1","hashtag2"]},{"1398478038":["hashtag1","hashtag2"]},{"1398478049":["hashtag1","hashtag2"]},{"1398478040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478043, 1398478045, 1398478041, 1398478038, 1398478049, 1398478040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.274428606033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:46:42.686620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_10_1680.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_11_1798.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_13_1690.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_15_1578.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_16_1561.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_18_1842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_10_1680.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_11_1798.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_13_1690.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_15_1578.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_16_1561.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_18_1842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478078","1398478074","1398478068","1398478071","1398478059","1398478064"],"photo_ids_order":["1398478059","1398478064","1398478068","1398478071","1398478074","1398478078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d56f7d7a71bdcb9139a0b68e26e4ba3a.jpg","text":"TemporaryFile(/tmp/multipartBody5841892478699445280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_18_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/924b4f86e636102391059379f2a96c37.jpg","text":"TemporaryFile(/tmp/multipartBody3518004216678248409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_16_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b4eeb5229d922fd1b41b8a64667b19e.jpg","text":"TemporaryFile(/tmp/multipartBody2244096324961809889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_13_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d140d997d47b3d126213e8ba823a1995.jpg","text":"TemporaryFile(/tmp/multipartBody7225734649227915210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_15_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03d56969511a7b431df0ca6be2f4f912.jpg","text":"TemporaryFile(/tmp/multipartBody5219689765161210722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_10_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8d610eb9509923e880033b68da3f3fa.jpg","text":"TemporaryFile(/tmp/multipartBody5588552290693684320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284463695,"filename":"image_01112025_19_02_11_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478068","file1":"1398478064","file0":"1398478059","file4":"1398478074","file5":"1398478078","file3":"1398478071"},"map_files_photo_id_array":[{"photo_id":"1398478078","filename":"file5"},{"photo_id":"1398478068","filename":"file2"},{"photo_id":"1398478074","filename":"file4"},{"photo_id":"1398478064","filename":"file1"},{"photo_id":"1398478059","filename":"file0"},{"photo_id":"1398478071","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478078":["hashtag1","hashtag2"]},{"1398478074":["hashtag1","hashtag2"]},{"1398478068":["hashtag1","hashtag2"]},{"1398478071":["hashtag1","hashtag2"]},{"1398478059":["hashtag1","hashtag2"]},{"1398478064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478078, 1398478074, 1398478068, 1398478071, 1398478059, 1398478064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49715232849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:47:21.966875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_54_9759.jpg', '/home/pi/Desktop/images/09122025/00/20/image_09122025_00_21_04_10630.jpg', '/home/pi/Desktop/images/09122025/00/21/image_09122025_00_21_44_9624.jpg', '/home/pi/Desktop/images/09122025/00/21/image_09122025_00_21_54_10584.jpg', '/home/pi/Desktop/images/09122025/00/21/image_09122025_00_22_04_9763.jpg', '/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_14_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/20/image_09122025_00_20_54_9759.jpg
/home/pi/Desktop/images/09122025/00/20/image_09122025_00_21_04_10630.jpg
/home/pi/Desktop/images/09122025/00/21/image_09122025_00_21_44_9624.jpg
/home/pi/Desktop/images/09122025/00/21/image_09122025_00_21_54_10584.jpg
/home/pi/Desktop/images/09122025/00/21/image_09122025_00_22_04_9763.jpg
/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_14_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478098","1398478102","1398478091","1398478085","1398478094","1398478088"],"photo_ids_order":["1398478085","1398478088","1398478091","1398478094","1398478098","1398478102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08093196d110897307c550c11390a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1545567221440678986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_22_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d0d765dbe06cc36fab2f0299d2013f1.jpg","text":"TemporaryFile(/tmp/multipartBody8622464170942336867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_22_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40b656e184e5b93a4e057a93dc634efa.jpg","text":"TemporaryFile(/tmp/multipartBody6413867805715232220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_21_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1fc0be2419c94732a9287df5a5a9fab0.jpg","text":"TemporaryFile(/tmp/multipartBody2968413126935188242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_20_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3928af7c31a79eb851a1f4e84a591984.jpg","text":"TemporaryFile(/tmp/multipartBody359281000266754801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_21_54_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d136c85569530033b70bacda705e88d1.jpg","text":"TemporaryFile(/tmp/multipartBody3910670801275654551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284502561,"filename":"image_09122025_00_21_04_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478091","file1":"1398478088","file0":"1398478085","file4":"1398478098","file5":"1398478102","file3":"1398478094"},"map_files_photo_id_array":[{"photo_id":"1398478102","filename":"file5"},{"photo_id":"1398478091","filename":"file2"},{"photo_id":"1398478098","filename":"file4"},{"photo_id":"1398478088","filename":"file1"},{"photo_id":"1398478085","filename":"file0"},{"photo_id":"1398478094","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478098":["hashtag1","hashtag2"]},{"1398478102":["hashtag1","hashtag2"]},{"1398478091":["hashtag1","hashtag2"]},{"1398478085":["hashtag1","hashtag2"]},{"1398478094":["hashtag1","hashtag2"]},{"1398478088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478098, 1398478102, 1398478091, 1398478085, 1398478094, 1398478088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.753836154937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:48:02.511322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_24_10836.jpg', '/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_54_9717.jpg', '/home/pi/Desktop/images/09122025/00/22/image_09122025_00_23_04_10621.jpg', '/home/pi/Desktop/images/09122025/00/23/image_09122025_00_23_54_9635.jpg', '/home/pi/Desktop/images/09122025/00/23/image_09122025_00_24_04_10662.jpg', '/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_14_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_24_10836.jpg
/home/pi/Desktop/images/09122025/00/22/image_09122025_00_22_54_9717.jpg
/home/pi/Desktop/images/09122025/00/22/image_09122025_00_23_04_10621.jpg
/home/pi/Desktop/images/09122025/00/23/image_09122025_00_23_54_9635.jpg
/home/pi/Desktop/images/09122025/00/23/image_09122025_00_24_04_10662.jpg
/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_14_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478121","1398478112","1398478114","1398478123","1398478117","1398478119"],"photo_ids_order":["1398478112","1398478114","1398478117","1398478119","1398478121","1398478123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e65428f03761c1d13fbb61306d55e3ee.jpg","text":"TemporaryFile(/tmp/multipartBody267704485388519189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_24_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34d24947a6ba77873b5f27ac5a14f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3370723855225911854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_22_24_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/383cf36aa2c89cb3065174a106626087.jpg","text":"TemporaryFile(/tmp/multipartBody2309285172610182856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_22_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3789f2a854c4b4fd0472a543ef68ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8496617552085309820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_24_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba7f85789ec2013317e3638994805183.jpg","text":"TemporaryFile(/tmp/multipartBody149266406731821127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_23_04_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58c877f5e2276931429ca5370b575caa.jpg","text":"TemporaryFile(/tmp/multipartBody2596498257188830477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284543171,"filename":"image_09122025_00_23_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478117","file1":"1398478114","file0":"1398478112","file4":"1398478121","file5":"1398478123","file3":"1398478119"},"map_files_photo_id_array":[{"photo_id":"1398478123","filename":"file5"},{"photo_id":"1398478117","filename":"file2"},{"photo_id":"1398478121","filename":"file4"},{"photo_id":"1398478114","filename":"file1"},{"photo_id":"1398478112","filename":"file0"},{"photo_id":"1398478119","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478121":["hashtag1","hashtag2"]},{"1398478112":["hashtag1","hashtag2"]},{"1398478114":["hashtag1","hashtag2"]},{"1398478123":["hashtag1","hashtag2"]},{"1398478117":["hashtag1","hashtag2"]},{"1398478119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478121, 1398478112, 1398478114, 1398478123, 1398478117, 1398478119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54162907600403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:48:42.098520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_20_1749.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_21_1650.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_25_1712.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_26_1606.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_29_2685.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_32_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_20_1749.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_21_1650.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_25_1712.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_26_1606.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_29_2685.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_32_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478139","1398478150","1398478149","1398478152","1398478145","1398478133"],"photo_ids_order":["1398478133","1398478139","1398478145","1398478149","1398478150","1398478152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec568247afa208be673c1156047eaf5e.jpg","text":"TemporaryFile(/tmp/multipartBody2035811952582715700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_21_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a32ad6c394f8c9f3b071635b7eb55b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6551374699021650464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_29_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fe5f9ef440fcd5fac42bbeb653c2f7a.jpg","text":"TemporaryFile(/tmp/multipartBody9012633679393533208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_26_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0f9ee36a9dc43b16d34a62d9f1ed79a.jpg","text":"TemporaryFile(/tmp/multipartBody2716991901053167789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_32_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1fdcc864559d144a5556d22b2dfd378.jpg","text":"TemporaryFile(/tmp/multipartBody8235182409833067048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_25_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88169059d226e5536ded563c04f005f9.jpg","text":"TemporaryFile(/tmp/multipartBody5059459708906839330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284583082,"filename":"image_01112025_19_02_20_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478145","file1":"1398478139","file0":"1398478133","file4":"1398478150","file5":"1398478152","file3":"1398478149"},"map_files_photo_id_array":[{"photo_id":"1398478152","filename":"file5"},{"photo_id":"1398478145","filename":"file2"},{"photo_id":"1398478150","filename":"file4"},{"photo_id":"1398478139","filename":"file1"},{"photo_id":"1398478133","filename":"file0"},{"photo_id":"1398478149","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478139":["hashtag1","hashtag2"]},{"1398478150":["hashtag1","hashtag2"]},{"1398478149":["hashtag1","hashtag2"]},{"1398478152":["hashtag1","hashtag2"]},{"1398478145":["hashtag1","hashtag2"]},{"1398478133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478139, 1398478150, 1398478149, 1398478152, 1398478145, 1398478133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76308560371399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:49:22.293587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_34_9731.jpg', '/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_44_9693.jpg', '/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_54_10560.jpg', '/home/pi/Desktop/images/09122025/00/25/image_09122025_00_25_54_10627.jpg', '/home/pi/Desktop/images/09122025/00/26/image_09122025_00_26_14_9633.jpg', '/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_24_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_34_9731.jpg
/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_44_9693.jpg
/home/pi/Desktop/images/09122025/00/24/image_09122025_00_24_54_10560.jpg
/home/pi/Desktop/images/09122025/00/25/image_09122025_00_25_54_10627.jpg
/home/pi/Desktop/images/09122025/00/26/image_09122025_00_26_14_9633.jpg
/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_24_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478165","1398478168","1398478167","1398478163","1398478172","1398478160"],"photo_ids_order":["1398478160","1398478163","1398478165","1398478167","1398478168","1398478172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68ce97695604e324e58b6900188cc23d.jpg","text":"TemporaryFile(/tmp/multipartBody2897261303688738836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_24_54_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90df46b2d387fb35cdba63a8944ca162.jpg","text":"TemporaryFile(/tmp/multipartBody6755729276237198603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_26_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/685c2ac0e750449bcecb8086a3e847c2.jpg","text":"TemporaryFile(/tmp/multipartBody8544040760442174161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_25_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ad722685aa68999267efaecdd424a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6699953415424424508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_24_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a1668d49d4edbe76138d13ce3087178.jpg","text":"TemporaryFile(/tmp/multipartBody7501715936576828593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_27_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3db3940c33004dc5aa21b48b765643e.jpg","text":"TemporaryFile(/tmp/multipartBody2185542245791592622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284622901,"filename":"image_09122025_00_24_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478165","file1":"1398478163","file0":"1398478160","file4":"1398478168","file5":"1398478172","file3":"1398478167"},"map_files_photo_id_array":[{"photo_id":"1398478172","filename":"file5"},{"photo_id":"1398478165","filename":"file2"},{"photo_id":"1398478168","filename":"file4"},{"photo_id":"1398478163","filename":"file1"},{"photo_id":"1398478160","filename":"file0"},{"photo_id":"1398478167","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478165":["hashtag1","hashtag2"]},{"1398478168":["hashtag1","hashtag2"]},{"1398478167":["hashtag1","hashtag2"]},{"1398478163":["hashtag1","hashtag2"]},{"1398478172":["hashtag1","hashtag2"]},{"1398478160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478165, 1398478168, 1398478167, 1398478163, 1398478172, 1398478160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.114105463027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:50:03.087428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_34_10791.jpg', '/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_54_9692.jpg', '/home/pi/Desktop/images/09122025/00/27/image_09122025_00_28_04_10774.jpg', '/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_14_9709.jpg', '/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_24_9646.jpg', '/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_34_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_34_10791.jpg
/home/pi/Desktop/images/09122025/00/27/image_09122025_00_27_54_9692.jpg
/home/pi/Desktop/images/09122025/00/27/image_09122025_00_28_04_10774.jpg
/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_14_9709.jpg
/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_24_9646.jpg
/home/pi/Desktop/images/09122025/00/28/image_09122025_00_28_34_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478195","1398478189","1398478197","1398478196","1398478199","1398478193"],"photo_ids_order":["1398478189","1398478193","1398478195","1398478196","1398478197","1398478199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d5e176a62de01877eda8d3ab2c253da.jpg","text":"TemporaryFile(/tmp/multipartBody3308771446812052049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_28_04_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1eca8faf232f1d2a0ede58b5398c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody5943760649972249819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_27_34_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/917fba1adfd0e19c7c4dd6e49ab3edde.jpg","text":"TemporaryFile(/tmp/multipartBody7988847921822478725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_28_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d082e247a8bb12b6c1b82207a1424d2.jpg","text":"TemporaryFile(/tmp/multipartBody3629205719117582415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_28_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5340a670eab0a1b01f8e82222fd45cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4909622165131739361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_28_34_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82ba10c40bba5029dcec1e0d4050f1c6.jpg","text":"TemporaryFile(/tmp/multipartBody640948788275789583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284663719,"filename":"image_09122025_00_27_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478195","file1":"1398478193","file0":"1398478189","file4":"1398478197","file5":"1398478199","file3":"1398478196"},"map_files_photo_id_array":[{"photo_id":"1398478199","filename":"file5"},{"photo_id":"1398478195","filename":"file2"},{"photo_id":"1398478197","filename":"file4"},{"photo_id":"1398478193","filename":"file1"},{"photo_id":"1398478189","filename":"file0"},{"photo_id":"1398478196","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478195":["hashtag1","hashtag2"]},{"1398478189":["hashtag1","hashtag2"]},{"1398478197":["hashtag1","hashtag2"]},{"1398478196":["hashtag1","hashtag2"]},{"1398478199":["hashtag1","hashtag2"]},{"1398478193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478195, 1398478189, 1398478197, 1398478196, 1398478199, 1398478193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01850605010986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:50:42.520359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_34_2625.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_38_3584.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_41_3196.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_44_2693.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_46_2614.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_50_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_34_2625.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_38_3584.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_41_3196.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_44_2693.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_46_2614.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_50_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478220","1398478211","1398478221","1398478224","1398478218","1398478215"],"photo_ids_order":["1398478211","1398478215","1398478218","1398478220","1398478221","1398478224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9bd9a08b1778588d314e89ac0ce9b58.jpg","text":"TemporaryFile(/tmp/multipartBody507103934068594555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1054724f87e4fcea76b9e26b5e5eb9c.jpg","text":"TemporaryFile(/tmp/multipartBody4824838530570840449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f85e30e66639511ef98ae1dda32e584f.jpg","text":"TemporaryFile(/tmp/multipartBody7274790078615927716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_46_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5cdc6ed7cd40db94678cc6f01e44629.jpg","text":"TemporaryFile(/tmp/multipartBody5092403832054602110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_50_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/071f42de1b43154dcf63772715acb9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2489744103818752909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_41_3196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2565ff594e0448f24ef6ef7accb3466a.jpg","text":"TemporaryFile(/tmp/multipartBody4885160536008263594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284703598,"filename":"image_01112025_19_02_38_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478218","file1":"1398478215","file0":"1398478211","file4":"1398478221","file5":"1398478224","file3":"1398478220"},"map_files_photo_id_array":[{"photo_id":"1398478224","filename":"file5"},{"photo_id":"1398478218","filename":"file2"},{"photo_id":"1398478221","filename":"file4"},{"photo_id":"1398478215","filename":"file1"},{"photo_id":"1398478211","filename":"file0"},{"photo_id":"1398478220","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478220":["hashtag1","hashtag2"]},{"1398478211":["hashtag1","hashtag2"]},{"1398478221":["hashtag1","hashtag2"]},{"1398478224":["hashtag1","hashtag2"]},{"1398478218":["hashtag1","hashtag2"]},{"1398478215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478220, 1398478211, 1398478221, 1398478224, 1398478218, 1398478215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79150748252869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:51:22.781772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/28/image_09122025_00_29_04_10758.jpg', '/home/pi/Desktop/images/09122025/00/29/image_09122025_00_29_54_10658.jpg', '/home/pi/Desktop/images/09122025/00/30/image_09122025_00_30_44_9730.jpg', '/home/pi/Desktop/images/09122025/00/30/image_09122025_00_30_54_10711.jpg', '/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_24_10670.jpg', '/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_44_10203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/28/image_09122025_00_29_04_10758.jpg
/home/pi/Desktop/images/09122025/00/29/image_09122025_00_29_54_10658.jpg
/home/pi/Desktop/images/09122025/00/30/image_09122025_00_30_44_9730.jpg
/home/pi/Desktop/images/09122025/00/30/image_09122025_00_30_54_10711.jpg
/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_24_10670.jpg
/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_44_10203.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478241","1398478237","1398478236","1398478239","1398478233","1398478244"],"photo_ids_order":["1398478233","1398478236","1398478237","1398478239","1398478241","1398478244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/166b7b9bf31f22a69822338c84dc797f.jpg","text":"TemporaryFile(/tmp/multipartBody4875606927005377739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_31_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bbee489fe885961d9224fc71feeb5020.jpg","text":"TemporaryFile(/tmp/multipartBody6390675509338514299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_30_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faa7798b9e0b450da1f76337c6b4f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody4431716027398342948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_29_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fdccb67778f443517656af838eae05a0.jpg","text":"TemporaryFile(/tmp/multipartBody3853519740355025674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_30_54_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4aaa27cfb1341d72c717d8faf59d4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8904842029971641609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_29_04_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e76afecfccb28765b184091435a135f6.jpg","text":"TemporaryFile(/tmp/multipartBody321298464717916974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284743407,"filename":"image_09122025_00_31_44_10203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478237","file1":"1398478236","file0":"1398478233","file4":"1398478241","file5":"1398478244","file3":"1398478239"},"map_files_photo_id_array":[{"photo_id":"1398478244","filename":"file5"},{"photo_id":"1398478237","filename":"file2"},{"photo_id":"1398478241","filename":"file4"},{"photo_id":"1398478236","filename":"file1"},{"photo_id":"1398478233","filename":"file0"},{"photo_id":"1398478239","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478241":["hashtag1","hashtag2"]},{"1398478237":["hashtag1","hashtag2"]},{"1398478236":["hashtag1","hashtag2"]},{"1398478239":["hashtag1","hashtag2"]},{"1398478233":["hashtag1","hashtag2"]},{"1398478244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478241, 1398478237, 1398478236, 1398478239, 1398478233, 1398478244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.513609170913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:52:02.560373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_54_9465.jpg', '/home/pi/Desktop/images/09122025/00/31/image_09122025_00_32_04_10707.jpg', '/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_24_9408.jpg', '/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_34_9859.jpg', '/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_54_9600.jpg', '/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_24_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/31/image_09122025_00_31_54_9465.jpg
/home/pi/Desktop/images/09122025/00/31/image_09122025_00_32_04_10707.jpg
/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_24_9408.jpg
/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_34_9859.jpg
/home/pi/Desktop/images/09122025/00/32/image_09122025_00_32_54_9600.jpg
/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_24_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478273","1398478270","1398478267","1398478266","1398478260","1398478265"],"photo_ids_order":["1398478260","1398478265","1398478266","1398478267","1398478270","1398478273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39ed67e4a9b1f86d7e9f7dfd9d1b59cb.jpg","text":"TemporaryFile(/tmp/multipartBody8059101603258232205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_33_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5fdaf0cd97400f018cc15502e9d3cabe.jpg","text":"TemporaryFile(/tmp/multipartBody2211733623508780411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_32_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/718e0021ce45844c63cc1effc07065a7.jpg","text":"TemporaryFile(/tmp/multipartBody1645576184479015515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_32_34_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c1abb993291e0bbc9bf2bd4c43cd197f.jpg","text":"TemporaryFile(/tmp/multipartBody6143380968507779926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_32_24_9408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32aac2ea06406d1f3e812912e5a907e8.jpg","text":"TemporaryFile(/tmp/multipartBody5227538613244414937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_31_54_9465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbf89c8bde9598f1b7b0461c50bd9882.jpg","text":"TemporaryFile(/tmp/multipartBody9180474971149152264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284783181,"filename":"image_09122025_00_32_04_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478266","file1":"1398478265","file0":"1398478260","file4":"1398478270","file5":"1398478273","file3":"1398478267"},"map_files_photo_id_array":[{"photo_id":"1398478273","filename":"file5"},{"photo_id":"1398478266","filename":"file2"},{"photo_id":"1398478270","filename":"file4"},{"photo_id":"1398478265","filename":"file1"},{"photo_id":"1398478260","filename":"file0"},{"photo_id":"1398478267","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478273":["hashtag1","hashtag2"]},{"1398478270":["hashtag1","hashtag2"]},{"1398478267":["hashtag1","hashtag2"]},{"1398478266":["hashtag1","hashtag2"]},{"1398478260":["hashtag1","hashtag2"]},{"1398478265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478273, 1398478270, 1398478267, 1398478266, 1398478260, 1398478265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81853461265564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:52:41.983528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_53_2613.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_55_2749.jpg', '/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_58_2807.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_02_3705.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_04_2583.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_08_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_53_2613.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_55_2749.jpg
/home/pi/Desktop/images/01112025/19/02/image_01112025_19_02_58_2807.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_02_3705.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_04_2583.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_08_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478291","1398478296","1398478287","1398478289","1398478283","1398478292"],"photo_ids_order":["1398478283","1398478287","1398478289","1398478291","1398478292","1398478296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/657803a3989dcb5ca9dc1a1cf18cf5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1326327033942148518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_03_02_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab1b5325cc3c80641607ca4021f7ef11.jpg","text":"TemporaryFile(/tmp/multipartBody2459910679725519478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_03_08_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f255f4b17398cf922489c6d40a8bcd9f.jpg","text":"TemporaryFile(/tmp/multipartBody832400762440775559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_02_55_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6933f8d3a2ef6ec0a8dbf4c5332dcc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5644563304831874684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_02_58_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cb475843cc59971e95d8f941279965a.jpg","text":"TemporaryFile(/tmp/multipartBody4652689666642475000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_02_53_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08e312149e4b9ad2beb7db96e2a1e84a.jpg","text":"TemporaryFile(/tmp/multipartBody6304053605585668423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284822981,"filename":"image_01112025_19_03_04_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478289","file1":"1398478287","file0":"1398478283","file4":"1398478292","file5":"1398478296","file3":"1398478291"},"map_files_photo_id_array":[{"photo_id":"1398478296","filename":"file5"},{"photo_id":"1398478289","filename":"file2"},{"photo_id":"1398478292","filename":"file4"},{"photo_id":"1398478287","filename":"file1"},{"photo_id":"1398478283","filename":"file0"},{"photo_id":"1398478291","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478291":["hashtag1","hashtag2"]},{"1398478296":["hashtag1","hashtag2"]},{"1398478287":["hashtag1","hashtag2"]},{"1398478289":["hashtag1","hashtag2"]},{"1398478283":["hashtag1","hashtag2"]},{"1398478292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478291, 1398478296, 1398478287, 1398478289, 1398478283, 1398478292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52656698226929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:53:22.237345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_34_10572.jpg', '/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_44_9614.jpg', '/home/pi/Desktop/images/09122025/00/33/image_09122025_00_34_04_10676.jpg', '/home/pi/Desktop/images/09122025/00/34/image_09122025_00_34_14_9695.jpg', '/home/pi/Desktop/images/09122025/00/34/image_09122025_00_34_24_9647.jpg', '/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_14_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_34_10572.jpg
/home/pi/Desktop/images/09122025/00/33/image_09122025_00_33_44_9614.jpg
/home/pi/Desktop/images/09122025/00/33/image_09122025_00_34_04_10676.jpg
/home/pi/Desktop/images/09122025/00/34/image_09122025_00_34_14_9695.jpg
/home/pi/Desktop/images/09122025/00/34/image_09122025_00_34_24_9647.jpg
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_14_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478328","1398478322","1398478316","1398478319","1398478310","1398478314"],"photo_ids_order":["1398478310","1398478314","1398478316","1398478319","1398478322","1398478328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67c9e52b09c2bb51c3d27d7c86348c36.jpg","text":"TemporaryFile(/tmp/multipartBody9104620654981724411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_35_14_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2bee48f0859dbb7cd18e3b28af9545a.jpg","text":"TemporaryFile(/tmp/multipartBody2097434111936794413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_34_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83497ac904ed93af10c85bad8b08509e.jpg","text":"TemporaryFile(/tmp/multipartBody5768861919119335500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_34_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7fe73e10a1da213e40f162490d9dacd.jpg","text":"TemporaryFile(/tmp/multipartBody8541105494482712238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_34_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6382be62d97e3e7fa30a6b50626edd9.jpg","text":"TemporaryFile(/tmp/multipartBody5085145278899400253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_33_34_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/568d8dd298407be6e1b74204912d2523.jpg","text":"TemporaryFile(/tmp/multipartBody513137225520764100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284862831,"filename":"image_09122025_00_33_44_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478316","file1":"1398478314","file0":"1398478310","file4":"1398478322","file5":"1398478328","file3":"1398478319"},"map_files_photo_id_array":[{"photo_id":"1398478328","filename":"file5"},{"photo_id":"1398478316","filename":"file2"},{"photo_id":"1398478322","filename":"file4"},{"photo_id":"1398478314","filename":"file1"},{"photo_id":"1398478310","filename":"file0"},{"photo_id":"1398478319","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478328":["hashtag1","hashtag2"]},{"1398478322":["hashtag1","hashtag2"]},{"1398478316":["hashtag1","hashtag2"]},{"1398478319":["hashtag1","hashtag2"]},{"1398478310":["hashtag1","hashtag2"]},{"1398478314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478328, 1398478322, 1398478316, 1398478319, 1398478310, 1398478314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02714562416077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:54:03.167170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_34_10618.jpg', '/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_54_9596.jpg', '/home/pi/Desktop/images/09122025/00/35/image_09122025_00_36_04_9788.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_14_10805.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_24_9566.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_37_04_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_34_10618.jpg
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_54_9596.jpg
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_36_04_9788.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_14_10805.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_24_9566.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_37_04_10530.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5592830181121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 13:54:15.261735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_15_9805.jpg', '/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_25_9803.jpg', '/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_35_10665.jpg', '/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_45_9780.jpg', '/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_55_9595.jpg', '/home/pi/Desktop/images/08122025/12/32/image_08122025_12_33_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_15_9805.jpg
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_25_9803.jpg
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_35_10665.jpg
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_45_9780.jpg
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_32_55_9595.jpg
/home/pi/Desktop/images/08122025/12/32/image_08122025_12_33_05_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478360","1398478348","1398478363","1398478345","1398478353","1398478356"],"photo_ids_order":["1398478345","1398478348","1398478353","1398478356","1398478360","1398478363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/622d430e25039db8fe29e48313807a9e.jpg","text":"TemporaryFile(/tmp/multipartBody53275923749360512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_32_55_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c54f465c30edbc6964709de3d57f4b26.jpg","text":"TemporaryFile(/tmp/multipartBody3845089218487198444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_32_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f519cc3ab118088e8355fe7edf40ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3455012358574958866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_33_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e994a39e787f59a56807f0dada9e997.jpg","text":"TemporaryFile(/tmp/multipartBody4808833117728502699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_32_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9216dd5b48d973792240313bfd0008a1.jpg","text":"TemporaryFile(/tmp/multipartBody2950654248718749408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_32_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce18969bf817104a49321626b746e1d7.jpg","text":"TemporaryFile(/tmp/multipartBody5662054177707388672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284917113,"filename":"image_08122025_12_32_45_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478353","file1":"1398478348","file0":"1398478345","file4":"1398478360","file5":"1398478363","file3":"1398478356"},"map_files_photo_id_array":[{"photo_id":"1398478363","filename":"file5"},{"photo_id":"1398478353","filename":"file2"},{"photo_id":"1398478360","filename":"file4"},{"photo_id":"1398478348","filename":"file1"},{"photo_id":"1398478345","filename":"file0"},{"photo_id":"1398478356","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398478360":["hashtag1","hashtag2"]},{"1398478348":["hashtag1","hashtag2"]},{"1398478363":["hashtag1","hashtag2"]},{"1398478345":["hashtag1","hashtag2"]},{"1398478353":["hashtag1","hashtag2"]},{"1398478356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398478360, 1398478348, 1398478363, 1398478345, 1398478353, 1398478356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.628989458084106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:55:03.259165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_34_10618.jpg', '/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_54_9596.jpg', '/home/pi/Desktop/images/09122025/00/35/image_09122025_00_36_04_9788.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_14_10805.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_24_9566.jpg', '/home/pi/Desktop/images/09122025/00/36/image_09122025_00_37_04_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_34_10618.jpg
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_35_54_9596.jpg
/home/pi/Desktop/images/09122025/00/35/image_09122025_00_36_04_9788.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_14_10805.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_36_24_9566.jpg
/home/pi/Desktop/images/09122025/00/36/image_09122025_00_37_04_10530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478384","1398478378","1398478380","1398478374","1398478376","1398478379"],"photo_ids_order":["1398478374","1398478376","1398478378","1398478379","1398478380","1398478384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85ba39d28b0f55b4060e58da6bec3771.jpg","text":"TemporaryFile(/tmp/multipartBody196691354472876832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_37_04_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5e77d090b74db1188570f3c67cc5730.jpg","text":"TemporaryFile(/tmp/multipartBody6526890975102006145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_36_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b22b0bcd05f5eadf2d85e5df7bec1d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6276848363624010902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_36_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ad8322d7a841d6bdb68535001af04b3.jpg","text":"TemporaryFile(/tmp/multipartBody7315516185901403170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_35_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce6833fba964bed927534530382569ab.jpg","text":"TemporaryFile(/tmp/multipartBody1950480812883925973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_35_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c48738bdc0bf00ef4850895deed7e88.jpg","text":"TemporaryFile(/tmp/multipartBody5951898706596238494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765284963927,"filename":"image_09122025_00_36_14_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478378","file1":"1398478376","file0":"1398478374","file4":"1398478380","file5":"1398478384","file3":"1398478379"},"map_files_photo_id_array":[{"photo_id":"1398478384","filename":"file5"},{"photo_id":"1398478378","filename":"file2"},{"photo_id":"1398478380","filename":"file4"},{"photo_id":"1398478376","filename":"file1"},{"photo_id":"1398478374","filename":"file0"},{"photo_id":"1398478379","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478384":["hashtag1","hashtag2"]},{"1398478378":["hashtag1","hashtag2"]},{"1398478380":["hashtag1","hashtag2"]},{"1398478374":["hashtag1","hashtag2"]},{"1398478376":["hashtag1","hashtag2"]},{"1398478379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478384, 1398478378, 1398478380, 1398478374, 1398478376, 1398478379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95438289642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:55:42.673230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_11_2707.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_13_2660.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_17_3661.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_23_5982.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_29_5978.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_31_1831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_11_2707.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_13_2660.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_17_3661.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_23_5982.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_29_5978.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_31_1831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478409","1398478399","1398478403","1398478396","1398478405","1398478401"],"photo_ids_order":["1398478396","1398478399","1398478401","1398478403","1398478405","1398478409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1d6b608ae4bcf8ebdaab622df63b77b.jpg","text":"TemporaryFile(/tmp/multipartBody8470730354857155945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_31_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ebd670598a676b4e707eec5f1436b014.jpg","text":"TemporaryFile(/tmp/multipartBody7397523499488260216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_13_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7ad201bd00a825fbcd673cc7451d126.jpg","text":"TemporaryFile(/tmp/multipartBody801820317711017668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_23_5982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46c317e4e12a0fe4220de35bf3f8fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody2779630269673485265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_11_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/60ba6f28e85b2636787ba8481d789026.jpg","text":"TemporaryFile(/tmp/multipartBody6968576191315955242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_29_5978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73b1add293ed2aef802e0b98569c775a.jpg","text":"TemporaryFile(/tmp/multipartBody2605069039188790145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285003693,"filename":"image_01112025_19_03_17_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478401","file1":"1398478399","file0":"1398478396","file4":"1398478405","file5":"1398478409","file3":"1398478403"},"map_files_photo_id_array":[{"photo_id":"1398478409","filename":"file5"},{"photo_id":"1398478401","filename":"file2"},{"photo_id":"1398478405","filename":"file4"},{"photo_id":"1398478399","filename":"file1"},{"photo_id":"1398478396","filename":"file0"},{"photo_id":"1398478403","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478409":["hashtag1","hashtag2"]},{"1398478399":["hashtag1","hashtag2"]},{"1398478403":["hashtag1","hashtag2"]},{"1398478396":["hashtag1","hashtag2"]},{"1398478405":["hashtag1","hashtag2"]},{"1398478401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478409, 1398478399, 1398478403, 1398478396, 1398478405, 1398478401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71236062049866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 13:56:21.911477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_24_9580.jpg', '/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_34_9715.jpg', '/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_44_10685.jpg', '/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_54_9584.jpg', '/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_14_9671.jpg', '/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_24_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_24_9580.jpg
/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_34_9715.jpg
/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_44_10685.jpg
/home/pi/Desktop/images/09122025/00/37/image_09122025_00_37_54_9584.jpg
/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_14_9671.jpg
/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_24_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478418","1398478435","1398478420","1398478428","1398478416","1398478424"],"photo_ids_order":["1398478416","1398478418","1398478420","1398478424","1398478428","1398478435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc223e5884889d9885f464670d9cfce6.jpg","text":"TemporaryFile(/tmp/multipartBody3284144938864447941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_37_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1568a309ef908d455100d153ed8624a.jpg","text":"TemporaryFile(/tmp/multipartBody7960491937835817801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_38_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55095edfa81e129479a551f7fd465204.jpg","text":"TemporaryFile(/tmp/multipartBody3845486882181936519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_37_44_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f65265ec3c49e47d55674195e454ed50.jpg","text":"TemporaryFile(/tmp/multipartBody6531587334782584081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_38_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b990b8196cad7bdbfc7819b92ace6ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1039478491248469249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_37_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b784fa4e077015f319db344cb3f9e561.jpg","text":"TemporaryFile(/tmp/multipartBody8769878217803663672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285042509,"filename":"image_09122025_00_37_54_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478420","file1":"1398478418","file0":"1398478416","file4":"1398478428","file5":"1398478435","file3":"1398478424"},"map_files_photo_id_array":[{"photo_id":"1398478435","filename":"file5"},{"photo_id":"1398478420","filename":"file2"},{"photo_id":"1398478428","filename":"file4"},{"photo_id":"1398478418","filename":"file1"},{"photo_id":"1398478416","filename":"file0"},{"photo_id":"1398478424","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478418":["hashtag1","hashtag2"]},{"1398478435":["hashtag1","hashtag2"]},{"1398478420":["hashtag1","hashtag2"]},{"1398478428":["hashtag1","hashtag2"]},{"1398478416":["hashtag1","hashtag2"]},{"1398478424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478418, 1398478435, 1398478420, 1398478428, 1398478416, 1398478424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.986384868621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:57:02.809816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_44_10716.jpg', '/home/pi/Desktop/images/09122025/00/39/image_09122025_00_39_24_9605.jpg', '/home/pi/Desktop/images/09122025/00/39/image_09122025_00_39_54_9720.jpg', '/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_24_10604.jpg', '/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_34_9665.jpg', '/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_44_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/38/image_09122025_00_38_44_10716.jpg
/home/pi/Desktop/images/09122025/00/39/image_09122025_00_39_24_9605.jpg
/home/pi/Desktop/images/09122025/00/39/image_09122025_00_39_54_9720.jpg
/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_24_10604.jpg
/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_34_9665.jpg
/home/pi/Desktop/images/09122025/00/41/image_09122025_00_41_44_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478502","1398478447","1398478540","1398478459","1398478450","1398478581"],"photo_ids_order":["1398478447","1398478450","1398478459","1398478502","1398478540","1398478581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab35596d8b189565c855fb810760c9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6457792145648917407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_41_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de6e922a3468201136e2ec8f70fcde10.jpg","text":"TemporaryFile(/tmp/multipartBody8128511812613610379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_38_44_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0742983791b28f3ebe66d8abd9075af7.jpg","text":"TemporaryFile(/tmp/multipartBody8997243086495050166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_41_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb4413d95e088fe665625784edf14337.jpg","text":"TemporaryFile(/tmp/multipartBody2469657806311882168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_39_54_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f0e0f1f3f1b9c8e48eb75a713cb3c10.jpg","text":"TemporaryFile(/tmp/multipartBody8616822238753994698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_39_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e5eae9002f38629b26cfe84f33f2c89.jpg","text":"TemporaryFile(/tmp/multipartBody5134414573814460100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285083449,"filename":"image_09122025_00_41_44_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478459","file1":"1398478450","file0":"1398478447","file4":"1398478540","file5":"1398478581","file3":"1398478502"},"map_files_photo_id_array":[{"photo_id":"1398478581","filename":"file5"},{"photo_id":"1398478459","filename":"file2"},{"photo_id":"1398478540","filename":"file4"},{"photo_id":"1398478450","filename":"file1"},{"photo_id":"1398478447","filename":"file0"},{"photo_id":"1398478502","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398478502":["hashtag1","hashtag2"]},{"1398478447":["hashtag1","hashtag2"]},{"1398478540":["hashtag1","hashtag2"]},{"1398478459":["hashtag1","hashtag2"]},{"1398478450":["hashtag1","hashtag2"]},{"1398478581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398478502, 1398478447, 1398478540, 1398478459, 1398478450, 1398478581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71347784996033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 13:57:42.174897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_33_1691.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_35_2297.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_36_1584.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_38_1782.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_41_2446.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_52_11644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_33_1691.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_35_2297.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_36_1584.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_38_1782.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_41_2446.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_52_11644.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398478718","1398478805","1398478996","1398478951","1398478884","1398479036"],"photo_ids_order":["1398478718","1398478805","1398478884","1398478951","1398478996","1398479036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b729df86fd48e5f93b68fc1e6db6e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody942855841590445481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_33_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5f332d48735c4cb48e1c4348b7704ee.jpg","text":"TemporaryFile(/tmp/multipartBody7500050864669125476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_35_2297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3551e266c78abd2cf67379c6f19bf634.jpg","text":"TemporaryFile(/tmp/multipartBody4984943848652276643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_41_2446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f17a456f74d2f6be7656fb259dbe7ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4268907560614409629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_38_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8f90227c786c6465ebb52976f0f3fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6454031794012960305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_36_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ce500b04665789df77b87dcc2ba6819.jpg","text":"TemporaryFile(/tmp/multipartBody4623180766521928625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285123153,"filename":"image_01112025_19_03_52_11644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398478884","file1":"1398478805","file0":"1398478718","file4":"1398478996","file5":"1398479036","file3":"1398478951"},"map_files_photo_id_array":[{"photo_id":"1398479036","filename":"file5"},{"photo_id":"1398478884","filename":"file2"},{"photo_id":"1398478996","filename":"file4"},{"photo_id":"1398478805","filename":"file1"},{"photo_id":"1398478718","filename":"file0"},{"photo_id":"1398478951","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398478718":["hashtag1","hashtag2"]},{"1398478805":["hashtag1","hashtag2"]},{"1398478996":["hashtag1","hashtag2"]},{"1398478951":["hashtag1","hashtag2"]},{"1398478884":["hashtag1","hashtag2"]},{"1398479036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398478718, 1398478805, 1398478996, 1398478951, 1398478884, 1398479036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.689897537231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 13:59:03.486644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/41/image_09122025_00_42_04_9739.jpg', '/home/pi/Desktop/images/09122025/00/42/image_09122025_00_42_24_9504.jpg', '/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_24_9611.jpg', '/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_44_10861.jpg', '/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_54_9648.jpg', '/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_14_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/41/image_09122025_00_42_04_9739.jpg
/home/pi/Desktop/images/09122025/00/42/image_09122025_00_42_24_9504.jpg
/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_24_9611.jpg
/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_44_10861.jpg
/home/pi/Desktop/images/09122025/00/43/image_09122025_00_43_54_9648.jpg
/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_14_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479352","1398479346","1398479355","1398479334","1398479360","1398479342"],"photo_ids_order":["1398479334","1398479342","1398479346","1398479352","1398479355","1398479360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/317afb1db9e2f94f83dd882f5e2e0c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5876995195847317665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_43_44_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a2c2ca20641f5e9ee92567a0b5f50c2.jpg","text":"TemporaryFile(/tmp/multipartBody5234675844012269735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_43_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/284e2de9518069f6fbc8b5da25a90243.jpg","text":"TemporaryFile(/tmp/multipartBody7111964963354321457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_43_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/169592c0122cc5361908448aec9152cc.jpg","text":"TemporaryFile(/tmp/multipartBody3803559353053369619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_42_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d540515f3e7fd7c5a618adfb3334856.jpg","text":"TemporaryFile(/tmp/multipartBody1608543881442701141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_44_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2c1775b1c1853082b49596488b9dab7.jpg","text":"TemporaryFile(/tmp/multipartBody324822489602330596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285204281,"filename":"image_09122025_00_42_24_9504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479346","file1":"1398479342","file0":"1398479334","file4":"1398479355","file5":"1398479360","file3":"1398479352"},"map_files_photo_id_array":[{"photo_id":"1398479360","filename":"file5"},{"photo_id":"1398479346","filename":"file2"},{"photo_id":"1398479355","filename":"file4"},{"photo_id":"1398479342","filename":"file1"},{"photo_id":"1398479334","filename":"file0"},{"photo_id":"1398479352","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479352":["hashtag1","hashtag2"]},{"1398479346":["hashtag1","hashtag2"]},{"1398479355":["hashtag1","hashtag2"]},{"1398479334":["hashtag1","hashtag2"]},{"1398479360":["hashtag1","hashtag2"]},{"1398479342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479352, 1398479346, 1398479355, 1398479334, 1398479360, 1398479342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2519805431366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:00:02.262580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_34_9618.jpg', '/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_44_10611.jpg', '/home/pi/Desktop/images/09122025/00/44/image_09122025_00_45_04_9782.jpg', '/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_24_9824.jpg', '/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_44_10608.jpg', '/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_54_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_34_9618.jpg
/home/pi/Desktop/images/09122025/00/44/image_09122025_00_44_44_10611.jpg
/home/pi/Desktop/images/09122025/00/44/image_09122025_00_45_04_9782.jpg
/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_24_9824.jpg
/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_44_10608.jpg
/home/pi/Desktop/images/09122025/00/46/image_09122025_00_46_54_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479386","1398479380","1398479376","1398479372","1398479378","1398479383"],"photo_ids_order":["1398479372","1398479376","1398479378","1398479380","1398479383","1398479386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e28e32ed8049d921e044fa4821d8c4e7.jpg","text":"TemporaryFile(/tmp/multipartBody439778112248873893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_46_54_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25afcd73475f8207fb5c45c738109d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2826314081232182275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_46_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf1ecddff22e44644d8ba6852a192642.jpg","text":"TemporaryFile(/tmp/multipartBody5280892905368963443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_44_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef3c4bcfb332090f665470537c5ca8de.jpg","text":"TemporaryFile(/tmp/multipartBody3979239004444865691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_44_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34bb80835c94e08730db0d336a343e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1729198910606047067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_45_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acf794e8d5c00120ca934498dda2c85b.jpg","text":"TemporaryFile(/tmp/multipartBody6119300846578341506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285262907,"filename":"image_09122025_00_46_44_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479378","file1":"1398479376","file0":"1398479372","file4":"1398479383","file5":"1398479386","file3":"1398479380"},"map_files_photo_id_array":[{"photo_id":"1398479386","filename":"file5"},{"photo_id":"1398479378","filename":"file2"},{"photo_id":"1398479383","filename":"file4"},{"photo_id":"1398479376","filename":"file1"},{"photo_id":"1398479372","filename":"file0"},{"photo_id":"1398479380","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479386":["hashtag1","hashtag2"]},{"1398479380":["hashtag1","hashtag2"]},{"1398479376":["hashtag1","hashtag2"]},{"1398479372":["hashtag1","hashtag2"]},{"1398479378":["hashtag1","hashtag2"]},{"1398479383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479386, 1398479380, 1398479376, 1398479372, 1398479378, 1398479383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35691475868225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:00:41.762201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8809058666229248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:01:03.419156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/47/image_09122025_00_47_14_10631.jpg', '/home/pi/Desktop/images/09122025/00/47/image_09122025_00_47_34_10684.jpg', '/home/pi/Desktop/images/09122025/00/48/image_09122025_00_48_14_9596.jpg', '/home/pi/Desktop/images/09122025/00/48/image_09122025_00_48_54_10587.jpg', '/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_14_9732.jpg', '/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_24_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/47/image_09122025_00_47_14_10631.jpg
/home/pi/Desktop/images/09122025/00/47/image_09122025_00_47_34_10684.jpg
/home/pi/Desktop/images/09122025/00/48/image_09122025_00_48_14_9596.jpg
/home/pi/Desktop/images/09122025/00/48/image_09122025_00_48_54_10587.jpg
/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_14_9732.jpg
/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_24_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479419","1398479412","1398479406","1398479415","1398479409","1398479417"],"photo_ids_order":["1398479406","1398479409","1398479412","1398479415","1398479417","1398479419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e21943429b39e7c564ead20f40c8b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4793916842540028736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_49_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fb676e243dd65410e241b6619f43d6a.jpg","text":"TemporaryFile(/tmp/multipartBody293125257427874008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_48_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/579c2e7e06ad9dc8ef93c6e561ebb2e8.jpg","text":"TemporaryFile(/tmp/multipartBody7072548401326352314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_47_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e425a93d68e6601b525dc8c6cf3e6420.jpg","text":"TemporaryFile(/tmp/multipartBody4614552287895886748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_48_54_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41cb65559c763e7d980822605ff0507b.jpg","text":"TemporaryFile(/tmp/multipartBody729780674260043982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_47_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/920850b3b92040f730c74e5c1a27d9f5.jpg","text":"TemporaryFile(/tmp/multipartBody4761833729489110183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285324066,"filename":"image_09122025_00_49_14_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479412","file1":"1398479409","file0":"1398479406","file4":"1398479417","file5":"1398479419","file3":"1398479415"},"map_files_photo_id_array":[{"photo_id":"1398479419","filename":"file5"},{"photo_id":"1398479412","filename":"file2"},{"photo_id":"1398479417","filename":"file4"},{"photo_id":"1398479409","filename":"file1"},{"photo_id":"1398479406","filename":"file0"},{"photo_id":"1398479415","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479419":["hashtag1","hashtag2"]},{"1398479412":["hashtag1","hashtag2"]},{"1398479406":["hashtag1","hashtag2"]},{"1398479415":["hashtag1","hashtag2"]},{"1398479409":["hashtag1","hashtag2"]},{"1398479417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479419, 1398479412, 1398479406, 1398479415, 1398479409, 1398479417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.797932863235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:01:42.841405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7584445476531982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:02:02.507631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_54_9684.jpg', '/home/pi/Desktop/images/09122025/00/50/image_09122025_00_50_54_9662.jpg', '/home/pi/Desktop/images/09122025/00/50/image_09122025_00_51_04_10701.jpg', '/home/pi/Desktop/images/09122025/00/51/image_09122025_00_51_24_9713.jpg', '/home/pi/Desktop/images/09122025/00/51/image_09122025_00_51_44_9575.jpg', '/home/pi/Desktop/images/09122025/00/51/image_09122025_00_52_04_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/49/image_09122025_00_49_54_9684.jpg
/home/pi/Desktop/images/09122025/00/50/image_09122025_00_50_54_9662.jpg
/home/pi/Desktop/images/09122025/00/50/image_09122025_00_51_04_10701.jpg
/home/pi/Desktop/images/09122025/00/51/image_09122025_00_51_24_9713.jpg
/home/pi/Desktop/images/09122025/00/51/image_09122025_00_51_44_9575.jpg
/home/pi/Desktop/images/09122025/00/51/image_09122025_00_52_04_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479446","1398479455","1398479449","1398479443","1398479451","1398479453"],"photo_ids_order":["1398479443","1398479446","1398479449","1398479451","1398479453","1398479455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f5fa9c2dfb40745ab3de9c198872700.jpg","text":"TemporaryFile(/tmp/multipartBody278961869597668883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_50_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b43104e7834c5b6b65a8e216e0adc6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5603067416340029809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_52_04_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d7e036214a2b0a7f4a779ca2bee2a01.jpg","text":"TemporaryFile(/tmp/multipartBody6511031199644666888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_51_04_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0400725bae62c454a8c5a0ca2e3e1b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1514830640344994103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_49_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96353cadefa438e564eedfc5ce929a72.jpg","text":"TemporaryFile(/tmp/multipartBody5790412543805473767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_51_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ef985b7dcf51e6f3732b9796b604c43.jpg","text":"TemporaryFile(/tmp/multipartBody2681373160405984543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285383119,"filename":"image_09122025_00_51_44_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479449","file1":"1398479446","file0":"1398479443","file4":"1398479453","file5":"1398479455","file3":"1398479451"},"map_files_photo_id_array":[{"photo_id":"1398479455","filename":"file5"},{"photo_id":"1398479449","filename":"file2"},{"photo_id":"1398479453","filename":"file4"},{"photo_id":"1398479446","filename":"file1"},{"photo_id":"1398479443","filename":"file0"},{"photo_id":"1398479451","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479446":["hashtag1","hashtag2"]},{"1398479455":["hashtag1","hashtag2"]},{"1398479449":["hashtag1","hashtag2"]},{"1398479443":["hashtag1","hashtag2"]},{"1398479451":["hashtag1","hashtag2"]},{"1398479453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479446, 1398479455, 1398479449, 1398479443, 1398479451, 1398479453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24075984954834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:02:42.030033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg', '/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_54_1646.jpg
/home/pi/Desktop/images/01112025/19/03/image_01112025_19_03_59_5420.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_07_1529.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_09_1745.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_10_1710.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_12_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479479","1398479461","1398479472","1398479475","1398479469","1398479465"],"photo_ids_order":["1398479461","1398479465","1398479469","1398479472","1398479475","1398479479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35e1a944ce9cf07c7b2581c940d72d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6440698450054598650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_04_12_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fa60213f971e01c1df85d2ed99e98c5.jpg","text":"TemporaryFile(/tmp/multipartBody6734408398068310919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_03_54_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/874ae1cce775a6ef5fc0fb581d1615e9.jpg","text":"TemporaryFile(/tmp/multipartBody4638772079816680138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_04_09_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d25f04431909428bdcd12555c3e2d0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5699339086091470402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_04_10_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f66190f851fe0b24ee044ea3c4138060.jpg","text":"TemporaryFile(/tmp/multipartBody2736351478727275422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_04_07_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4a8249d638071a7b7214cfa3c927c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2917598754911502701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285422951,"filename":"image_01112025_19_03_59_5420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479469","file1":"1398479465","file0":"1398479461","file4":"1398479475","file5":"1398479479","file3":"1398479472"},"map_files_photo_id_array":[{"photo_id":"1398479479","filename":"file5"},{"photo_id":"1398479469","filename":"file2"},{"photo_id":"1398479475","filename":"file4"},{"photo_id":"1398479465","filename":"file1"},{"photo_id":"1398479461","filename":"file0"},{"photo_id":"1398479472","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479479":["hashtag1","hashtag2"]},{"1398479461":["hashtag1","hashtag2"]},{"1398479472":["hashtag1","hashtag2"]},{"1398479475":["hashtag1","hashtag2"]},{"1398479469":["hashtag1","hashtag2"]},{"1398479465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479479, 1398479461, 1398479472, 1398479475, 1398479469, 1398479465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26077318191528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:03:22.228254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/52/image_09122025_00_52_24_9594.jpg', '/home/pi/Desktop/images/09122025/00/52/image_09122025_00_52_54_9671.jpg', '/home/pi/Desktop/images/09122025/00/53/image_09122025_00_53_24_9640.jpg', '/home/pi/Desktop/images/09122025/00/53/image_09122025_00_53_44_9754.jpg', '/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_14_10676.jpg', '/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_44_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/52/image_09122025_00_52_24_9594.jpg
/home/pi/Desktop/images/09122025/00/52/image_09122025_00_52_54_9671.jpg
/home/pi/Desktop/images/09122025/00/53/image_09122025_00_53_24_9640.jpg
/home/pi/Desktop/images/09122025/00/53/image_09122025_00_53_44_9754.jpg
/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_14_10676.jpg
/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_44_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479491","1398479487","1398479506","1398479484","1398479498","1398479482"],"photo_ids_order":["1398479482","1398479484","1398479487","1398479491","1398479498","1398479506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1a155b99f3b129ec7d9a2bc50f7b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6880439475633508519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_53_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1fa4a05e118a5fcfe1aa318319e99228.jpg","text":"TemporaryFile(/tmp/multipartBody4345272098949741725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_53_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99263dcba7d8c36b6332460393425999.jpg","text":"TemporaryFile(/tmp/multipartBody4444832510719309059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_54_44_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e577f8c26ac650f9f27591f78f21ff49.jpg","text":"TemporaryFile(/tmp/multipartBody3862770057185965345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_52_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4f0f8c554a4a6aa025e282f60b3de72.jpg","text":"TemporaryFile(/tmp/multipartBody6550627388132900118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_54_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36967e2c47e5557394f478bdd52c95a3.jpg","text":"TemporaryFile(/tmp/multipartBody4865203133883735908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285462828,"filename":"image_09122025_00_52_24_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479487","file1":"1398479484","file0":"1398479482","file4":"1398479498","file5":"1398479506","file3":"1398479491"},"map_files_photo_id_array":[{"photo_id":"1398479506","filename":"file5"},{"photo_id":"1398479487","filename":"file2"},{"photo_id":"1398479498","filename":"file4"},{"photo_id":"1398479484","filename":"file1"},{"photo_id":"1398479482","filename":"file0"},{"photo_id":"1398479491","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479491":["hashtag1","hashtag2"]},{"1398479487":["hashtag1","hashtag2"]},{"1398479506":["hashtag1","hashtag2"]},{"1398479484":["hashtag1","hashtag2"]},{"1398479498":["hashtag1","hashtag2"]},{"1398479482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479491, 1398479487, 1398479506, 1398479484, 1398479498, 1398479482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15023446083069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:04:03.180257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_54_9764.jpg', '/home/pi/Desktop/images/09122025/00/54/image_09122025_00_55_04_9872.jpg', '/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_14_10633.jpg', '/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_34_9704.jpg', '/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_44_9760.jpg', '/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_54_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/54/image_09122025_00_54_54_9764.jpg
/home/pi/Desktop/images/09122025/00/54/image_09122025_00_55_04_9872.jpg
/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_14_10633.jpg
/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_34_9704.jpg
/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_44_9760.jpg
/home/pi/Desktop/images/09122025/00/55/image_09122025_00_55_54_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479542","1398479535","1398479538","1398479547","1398479552","1398479555"],"photo_ids_order":["1398479535","1398479538","1398479542","1398479547","1398479552","1398479555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54c72adb3f7b791ba276c24798993953.jpg","text":"TemporaryFile(/tmp/multipartBody5361697058714246896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_55_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bf1dc365cce82499f4b21f426f6c732.jpg","text":"TemporaryFile(/tmp/multipartBody5432926029998209433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_54_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00ac150d084f80aed93e25b1a2112dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5064252777495271145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_55_04_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5873fa5f88ef10d60d4bd47ce7f80164.jpg","text":"TemporaryFile(/tmp/multipartBody5295273679479967729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_55_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98f7174aa5a442837d01f867079e2330.jpg","text":"TemporaryFile(/tmp/multipartBody9119035734441244861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_55_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3849906bfe24f69a5662cfffeb46dd20.jpg","text":"TemporaryFile(/tmp/multipartBody3820150457078357041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285503821,"filename":"image_09122025_00_55_54_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479542","file1":"1398479538","file0":"1398479535","file4":"1398479552","file5":"1398479555","file3":"1398479547"},"map_files_photo_id_array":[{"photo_id":"1398479555","filename":"file5"},{"photo_id":"1398479542","filename":"file2"},{"photo_id":"1398479552","filename":"file4"},{"photo_id":"1398479538","filename":"file1"},{"photo_id":"1398479535","filename":"file0"},{"photo_id":"1398479547","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479542":["hashtag1","hashtag2"]},{"1398479535":["hashtag1","hashtag2"]},{"1398479538":["hashtag1","hashtag2"]},{"1398479547":["hashtag1","hashtag2"]},{"1398479552":["hashtag1","hashtag2"]},{"1398479555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479542, 1398479535, 1398479538, 1398479547, 1398479552, 1398479555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.658665895462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:04:42.571939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_21_1753.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_22_1527.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_24_1867.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_26_1648.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_28_1699.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_29_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_21_1753.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_22_1527.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_24_1867.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_26_1648.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_28_1699.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_29_1693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479568","1398479577","1398479585","1398479564","1398479573","1398479581"],"photo_ids_order":["1398479564","1398479568","1398479573","1398479577","1398479581","1398479585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f40627b4346c498646f59ff1639717f2.jpg","text":"TemporaryFile(/tmp/multipartBody785802816957438709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_22_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/904ce67f72c7f979a4460abb320115fd.jpg","text":"TemporaryFile(/tmp/multipartBody6252950631371262147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_26_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5072a09984c222e11a21a5940da09fa.jpg","text":"TemporaryFile(/tmp/multipartBody1086467339828547167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_29_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ef0c9a262ee89d57910c6fc455cac62.jpg","text":"TemporaryFile(/tmp/multipartBody4314855397432179564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_21_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be547a73c2356d482e239314e32d136a.jpg","text":"TemporaryFile(/tmp/multipartBody2586052676759222020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_24_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b31d0543560c004e7c1ff0ea6542c8e4.jpg","text":"TemporaryFile(/tmp/multipartBody4439912467339241811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285543629,"filename":"image_01112025_19_04_28_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479573","file1":"1398479568","file0":"1398479564","file4":"1398479581","file5":"1398479585","file3":"1398479577"},"map_files_photo_id_array":[{"photo_id":"1398479585","filename":"file5"},{"photo_id":"1398479573","filename":"file2"},{"photo_id":"1398479581","filename":"file4"},{"photo_id":"1398479568","filename":"file1"},{"photo_id":"1398479564","filename":"file0"},{"photo_id":"1398479577","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479568":["hashtag1","hashtag2"]},{"1398479577":["hashtag1","hashtag2"]},{"1398479585":["hashtag1","hashtag2"]},{"1398479564":["hashtag1","hashtag2"]},{"1398479573":["hashtag1","hashtag2"]},{"1398479581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479568, 1398479577, 1398479585, 1398479564, 1398479573, 1398479581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07165193557739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:05:21.766607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/57/image_09122025_00_57_14_9618.jpg', '/home/pi/Desktop/images/09122025/00/57/image_09122025_00_57_44_9568.jpg', '/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_24_10614.jpg', '/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_44_9567.jpg', '/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_54_10724.jpg', '/home/pi/Desktop/images/09122025/00/58/image_09122025_00_59_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/57/image_09122025_00_57_14_9618.jpg
/home/pi/Desktop/images/09122025/00/57/image_09122025_00_57_44_9568.jpg
/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_24_10614.jpg
/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_44_9567.jpg
/home/pi/Desktop/images/09122025/00/58/image_09122025_00_58_54_10724.jpg
/home/pi/Desktop/images/09122025/00/58/image_09122025_00_59_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479590","1398479602","1398479597","1398479588","1398479593","1398479606"],"photo_ids_order":["1398479588","1398479590","1398479593","1398479597","1398479602","1398479606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36834dbc808f4c53344fa9b2fdb92a33.jpg","text":"TemporaryFile(/tmp/multipartBody4562189953995041199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_57_44_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96c15c844af4bf0965acda621f46e27c.jpg","text":"TemporaryFile(/tmp/multipartBody4459962261030540919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_58_54_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf4715a3756d3063b9d06d64ed95d24e.jpg","text":"TemporaryFile(/tmp/multipartBody5400898353714366388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_58_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b29e0460f97a167b1b5ad95919650d42.jpg","text":"TemporaryFile(/tmp/multipartBody2921291526557628901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_57_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e37885bb51778e0527443a216c0f28b.jpg","text":"TemporaryFile(/tmp/multipartBody177749290499809624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_58_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6aaf8b1a2c7d3c00028d78820f06f90.jpg","text":"TemporaryFile(/tmp/multipartBody7451309517259433355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285582396,"filename":"image_09122025_00_59_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479593","file1":"1398479590","file0":"1398479588","file4":"1398479602","file5":"1398479606","file3":"1398479597"},"map_files_photo_id_array":[{"photo_id":"1398479606","filename":"file5"},{"photo_id":"1398479593","filename":"file2"},{"photo_id":"1398479602","filename":"file4"},{"photo_id":"1398479590","filename":"file1"},{"photo_id":"1398479588","filename":"file0"},{"photo_id":"1398479597","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479590":["hashtag1","hashtag2"]},{"1398479602":["hashtag1","hashtag2"]},{"1398479597":["hashtag1","hashtag2"]},{"1398479588":["hashtag1","hashtag2"]},{"1398479593":["hashtag1","hashtag2"]},{"1398479606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479590, 1398479602, 1398479597, 1398479588, 1398479593, 1398479606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56270432472229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:06:02.488880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/00/59/image_09122025_00_59_14_9679.jpg', '/home/pi/Desktop/images/09122025/00/59/image_09122025_00_59_24_10595.jpg', '/home/pi/Desktop/images/09122025/01/00/image_09122025_01_00_24_9603.jpg', '/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_24_9738.jpg', '/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_34_9659.jpg', '/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_44_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/00/59/image_09122025_00_59_14_9679.jpg
/home/pi/Desktop/images/09122025/00/59/image_09122025_00_59_24_10595.jpg
/home/pi/Desktop/images/09122025/01/00/image_09122025_01_00_24_9603.jpg
/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_24_9738.jpg
/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_34_9659.jpg
/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_44_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479622","1398479616","1398479625","1398479619","1398479628","1398479612"],"photo_ids_order":["1398479612","1398479616","1398479619","1398479622","1398479625","1398479628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce2c0766c5fa92596ec7b7cefde63b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1671637757337953327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_01_01_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43c408baec7692c96813897cb2884c47.jpg","text":"TemporaryFile(/tmp/multipartBody3852589090751430979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_00_59_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15aa89fe3fb702059d53c69553d71b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3871159114229706108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_01_01_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26db683f6a88754d77e460244a6977ec.jpg","text":"TemporaryFile(/tmp/multipartBody4589097932219560543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_01_00_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b344edde5b644d544251d6ec55e3c754.jpg","text":"TemporaryFile(/tmp/multipartBody1923787511281252301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_01_01_44_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c81bcf2aff906b627ae33a2b3c96785a.jpg","text":"TemporaryFile(/tmp/multipartBody4108816661284842177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285623143,"filename":"image_09122025_00_59_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479619","file1":"1398479616","file0":"1398479612","file4":"1398479625","file5":"1398479628","file3":"1398479622"},"map_files_photo_id_array":[{"photo_id":"1398479628","filename":"file5"},{"photo_id":"1398479619","filename":"file2"},{"photo_id":"1398479625","filename":"file4"},{"photo_id":"1398479616","filename":"file1"},{"photo_id":"1398479612","filename":"file0"},{"photo_id":"1398479622","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479622":["hashtag1","hashtag2"]},{"1398479616":["hashtag1","hashtag2"]},{"1398479625":["hashtag1","hashtag2"]},{"1398479619":["hashtag1","hashtag2"]},{"1398479628":["hashtag1","hashtag2"]},{"1398479612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479622, 1398479616, 1398479625, 1398479619, 1398479628, 1398479612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16845202445984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:06:41.991167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_33_3931.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_35_1772.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_47_1815.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_49_1751.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_54_5168.jpg', '/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_58_4268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_33_3931.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_35_1772.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_47_1815.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_49_1751.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_54_5168.jpg
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_04_58_4268.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479650","1398479644","1398479647","1398479635","1398479652","1398479639"],"photo_ids_order":["1398479635","1398479639","1398479644","1398479647","1398479650","1398479652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3584877aff4ce991fadba615ba1b5f39.jpg","text":"TemporaryFile(/tmp/multipartBody8815661514845373048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_54_5168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c31e79c9421fac67e2b058678c9058d.jpg","text":"TemporaryFile(/tmp/multipartBody3433032851199412334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_47_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e680bb60bdb6f4ee15e40286f982d52.jpg","text":"TemporaryFile(/tmp/multipartBody6326045812005726151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_49_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38ac1f0f60eb371285db6095980c04f4.jpg","text":"TemporaryFile(/tmp/multipartBody6438116867124724218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_33_3931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e81d38fb7ddf347974839d7022be2ada.jpg","text":"TemporaryFile(/tmp/multipartBody2566655712845621040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_58_4268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/027f4d1e6c99a643a3d5bd5837826c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8118910998066255183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285662995,"filename":"image_01112025_19_04_35_1772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479644","file1":"1398479639","file0":"1398479635","file4":"1398479650","file5":"1398479652","file3":"1398479647"},"map_files_photo_id_array":[{"photo_id":"1398479652","filename":"file5"},{"photo_id":"1398479644","filename":"file2"},{"photo_id":"1398479650","filename":"file4"},{"photo_id":"1398479639","filename":"file1"},{"photo_id":"1398479635","filename":"file0"},{"photo_id":"1398479647","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479650":["hashtag1","hashtag2"]},{"1398479644":["hashtag1","hashtag2"]},{"1398479647":["hashtag1","hashtag2"]},{"1398479635":["hashtag1","hashtag2"]},{"1398479652":["hashtag1","hashtag2"]},{"1398479639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479650, 1398479644, 1398479647, 1398479635, 1398479652, 1398479639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92703342437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:07:22.287170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_54_9683.jpg', '/home/pi/Desktop/images/09122025/01/02/image_09122025_01_02_54_9703.jpg', '/home/pi/Desktop/images/09122025/01/02/image_09122025_01_03_04_9666.jpg', '/home/pi/Desktop/images/09122025/01/03/image_09122025_01_03_14_9746.jpg', '/home/pi/Desktop/images/09122025/01/03/image_09122025_01_03_24_10636.jpg', '/home/pi/Desktop/images/09122025/01/04/image_09122025_01_04_24_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/01/image_09122025_01_01_54_9683.jpg
/home/pi/Desktop/images/09122025/01/02/image_09122025_01_02_54_9703.jpg
/home/pi/Desktop/images/09122025/01/02/image_09122025_01_03_04_9666.jpg
/home/pi/Desktop/images/09122025/01/03/image_09122025_01_03_14_9746.jpg
/home/pi/Desktop/images/09122025/01/03/image_09122025_01_03_24_10636.jpg
/home/pi/Desktop/images/09122025/01/04/image_09122025_01_04_24_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479671","1398479667","1398479663","1398479660","1398479657","1398479674"],"photo_ids_order":["1398479657","1398479660","1398479663","1398479667","1398479671","1398479674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bd5d94944759d8c650cf7970b5bcc40.jpg","text":"TemporaryFile(/tmp/multipartBody79885430101319115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_03_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38553d757ba255f44799710b852fccbe.jpg","text":"TemporaryFile(/tmp/multipartBody1018787711055101886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_03_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f1084f8621d4ff55a228d69ab8c564e.jpg","text":"TemporaryFile(/tmp/multipartBody6936757178004984118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_03_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f890294dfb33b25d1bef6568fdb94e8.jpg","text":"TemporaryFile(/tmp/multipartBody3688037356970289445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_02_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20fc7ba25031ac1fbc1e5ee1fab77335.jpg","text":"TemporaryFile(/tmp/multipartBody8731715837606375178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_01_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02d303c04a3ad80dc206871343bbc8ba.jpg","text":"TemporaryFile(/tmp/multipartBody5487860858493839244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285702896,"filename":"image_09122025_01_04_24_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479663","file1":"1398479660","file0":"1398479657","file4":"1398479671","file5":"1398479674","file3":"1398479667"},"map_files_photo_id_array":[{"photo_id":"1398479674","filename":"file5"},{"photo_id":"1398479663","filename":"file2"},{"photo_id":"1398479671","filename":"file4"},{"photo_id":"1398479660","filename":"file1"},{"photo_id":"1398479657","filename":"file0"},{"photo_id":"1398479667","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479671":["hashtag1","hashtag2"]},{"1398479667":["hashtag1","hashtag2"]},{"1398479663":["hashtag1","hashtag2"]},{"1398479660":["hashtag1","hashtag2"]},{"1398479657":["hashtag1","hashtag2"]},{"1398479674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479671, 1398479667, 1398479663, 1398479660, 1398479657, 1398479674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.563761949539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:08:02.792802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/04/image_09122025_01_04_44_9607.jpg', '/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_14_9666.jpg', '/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_24_9835.jpg', '/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_34_10643.jpg', '/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_44_9828.jpg', '/home/pi/Desktop/images/09122025/01/06/image_09122025_01_06_44_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/04/image_09122025_01_04_44_9607.jpg
/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_14_9666.jpg
/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_24_9835.jpg
/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_34_10643.jpg
/home/pi/Desktop/images/09122025/01/05/image_09122025_01_05_44_9828.jpg
/home/pi/Desktop/images/09122025/01/06/image_09122025_01_06_44_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479682","1398479684","1398479687","1398479692","1398479686","1398479689"],"photo_ids_order":["1398479682","1398479684","1398479686","1398479687","1398479689","1398479692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00ef534bdcf3e255c1308b0c543c5dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2299082749102613840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_04_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3078de8c54fb1c2aff190c340bb56ee.jpg","text":"TemporaryFile(/tmp/multipartBody250510517463902679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_05_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f76bc02b1b640c8bc869d504cbefd1e1.jpg","text":"TemporaryFile(/tmp/multipartBody7413384177543358342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_05_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6e30895e909845fab5fefaf3de0ced1.jpg","text":"TemporaryFile(/tmp/multipartBody2448909030721195906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_06_44_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/654c6597187621c0c66bea4c602dc850.jpg","text":"TemporaryFile(/tmp/multipartBody3013350996824392610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_05_24_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8cecf1669dac2038a8c844658fb24fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4860015445939001012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285743426,"filename":"image_09122025_01_05_44_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479686","file1":"1398479684","file0":"1398479682","file4":"1398479689","file5":"1398479692","file3":"1398479687"},"map_files_photo_id_array":[{"photo_id":"1398479692","filename":"file5"},{"photo_id":"1398479686","filename":"file2"},{"photo_id":"1398479689","filename":"file4"},{"photo_id":"1398479684","filename":"file1"},{"photo_id":"1398479682","filename":"file0"},{"photo_id":"1398479687","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479682":["hashtag1","hashtag2"]},{"1398479684":["hashtag1","hashtag2"]},{"1398479687":["hashtag1","hashtag2"]},{"1398479692":["hashtag1","hashtag2"]},{"1398479686":["hashtag1","hashtag2"]},{"1398479689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479682, 1398479684, 1398479687, 1398479692, 1398479686, 1398479689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.112218141555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:08:42.222672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/04/image_01112025_19_05_00_1557.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_09_9445.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_11_1615.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_13_1656.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_14_1749.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_16_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/04/image_01112025_19_05_00_1557.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_09_9445.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_11_1615.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_13_1656.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_14_1749.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_16_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479704","1398479713","1398479707","1398479709","1398479717","1398479711"],"photo_ids_order":["1398479704","1398479707","1398479709","1398479711","1398479713","1398479717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90b5e13e47468b50efbc09ca8cd89cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8471606400809738387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_00_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72376bb7f7a02d9a772064948b409747.jpg","text":"TemporaryFile(/tmp/multipartBody6498386436205113054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_14_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55dcc6cd793b3079e42cfceb3d44347a.jpg","text":"TemporaryFile(/tmp/multipartBody2093298109979248885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_09_9445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb22ca7cea022c0d603be47aa387af7d.jpg","text":"TemporaryFile(/tmp/multipartBody8775230197276086792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_11_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f601d14aa371b8d28e29c59c54c595f.jpg","text":"TemporaryFile(/tmp/multipartBody6382697972659707046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_16_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd4b94916a83f03a6c9f5b0b1a9f8978.jpg","text":"TemporaryFile(/tmp/multipartBody7223790816205889636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285783218,"filename":"image_01112025_19_05_13_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479709","file1":"1398479707","file0":"1398479704","file4":"1398479713","file5":"1398479717","file3":"1398479711"},"map_files_photo_id_array":[{"photo_id":"1398479717","filename":"file5"},{"photo_id":"1398479709","filename":"file2"},{"photo_id":"1398479713","filename":"file4"},{"photo_id":"1398479707","filename":"file1"},{"photo_id":"1398479704","filename":"file0"},{"photo_id":"1398479711","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479704":["hashtag1","hashtag2"]},{"1398479713":["hashtag1","hashtag2"]},{"1398479707":["hashtag1","hashtag2"]},{"1398479709":["hashtag1","hashtag2"]},{"1398479717":["hashtag1","hashtag2"]},{"1398479711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479704, 1398479713, 1398479707, 1398479709, 1398479717, 1398479711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77945566177368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:09:22.519020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/08/image_09122025_01_08_44_10596.jpg', '/home/pi/Desktop/images/09122025/01/08/image_09122025_01_08_54_9619.jpg', '/home/pi/Desktop/images/09122025/01/09/image_09122025_01_09_14_9755.jpg', '/home/pi/Desktop/images/09122025/01/09/image_09122025_01_09_24_10606.jpg', '/home/pi/Desktop/images/09122025/01/09/image_09122025_01_10_03_9633.jpg', '/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/08/image_09122025_01_08_44_10596.jpg
/home/pi/Desktop/images/09122025/01/08/image_09122025_01_08_54_9619.jpg
/home/pi/Desktop/images/09122025/01/09/image_09122025_01_09_14_9755.jpg
/home/pi/Desktop/images/09122025/01/09/image_09122025_01_09_24_10606.jpg
/home/pi/Desktop/images/09122025/01/09/image_09122025_01_10_03_9633.jpg
/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479725","1398479728","1398479739","1398479727","1398479732","1398479735"],"photo_ids_order":["1398479725","1398479727","1398479728","1398479732","1398479735","1398479739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88c310a689aaba33d8583d655e16c4b6.jpg","text":"TemporaryFile(/tmp/multipartBody2204923975379661142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_08_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb3e04961d06d6d66eab00f7224fbb19.jpg","text":"TemporaryFile(/tmp/multipartBody5464553571027502821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_09_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/953126f409a672ddb4961485a56ec2c6.jpg","text":"TemporaryFile(/tmp/multipartBody544010705133135017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_10_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c82fded787db0c4806b994fab7c19ea.jpg","text":"TemporaryFile(/tmp/multipartBody5416311074295547645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_08_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d1fb7fa91bcd44f3f16ffecb752e3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3295874633011176653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_09_24_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ecee24a0b2fe174ea361b3c6dbb6453.jpg","text":"TemporaryFile(/tmp/multipartBody1295671066401691807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285823169,"filename":"image_09122025_01_10_03_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479728","file1":"1398479727","file0":"1398479725","file4":"1398479735","file5":"1398479739","file3":"1398479732"},"map_files_photo_id_array":[{"photo_id":"1398479739","filename":"file5"},{"photo_id":"1398479728","filename":"file2"},{"photo_id":"1398479735","filename":"file4"},{"photo_id":"1398479727","filename":"file1"},{"photo_id":"1398479725","filename":"file0"},{"photo_id":"1398479732","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479725":["hashtag1","hashtag2"]},{"1398479728":["hashtag1","hashtag2"]},{"1398479739":["hashtag1","hashtag2"]},{"1398479727":["hashtag1","hashtag2"]},{"1398479732":["hashtag1","hashtag2"]},{"1398479735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479725, 1398479728, 1398479739, 1398479727, 1398479732, 1398479735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8723418712616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:10:03.049393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_34_9766.jpg', '/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_44_10706.jpg', '/home/pi/Desktop/images/09122025/01/10/image_09122025_01_11_04_10431.jpg', '/home/pi/Desktop/images/09122025/01/11/image_09122025_01_11_44_10569.jpg', '/home/pi/Desktop/images/09122025/01/11/image_09122025_01_12_04_9847.jpg', '/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_34_9766.jpg
/home/pi/Desktop/images/09122025/01/10/image_09122025_01_10_44_10706.jpg
/home/pi/Desktop/images/09122025/01/10/image_09122025_01_11_04_10431.jpg
/home/pi/Desktop/images/09122025/01/11/image_09122025_01_11_44_10569.jpg
/home/pi/Desktop/images/09122025/01/11/image_09122025_01_12_04_9847.jpg
/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_24_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479749","1398479752","1398479751","1398479754","1398479757","1398479762"],"photo_ids_order":["1398479749","1398479751","1398479752","1398479754","1398479757","1398479762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52bbd710bae0acbfdf5f797019b3656f.jpg","text":"TemporaryFile(/tmp/multipartBody2239912175473604899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_10_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b28534a546ce9cfdb8c4b65228a42e96.jpg","text":"TemporaryFile(/tmp/multipartBody5788466044681637331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_11_04_10431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b29f8f9d2284b493cb74748209d47838.jpg","text":"TemporaryFile(/tmp/multipartBody3380583848274994191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_10_44_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66dab33c6e859853b8a20c56c3ae4990.jpg","text":"TemporaryFile(/tmp/multipartBody1403026508044187228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_11_44_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/435ad21fd7540026198078accdfd9795.jpg","text":"TemporaryFile(/tmp/multipartBody1358177093656297041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_12_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/631fd9ad7af363a00612784f29543744.jpg","text":"TemporaryFile(/tmp/multipartBody171146335110784426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285863675,"filename":"image_09122025_01_12_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479752","file1":"1398479751","file0":"1398479749","file4":"1398479757","file5":"1398479762","file3":"1398479754"},"map_files_photo_id_array":[{"photo_id":"1398479762","filename":"file5"},{"photo_id":"1398479752","filename":"file2"},{"photo_id":"1398479757","filename":"file4"},{"photo_id":"1398479751","filename":"file1"},{"photo_id":"1398479749","filename":"file0"},{"photo_id":"1398479754","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479749":["hashtag1","hashtag2"]},{"1398479752":["hashtag1","hashtag2"]},{"1398479751":["hashtag1","hashtag2"]},{"1398479754":["hashtag1","hashtag2"]},{"1398479757":["hashtag1","hashtag2"]},{"1398479762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479749, 1398479752, 1398479751, 1398479754, 1398479757, 1398479762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95716333389282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:10:42.643274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_18_1607.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_19_1565.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_21_1511.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_22_1812.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_25_2569.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_29_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_18_1607.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_19_1565.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_21_1511.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_22_1812.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_25_2569.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_29_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479784","1398479778","1398479781","1398479775","1398479789","1398479786"],"photo_ids_order":["1398479775","1398479778","1398479781","1398479784","1398479786","1398479789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3587560c0b6fe771dfd3d7422831767.jpg","text":"TemporaryFile(/tmp/multipartBody6532861442540202466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_22_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/358432a001496ed60ff503a172256582.jpg","text":"TemporaryFile(/tmp/multipartBody8539703536611887964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_19_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e332611709cb0f332c067a2a13bc275.jpg","text":"TemporaryFile(/tmp/multipartBody3993833991428511721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_21_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd1bebb264a53807946da90aaa7a5ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3048854825060016434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_18_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20c43a57da6ffb3480e70ab55369e78d.jpg","text":"TemporaryFile(/tmp/multipartBody7482194715560528048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_29_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18770136fbdb8b8be4a114e3e2d79bc7.jpg","text":"TemporaryFile(/tmp/multipartBody9008879808120004813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285903674,"filename":"image_01112025_19_05_25_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479781","file1":"1398479778","file0":"1398479775","file4":"1398479786","file5":"1398479789","file3":"1398479784"},"map_files_photo_id_array":[{"photo_id":"1398479789","filename":"file5"},{"photo_id":"1398479781","filename":"file2"},{"photo_id":"1398479786","filename":"file4"},{"photo_id":"1398479778","filename":"file1"},{"photo_id":"1398479775","filename":"file0"},{"photo_id":"1398479784","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479784":["hashtag1","hashtag2"]},{"1398479778":["hashtag1","hashtag2"]},{"1398479781":["hashtag1","hashtag2"]},{"1398479775":["hashtag1","hashtag2"]},{"1398479789":["hashtag1","hashtag2"]},{"1398479786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479784, 1398479778, 1398479781, 1398479775, 1398479789, 1398479786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61255121231079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:11:22.731278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_34_9630.jpg', '/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_44_10624.jpg', '/home/pi/Desktop/images/09122025/01/13/image_09122025_01_13_14_10721.jpg', '/home/pi/Desktop/images/09122025/01/13/image_09122025_01_14_04_9805.jpg', '/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_14_9857.jpg', '/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_24_10856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_34_9630.jpg
/home/pi/Desktop/images/09122025/01/12/image_09122025_01_12_44_10624.jpg
/home/pi/Desktop/images/09122025/01/13/image_09122025_01_13_14_10721.jpg
/home/pi/Desktop/images/09122025/01/13/image_09122025_01_14_04_9805.jpg
/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_14_9857.jpg
/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_24_10856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479809","1398479799","1398479817","1398479802","1398479825","1398479804"],"photo_ids_order":["1398479799","1398479802","1398479804","1398479809","1398479817","1398479825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf49e64ebcc1280153d713eba67e7215.jpg","text":"TemporaryFile(/tmp/multipartBody1641880188347917709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_14_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3493c01c5a2cf6138d6d1d5d0f34462.jpg","text":"TemporaryFile(/tmp/multipartBody376667563475298556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_12_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d12becce0ee8a8a47f8c0961b9e3b770.jpg","text":"TemporaryFile(/tmp/multipartBody6436253406314387256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_14_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c36c6b2ad6edabc4091b8d2f7a21525.jpg","text":"TemporaryFile(/tmp/multipartBody8404759011487148368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_12_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/60f60aaf53d975462674d297032f018d.jpg","text":"TemporaryFile(/tmp/multipartBody2763254159912187047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_14_24_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01ac338d55c8523b0565bdfcffa56ace.jpg","text":"TemporaryFile(/tmp/multipartBody6879554895746475813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285943336,"filename":"image_09122025_01_13_14_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479804","file1":"1398479802","file0":"1398479799","file4":"1398479817","file5":"1398479825","file3":"1398479809"},"map_files_photo_id_array":[{"photo_id":"1398479825","filename":"file5"},{"photo_id":"1398479804","filename":"file2"},{"photo_id":"1398479817","filename":"file4"},{"photo_id":"1398479802","filename":"file1"},{"photo_id":"1398479799","filename":"file0"},{"photo_id":"1398479809","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479809":["hashtag1","hashtag2"]},{"1398479799":["hashtag1","hashtag2"]},{"1398479817":["hashtag1","hashtag2"]},{"1398479802":["hashtag1","hashtag2"]},{"1398479825":["hashtag1","hashtag2"]},{"1398479804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479809, 1398479799, 1398479817, 1398479802, 1398479825, 1398479804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26502799987793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:12:02.374348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_34_9579.jpg', '/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_54_10613.jpg', '/home/pi/Desktop/images/09122025/01/14/image_09122025_01_15_04_9539.jpg', '/home/pi/Desktop/images/09122025/01/15/image_09122025_01_15_24_9569.jpg', '/home/pi/Desktop/images/09122025/01/15/image_09122025_01_15_54_10825.jpg', '/home/pi/Desktop/images/09122025/01/15/image_09122025_01_16_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_34_9579.jpg
/home/pi/Desktop/images/09122025/01/14/image_09122025_01_14_54_10613.jpg
/home/pi/Desktop/images/09122025/01/14/image_09122025_01_15_04_9539.jpg
/home/pi/Desktop/images/09122025/01/15/image_09122025_01_15_24_9569.jpg
/home/pi/Desktop/images/09122025/01/15/image_09122025_01_15_54_10825.jpg
/home/pi/Desktop/images/09122025/01/15/image_09122025_01_16_04_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479848","1398479842","1398479839","1398479844","1398479837","1398479840"],"photo_ids_order":["1398479837","1398479839","1398479840","1398479842","1398479844","1398479848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c148ede492cd5d9c339f07c609547c37.jpg","text":"TemporaryFile(/tmp/multipartBody7130571632329518673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_16_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47bbd4f44a5c4ec2665ccc5f0688d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7454289900930996760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_15_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76830e4af213da902886c5a07718da9f.jpg","text":"TemporaryFile(/tmp/multipartBody5911119815948599428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_14_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d29bd95fc96b90cca14d6901403b162.jpg","text":"TemporaryFile(/tmp/multipartBody4534887554402613140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_15_54_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81c893798e928f57c943c4edb4f3b547.jpg","text":"TemporaryFile(/tmp/multipartBody8116568175741903717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_14_34_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb041f8a76df4b81986ac2705fdfc595.jpg","text":"TemporaryFile(/tmp/multipartBody2692665757810436126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765285983041,"filename":"image_09122025_01_15_04_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479840","file1":"1398479839","file0":"1398479837","file4":"1398479844","file5":"1398479848","file3":"1398479842"},"map_files_photo_id_array":[{"photo_id":"1398479848","filename":"file5"},{"photo_id":"1398479840","filename":"file2"},{"photo_id":"1398479844","filename":"file4"},{"photo_id":"1398479839","filename":"file1"},{"photo_id":"1398479837","filename":"file0"},{"photo_id":"1398479842","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479848":["hashtag1","hashtag2"]},{"1398479842":["hashtag1","hashtag2"]},{"1398479839":["hashtag1","hashtag2"]},{"1398479844":["hashtag1","hashtag2"]},{"1398479837":["hashtag1","hashtag2"]},{"1398479840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479848, 1398479842, 1398479839, 1398479844, 1398479837, 1398479840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37826228141785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:12:41.903463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_31_2607.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_35_3572.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_37_2526.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_40_2663.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_44_3586.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_48_3994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_31_2607.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_35_3572.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_37_2526.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_40_2663.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_44_3586.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_48_3994.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9158504009246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:13:02.617099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/16/image_09122025_01_16_14_9753.jpg', '/home/pi/Desktop/images/09122025/01/16/image_09122025_01_16_34_10611.jpg', '/home/pi/Desktop/images/09122025/01/17/image_09122025_01_17_04_9470.jpg', '/home/pi/Desktop/images/09122025/01/17/image_09122025_01_17_44_9727.jpg', '/home/pi/Desktop/images/09122025/01/18/image_09122025_01_18_14_9678.jpg', '/home/pi/Desktop/images/09122025/01/18/image_09122025_01_18_23_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/16/image_09122025_01_16_14_9753.jpg
/home/pi/Desktop/images/09122025/01/16/image_09122025_01_16_34_10611.jpg
/home/pi/Desktop/images/09122025/01/17/image_09122025_01_17_04_9470.jpg
/home/pi/Desktop/images/09122025/01/17/image_09122025_01_17_44_9727.jpg
/home/pi/Desktop/images/09122025/01/18/image_09122025_01_18_14_9678.jpg
/home/pi/Desktop/images/09122025/01/18/image_09122025_01_18_23_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479881","1398479877","1398479871","1398479874","1398479879","1398479884"],"photo_ids_order":["1398479871","1398479874","1398479877","1398479879","1398479881","1398479884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9417c8c872f64ac14c8d5ab30b10ff11.jpg","text":"TemporaryFile(/tmp/multipartBody8320897790449764766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_18_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ddcab610d20424d26c9703e1c80a600d.jpg","text":"TemporaryFile(/tmp/multipartBody1287564300058771700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_17_04_9470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69bc8a4bcf281e4693abbdbfc8a33b08.jpg","text":"TemporaryFile(/tmp/multipartBody8884232183106043987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_16_14_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea5209a1847d121793ff9090a05578a0.jpg","text":"TemporaryFile(/tmp/multipartBody2243563822003757576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_16_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d62c07c589b1a8f4851a2d2dc64807f6.jpg","text":"TemporaryFile(/tmp/multipartBody7293473410565573949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_17_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d8552c1c73ab68651ed13514f2f48af.jpg","text":"TemporaryFile(/tmp/multipartBody8083392777334893470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286043300,"filename":"image_09122025_01_18_23_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479877","file1":"1398479874","file0":"1398479871","file4":"1398479881","file5":"1398479884","file3":"1398479879"},"map_files_photo_id_array":[{"photo_id":"1398479884","filename":"file5"},{"photo_id":"1398479877","filename":"file2"},{"photo_id":"1398479881","filename":"file4"},{"photo_id":"1398479874","filename":"file1"},{"photo_id":"1398479871","filename":"file0"},{"photo_id":"1398479879","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479881":["hashtag1","hashtag2"]},{"1398479877":["hashtag1","hashtag2"]},{"1398479871":["hashtag1","hashtag2"]},{"1398479874":["hashtag1","hashtag2"]},{"1398479879":["hashtag1","hashtag2"]},{"1398479884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479881, 1398479877, 1398479871, 1398479874, 1398479879, 1398479884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31793546676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:13:41.945884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_31_2607.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_35_3572.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_37_2526.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_40_2663.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_44_3586.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_48_3994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_31_2607.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_35_3572.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_37_2526.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_40_2663.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_44_3586.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_48_3994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479897","1398479906","1398479909","1398479900","1398479903","1398479893"],"photo_ids_order":["1398479893","1398479897","1398479900","1398479903","1398479906","1398479909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa6cb6fe083cd94ecf4fcc2356169b89.jpg","text":"TemporaryFile(/tmp/multipartBody7030619670731548060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_35_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e888d867c96d3e50faacfd6845c009ac.jpg","text":"TemporaryFile(/tmp/multipartBody4806153944923183996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_44_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8c2661def771458ac67ff99aca06e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4345689523895805549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_48_3994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1aa1d3a951934fe828c27c5b439c247c.jpg","text":"TemporaryFile(/tmp/multipartBody3859875181887294175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_37_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3d14d685a26013fe8d22b5bd65f0b36.jpg","text":"TemporaryFile(/tmp/multipartBody682097727219860269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ccb161b8753033eb80b5320130fcea2.jpg","text":"TemporaryFile(/tmp/multipartBody3729563023592408642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286082838,"filename":"image_01112025_19_05_31_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479900","file1":"1398479897","file0":"1398479893","file4":"1398479906","file5":"1398479909","file3":"1398479903"},"map_files_photo_id_array":[{"photo_id":"1398479909","filename":"file5"},{"photo_id":"1398479900","filename":"file2"},{"photo_id":"1398479906","filename":"file4"},{"photo_id":"1398479897","filename":"file1"},{"photo_id":"1398479893","filename":"file0"},{"photo_id":"1398479903","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398479897":["hashtag1","hashtag2"]},{"1398479906":["hashtag1","hashtag2"]},{"1398479909":["hashtag1","hashtag2"]},{"1398479900":["hashtag1","hashtag2"]},{"1398479903":["hashtag1","hashtag2"]},{"1398479893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398479897, 1398479906, 1398479909, 1398479900, 1398479903, 1398479893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33754920959473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:14:22.179592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/18/image_09122025_01_19_04_9578.jpg', '/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_14_10645.jpg', '/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_44_9636.jpg', '/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_54_10765.jpg', '/home/pi/Desktop/images/09122025/01/19/image_09122025_01_20_04_9735.jpg', '/home/pi/Desktop/images/09122025/01/20/image_09122025_01_20_14_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/18/image_09122025_01_19_04_9578.jpg
/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_14_10645.jpg
/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_44_9636.jpg
/home/pi/Desktop/images/09122025/01/19/image_09122025_01_19_54_10765.jpg
/home/pi/Desktop/images/09122025/01/19/image_09122025_01_20_04_9735.jpg
/home/pi/Desktop/images/09122025/01/20/image_09122025_01_20_14_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479926","1398479931","1398479937","1398479916","1398479918","1398479921"],"photo_ids_order":["1398479916","1398479918","1398479921","1398479926","1398479931","1398479937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bdff5bc864358513cc2a8bc48d039e6.jpg","text":"TemporaryFile(/tmp/multipartBody3637678396385463459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_19_54_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/822fdccb8b3a2cd2b7288f9aed24f2e8.jpg","text":"TemporaryFile(/tmp/multipartBody248464572848209659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_20_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d13f3910b2d9d5e8d2d1c201376791a6.jpg","text":"TemporaryFile(/tmp/multipartBody5647434537843418221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_20_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b186fff16f91d6ee60b94fc1ec92525.jpg","text":"TemporaryFile(/tmp/multipartBody4240837723215065405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_19_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0732bdecdcddb7eb9717eb168ceeba2.jpg","text":"TemporaryFile(/tmp/multipartBody6788100721664702266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_19_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b39101662028ff82e6f4174a68a81fab.jpg","text":"TemporaryFile(/tmp/multipartBody503668289840041083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286122788,"filename":"image_09122025_01_19_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479921","file1":"1398479918","file0":"1398479916","file4":"1398479931","file5":"1398479937","file3":"1398479926"},"map_files_photo_id_array":[{"photo_id":"1398479937","filename":"file5"},{"photo_id":"1398479921","filename":"file2"},{"photo_id":"1398479931","filename":"file4"},{"photo_id":"1398479918","filename":"file1"},{"photo_id":"1398479916","filename":"file0"},{"photo_id":"1398479926","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479926":["hashtag1","hashtag2"]},{"1398479931":["hashtag1","hashtag2"]},{"1398479937":["hashtag1","hashtag2"]},{"1398479916":["hashtag1","hashtag2"]},{"1398479918":["hashtag1","hashtag2"]},{"1398479921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479926, 1398479931, 1398479937, 1398479916, 1398479918, 1398479921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.942325830459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:15:03.029913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/20/image_09122025_01_20_34_9731.jpg', '/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_34_10014.jpg', '/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_44_10604.jpg', '/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_54_9594.jpg', '/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_14_9759.jpg', '/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_34_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/20/image_09122025_01_20_34_9731.jpg
/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_34_10014.jpg
/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_44_10604.jpg
/home/pi/Desktop/images/09122025/01/21/image_09122025_01_21_54_9594.jpg
/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_14_9759.jpg
/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_34_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398479947","1398479950","1398479952","1398479954","1398479957","1398479948"],"photo_ids_order":["1398479947","1398479948","1398479950","1398479952","1398479954","1398479957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5bb2c07db2a2ff1431ac0a8683a38c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1288683796889139521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_20_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e02fec3fff7322abe42d1af6a9fee347.jpg","text":"TemporaryFile(/tmp/multipartBody6680203987492623808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_21_44_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85ce69c65f948cc0a54247adcccaa681.jpg","text":"TemporaryFile(/tmp/multipartBody1773931079906401778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_21_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02758f7516c4dfb259c6df094d1f7733.jpg","text":"TemporaryFile(/tmp/multipartBody5363740483538042988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_22_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0541ada2774d775dadccdb58a79002c6.jpg","text":"TemporaryFile(/tmp/multipartBody7694097281878713635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_22_34_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57d6badae4e2491bd572aff930561b87.jpg","text":"TemporaryFile(/tmp/multipartBody505219995979859503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286163747,"filename":"image_09122025_01_21_34_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479950","file1":"1398479948","file0":"1398479947","file4":"1398479954","file5":"1398479957","file3":"1398479952"},"map_files_photo_id_array":[{"photo_id":"1398479957","filename":"file5"},{"photo_id":"1398479950","filename":"file2"},{"photo_id":"1398479954","filename":"file4"},{"photo_id":"1398479948","filename":"file1"},{"photo_id":"1398479947","filename":"file0"},{"photo_id":"1398479952","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398479947":["hashtag1","hashtag2"]},{"1398479950":["hashtag1","hashtag2"]},{"1398479952":["hashtag1","hashtag2"]},{"1398479954":["hashtag1","hashtag2"]},{"1398479957":["hashtag1","hashtag2"]},{"1398479948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398479947, 1398479950, 1398479952, 1398479954, 1398479957, 1398479948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.910213470458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:15:42.365335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_50_1991.jpg', '/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_58_2653.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_01_2723.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_09_8124.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_11_1781.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_18_7126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_50_1991.jpg
/home/pi/Desktop/images/01112025/19/05/image_01112025_19_05_58_2653.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_01_2723.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_09_8124.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_11_1781.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_18_7126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480014","1398479967","1398480012","1398479998","1398479986","1398479971"],"photo_ids_order":["1398479967","1398479971","1398479986","1398479998","1398480012","1398480014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faf6b0fa40acd895d131ec8fc4f4dd32.jpg","text":"TemporaryFile(/tmp/multipartBody3967636394913623658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_06_18_7126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/302c7146ffd4edbfe48786815591f829.jpg","text":"TemporaryFile(/tmp/multipartBody8392649087886658987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_05_50_1991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb539c4f56d69145e0aa65baaaab2c57.jpg","text":"TemporaryFile(/tmp/multipartBody7998915025077345740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_06_11_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9938efff2474731aa3264aa53443c538.jpg","text":"TemporaryFile(/tmp/multipartBody2504872279299718160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_06_09_8124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/048610da8b11ccf4af6b80c14221085c.jpg","text":"TemporaryFile(/tmp/multipartBody4107834084771095813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_06_01_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bbb7ad4ae99416a5e6a434e547a3943.jpg","text":"TemporaryFile(/tmp/multipartBody1667796066801236034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286203343,"filename":"image_01112025_19_05_58_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398479986","file1":"1398479971","file0":"1398479967","file4":"1398480012","file5":"1398480014","file3":"1398479998"},"map_files_photo_id_array":[{"photo_id":"1398480014","filename":"file5"},{"photo_id":"1398479986","filename":"file2"},{"photo_id":"1398480012","filename":"file4"},{"photo_id":"1398479971","filename":"file1"},{"photo_id":"1398479967","filename":"file0"},{"photo_id":"1398479998","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480014":["hashtag1","hashtag2"]},{"1398479967":["hashtag1","hashtag2"]},{"1398480012":["hashtag1","hashtag2"]},{"1398479998":["hashtag1","hashtag2"]},{"1398479986":["hashtag1","hashtag2"]},{"1398479971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480014, 1398479967, 1398480012, 1398479998, 1398479986, 1398479971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.787599086761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:16:22.603390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_44_9702.jpg', '/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_54_9677.jpg', '/home/pi/Desktop/images/09122025/01/22/image_09122025_01_23_04_10599.jpg', '/home/pi/Desktop/images/09122025/01/23/image_09122025_01_23_14_9799.jpg', '/home/pi/Desktop/images/09122025/01/23/image_09122025_01_23_34_10672.jpg', '/home/pi/Desktop/images/09122025/01/24/image_09122025_01_24_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_44_9702.jpg
/home/pi/Desktop/images/09122025/01/22/image_09122025_01_22_54_9677.jpg
/home/pi/Desktop/images/09122025/01/22/image_09122025_01_23_04_10599.jpg
/home/pi/Desktop/images/09122025/01/23/image_09122025_01_23_14_9799.jpg
/home/pi/Desktop/images/09122025/01/23/image_09122025_01_23_34_10672.jpg
/home/pi/Desktop/images/09122025/01/24/image_09122025_01_24_24_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480032","1398480026","1398480022","1398480028","1398480042","1398480036"],"photo_ids_order":["1398480022","1398480026","1398480028","1398480032","1398480036","1398480042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5469f709e6ae1e08c4e6fac725e7f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8061046074375440420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_23_14_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49072af4a841b1036069356f5c5fc3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7098464131067828974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_22_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b943ab207ec15edeb4edfb247244b957.jpg","text":"TemporaryFile(/tmp/multipartBody2585030226105090582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_22_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fed4cf0855055b315dd0f6df40b342a.jpg","text":"TemporaryFile(/tmp/multipartBody7187006325745902386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_23_04_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed8d636587f65153a4921150af0c388f.jpg","text":"TemporaryFile(/tmp/multipartBody3590280403344547097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_24_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/817a3c33bb8f867ed6fd18753bab4585.jpg","text":"TemporaryFile(/tmp/multipartBody7465222855637342460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286243211,"filename":"image_09122025_01_23_34_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480028","file1":"1398480026","file0":"1398480022","file4":"1398480036","file5":"1398480042","file3":"1398480032"},"map_files_photo_id_array":[{"photo_id":"1398480042","filename":"file5"},{"photo_id":"1398480028","filename":"file2"},{"photo_id":"1398480036","filename":"file4"},{"photo_id":"1398480026","filename":"file1"},{"photo_id":"1398480022","filename":"file0"},{"photo_id":"1398480032","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480032":["hashtag1","hashtag2"]},{"1398480026":["hashtag1","hashtag2"]},{"1398480022":["hashtag1","hashtag2"]},{"1398480028":["hashtag1","hashtag2"]},{"1398480042":["hashtag1","hashtag2"]},{"1398480036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480032, 1398480026, 1398480022, 1398480028, 1398480042, 1398480036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.721590518951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:17:02.443729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/24/image_09122025_01_24_34_9988.jpg', '/home/pi/Desktop/images/09122025/01/24/image_09122025_01_25_04_9967.jpg', '/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_24_10622.jpg', '/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_34_9603.jpg', '/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_44_9666.jpg', '/home/pi/Desktop/images/09122025/01/26/image_09122025_01_26_34_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/24/image_09122025_01_24_34_9988.jpg
/home/pi/Desktop/images/09122025/01/24/image_09122025_01_25_04_9967.jpg
/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_24_10622.jpg
/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_34_9603.jpg
/home/pi/Desktop/images/09122025/01/25/image_09122025_01_25_44_9666.jpg
/home/pi/Desktop/images/09122025/01/26/image_09122025_01_26_34_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480053","1398480047","1398480063","1398480056","1398480059","1398480050"],"photo_ids_order":["1398480047","1398480050","1398480053","1398480056","1398480059","1398480063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26003b83e1daf432f0cbc30e8f3bb4d0.jpg","text":"TemporaryFile(/tmp/multipartBody9175912580491039387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_25_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8da9727aa9ff8fc3991e9f404f646b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5745823125085179260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_24_34_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/852423619621c61e91604619a3f94a35.jpg","text":"TemporaryFile(/tmp/multipartBody5135837386726334851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_26_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21d24c592de66025e0fcc367eb339cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1990767292670598161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_25_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/05d140cc85bb14d9284db1108adc4207.jpg","text":"TemporaryFile(/tmp/multipartBody5407801208468000319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_25_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7662aa5a6707626785bd0889f1d3522.jpg","text":"TemporaryFile(/tmp/multipartBody2212274901293132720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286283111,"filename":"image_09122025_01_25_04_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480053","file1":"1398480050","file0":"1398480047","file4":"1398480059","file5":"1398480063","file3":"1398480056"},"map_files_photo_id_array":[{"photo_id":"1398480063","filename":"file5"},{"photo_id":"1398480053","filename":"file2"},{"photo_id":"1398480059","filename":"file4"},{"photo_id":"1398480050","filename":"file1"},{"photo_id":"1398480047","filename":"file0"},{"photo_id":"1398480056","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480053":["hashtag1","hashtag2"]},{"1398480047":["hashtag1","hashtag2"]},{"1398480063":["hashtag1","hashtag2"]},{"1398480056":["hashtag1","hashtag2"]},{"1398480059":["hashtag1","hashtag2"]},{"1398480050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480053, 1398480047, 1398480063, 1398480056, 1398480059, 1398480050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.278289794921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:17:41.860297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_30_11443.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_41_11651.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_44_3155.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_46_1693.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_48_1653.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_49_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_30_11443.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_41_11651.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_44_3155.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_46_1693.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_48_1653.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_49_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480097","1398480093","1398480081","1398480075","1398480087","1398480095"],"photo_ids_order":["1398480075","1398480081","1398480087","1398480093","1398480095","1398480097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3aa17fcb8f6a7afea79e6de42acef69.jpg","text":"TemporaryFile(/tmp/multipartBody1285415513745283418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_49_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f979e7e2d10c4bc67152565d5ff24624.jpg","text":"TemporaryFile(/tmp/multipartBody7888715641258892086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_46_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca61e095b4919a8d9139745e39aa52df.jpg","text":"TemporaryFile(/tmp/multipartBody2204127616409847926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_41_11651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4980f0c030731c80182b5a7ab1041048.jpg","text":"TemporaryFile(/tmp/multipartBody6212031172339608246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_30_11443.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f51b5a4b6127cb9816f1503bd5c84481.jpg","text":"TemporaryFile(/tmp/multipartBody2062810968859849756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_44_3155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c9c93ae7f6b6d89688fc4237f1036bc.jpg","text":"TemporaryFile(/tmp/multipartBody6314543057387014644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286322863,"filename":"image_01112025_19_06_48_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480087","file1":"1398480081","file0":"1398480075","file4":"1398480095","file5":"1398480097","file3":"1398480093"},"map_files_photo_id_array":[{"photo_id":"1398480097","filename":"file5"},{"photo_id":"1398480087","filename":"file2"},{"photo_id":"1398480095","filename":"file4"},{"photo_id":"1398480081","filename":"file1"},{"photo_id":"1398480075","filename":"file0"},{"photo_id":"1398480093","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480097":["hashtag1","hashtag2"]},{"1398480093":["hashtag1","hashtag2"]},{"1398480081":["hashtag1","hashtag2"]},{"1398480075":["hashtag1","hashtag2"]},{"1398480087":["hashtag1","hashtag2"]},{"1398480095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480097, 1398480093, 1398480081, 1398480075, 1398480087, 1398480095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89529371261597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:18:22.114676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/26/image_09122025_01_27_04_10558.jpg', '/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_14_10426.jpg', '/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_24_9643.jpg', '/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_54_10692.jpg', '/home/pi/Desktop/images/09122025/01/27/image_09122025_01_28_04_9616.jpg', '/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_14_10511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/26/image_09122025_01_27_04_10558.jpg
/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_14_10426.jpg
/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_24_9643.jpg
/home/pi/Desktop/images/09122025/01/27/image_09122025_01_27_54_10692.jpg
/home/pi/Desktop/images/09122025/01/27/image_09122025_01_28_04_9616.jpg
/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_14_10511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480107","1398480139","1398480261","1398480222","1398480102","1398480182"],"photo_ids_order":["1398480102","1398480107","1398480139","1398480182","1398480222","1398480261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a704e9bf4f8cfecfc6000ac7c5e7fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8901211204145229412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_27_14_10426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88416ac772036d086ec390beb55cb3d0.jpg","text":"TemporaryFile(/tmp/multipartBody2556531656547572187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_27_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2613458cb6b2b7a02bcd01348ddc0714.jpg","text":"TemporaryFile(/tmp/multipartBody7718501627190700332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_28_14_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4418d201c4c6a8513c2e6539512b6f34.jpg","text":"TemporaryFile(/tmp/multipartBody6329460570307212877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_28_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e071f86900914b06db936911c8cb491.jpg","text":"TemporaryFile(/tmp/multipartBody6271840397942018833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_27_04_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96300b75f7c54d67a6a4e5964dd07f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1878491541691246837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286362721,"filename":"image_09122025_01_27_54_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480139","file1":"1398480107","file0":"1398480102","file4":"1398480222","file5":"1398480261","file3":"1398480182"},"map_files_photo_id_array":[{"photo_id":"1398480261","filename":"file5"},{"photo_id":"1398480139","filename":"file2"},{"photo_id":"1398480222","filename":"file4"},{"photo_id":"1398480107","filename":"file1"},{"photo_id":"1398480102","filename":"file0"},{"photo_id":"1398480182","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480107":["hashtag1","hashtag2"]},{"1398480139":["hashtag1","hashtag2"]},{"1398480261":["hashtag1","hashtag2"]},{"1398480222":["hashtag1","hashtag2"]},{"1398480102":["hashtag1","hashtag2"]},{"1398480182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480107, 1398480139, 1398480261, 1398480222, 1398480102, 1398480182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15713095664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:19:03.087176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_24_9595.jpg', '/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_34_10536.jpg', '/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_54_9719.jpg', '/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_24_9695.jpg', '/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_34_10555.jpg', '/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_24_9595.jpg
/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_34_10536.jpg
/home/pi/Desktop/images/09122025/01/28/image_09122025_01_28_54_9719.jpg
/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_24_9695.jpg
/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_34_10555.jpg
/home/pi/Desktop/images/09122025/01/29/image_09122025_01_29_54_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480499","1398480552","1398480540","1398480459","1398480420","1398480554"],"photo_ids_order":["1398480420","1398480459","1398480499","1398480540","1398480552","1398480554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c826347e1c18dbe06439e5b5088810ae.jpg","text":"TemporaryFile(/tmp/multipartBody3897211952497449038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_28_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dacc30d92d02713c13a6aa47b61c1aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4860590616667051618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_29_34_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2f48fcb93093a86736d260ddb0bac7c8.jpg","text":"TemporaryFile(/tmp/multipartBody907392298246285208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_29_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed84c0ec480b23e09c7c2b7b5b4c0435.jpg","text":"TemporaryFile(/tmp/multipartBody880804820478847918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_28_34_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af58d9e9982dec1b9027befc3212514b.jpg","text":"TemporaryFile(/tmp/multipartBody9158448030845793212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_28_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe900c8ceab5a74f9265c6dcd893b5e7.jpg","text":"TemporaryFile(/tmp/multipartBody918202186256958565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286403916,"filename":"image_09122025_01_29_54_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480499","file1":"1398480459","file0":"1398480420","file4":"1398480552","file5":"1398480554","file3":"1398480540"},"map_files_photo_id_array":[{"photo_id":"1398480554","filename":"file5"},{"photo_id":"1398480499","filename":"file2"},{"photo_id":"1398480552","filename":"file4"},{"photo_id":"1398480459","filename":"file1"},{"photo_id":"1398480420","filename":"file0"},{"photo_id":"1398480540","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480499":["hashtag1","hashtag2"]},{"1398480552":["hashtag1","hashtag2"]},{"1398480540":["hashtag1","hashtag2"]},{"1398480459":["hashtag1","hashtag2"]},{"1398480420":["hashtag1","hashtag2"]},{"1398480554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480499, 1398480552, 1398480540, 1398480459, 1398480420, 1398480554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8423957824707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:19:42.326959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_56_1701.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_58_1621.jpg', '/home/pi/Desktop/images/01112025/19/06/image_01112025_19_07_00_1576.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_01_1657.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_03_1699.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_08_5289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_56_1701.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_06_58_1621.jpg
/home/pi/Desktop/images/01112025/19/06/image_01112025_19_07_00_1576.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_01_1657.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_03_1699.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_08_5289.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480635","1398480715","1398480690","1398480645","1398480692","1398480650"],"photo_ids_order":["1398480635","1398480645","1398480650","1398480690","1398480692","1398480715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa94ee61fefce8ff1d50ec379d1d6c84.jpg","text":"TemporaryFile(/tmp/multipartBody2630773313982259493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_06_56_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55596b96797fe36158d7affb916d3f07.jpg","text":"TemporaryFile(/tmp/multipartBody3792811690665644864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_07_08_5289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30d10bf88b63f9a1e168e1fed733032c.jpg","text":"TemporaryFile(/tmp/multipartBody1516452709972084657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_07_01_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0dceaaee48a6ecb0968deaf348af3272.jpg","text":"TemporaryFile(/tmp/multipartBody7823016539603940118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_06_58_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c5d05ca7804b34d9a42c670a4744232.jpg","text":"TemporaryFile(/tmp/multipartBody141521764212694901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_07_03_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b96de6311660904df299cefb41969ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6348401884125318486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286443374,"filename":"image_01112025_19_07_00_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480650","file1":"1398480645","file0":"1398480635","file4":"1398480692","file5":"1398480715","file3":"1398480690"},"map_files_photo_id_array":[{"photo_id":"1398480715","filename":"file5"},{"photo_id":"1398480650","filename":"file2"},{"photo_id":"1398480692","filename":"file4"},{"photo_id":"1398480645","filename":"file1"},{"photo_id":"1398480635","filename":"file0"},{"photo_id":"1398480690","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480635":["hashtag1","hashtag2"]},{"1398480715":["hashtag1","hashtag2"]},{"1398480690":["hashtag1","hashtag2"]},{"1398480645":["hashtag1","hashtag2"]},{"1398480692":["hashtag1","hashtag2"]},{"1398480650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480635, 1398480715, 1398480690, 1398480645, 1398480692, 1398480650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19391918182373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:20:22.528623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/29/image_09122025_01_30_04_10765.jpg', '/home/pi/Desktop/images/09122025/01/30/image_09122025_01_30_34_10717.jpg', '/home/pi/Desktop/images/09122025/01/30/image_09122025_01_30_54_9838.jpg', '/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_14_10711.jpg', '/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_24_9701.jpg', '/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/29/image_09122025_01_30_04_10765.jpg
/home/pi/Desktop/images/09122025/01/30/image_09122025_01_30_34_10717.jpg
/home/pi/Desktop/images/09122025/01/30/image_09122025_01_30_54_9838.jpg
/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_14_10711.jpg
/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_24_9701.jpg
/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480728","1398480722","1398480732","1398480735","1398480738","1398480725"],"photo_ids_order":["1398480722","1398480725","1398480728","1398480732","1398480735","1398480738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8cd9407d7ebf30f03b6149262d141176.jpg","text":"TemporaryFile(/tmp/multipartBody7702725157311538718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_30_54_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ea46fe586a66b4b16bd678116be0600.jpg","text":"TemporaryFile(/tmp/multipartBody7317458456654413833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_30_04_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/261c6dc9d80d3370328f144a126f799b.jpg","text":"TemporaryFile(/tmp/multipartBody4687442163677504288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_31_14_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd23a35883d3f974d6fe7bb6447e6bde.jpg","text":"TemporaryFile(/tmp/multipartBody6316640232748375277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_31_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ca41cc68725d67075d55696b876fcee.jpg","text":"TemporaryFile(/tmp/multipartBody8389347932872054520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_31_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae9c0dad7e55f0fb32fc9a1f6ff50385.jpg","text":"TemporaryFile(/tmp/multipartBody513029099420305048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286483143,"filename":"image_09122025_01_30_34_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480728","file1":"1398480725","file0":"1398480722","file4":"1398480735","file5":"1398480738","file3":"1398480732"},"map_files_photo_id_array":[{"photo_id":"1398480738","filename":"file5"},{"photo_id":"1398480728","filename":"file2"},{"photo_id":"1398480735","filename":"file4"},{"photo_id":"1398480725","filename":"file1"},{"photo_id":"1398480722","filename":"file0"},{"photo_id":"1398480732","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480728":["hashtag1","hashtag2"]},{"1398480722":["hashtag1","hashtag2"]},{"1398480732":["hashtag1","hashtag2"]},{"1398480735":["hashtag1","hashtag2"]},{"1398480738":["hashtag1","hashtag2"]},{"1398480725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480728, 1398480722, 1398480732, 1398480735, 1398480738, 1398480725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65232014656067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:21:03.314865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_44_10698.jpg', '/home/pi/Desktop/images/09122025/01/31/image_09122025_01_32_04_9689.jpg', '/home/pi/Desktop/images/09122025/01/32/image_09122025_01_32_14_9818.jpg', '/home/pi/Desktop/images/09122025/01/32/image_09122025_01_32_24_10641.jpg', '/home/pi/Desktop/images/09122025/01/32/image_09122025_01_33_04_9836.jpg', '/home/pi/Desktop/images/09122025/01/34/image_09122025_01_34_54_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/31/image_09122025_01_31_44_10698.jpg
/home/pi/Desktop/images/09122025/01/31/image_09122025_01_32_04_9689.jpg
/home/pi/Desktop/images/09122025/01/32/image_09122025_01_32_14_9818.jpg
/home/pi/Desktop/images/09122025/01/32/image_09122025_01_32_24_10641.jpg
/home/pi/Desktop/images/09122025/01/32/image_09122025_01_33_04_9836.jpg
/home/pi/Desktop/images/09122025/01/34/image_09122025_01_34_54_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480749","1398480763","1398480757","1398480759","1398480753","1398480761"],"photo_ids_order":["1398480749","1398480753","1398480757","1398480759","1398480761","1398480763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/842b500f679c6ebead4737947bf4e96a.jpg","text":"TemporaryFile(/tmp/multipartBody2482432020586920658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_31_44_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcabdc4ad2ee408aeb1dd503817d96fb.jpg","text":"TemporaryFile(/tmp/multipartBody5560231697789788122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_34_54_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b3871baa311dc8ab7a56da3a9e76972.jpg","text":"TemporaryFile(/tmp/multipartBody8091515760933704741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_32_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2442ec9acd9030bc93bc016e0a6f416e.jpg","text":"TemporaryFile(/tmp/multipartBody662697697974555315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_32_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acc2fe5073cb71d5023b83b051814090.jpg","text":"TemporaryFile(/tmp/multipartBody1915081022777413023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_32_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e4494c2df5bf08a2cc74ad6d3ffae2f.jpg","text":"TemporaryFile(/tmp/multipartBody989950859638060603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286523995,"filename":"image_09122025_01_33_04_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480757","file1":"1398480753","file0":"1398480749","file4":"1398480761","file5":"1398480763","file3":"1398480759"},"map_files_photo_id_array":[{"photo_id":"1398480763","filename":"file5"},{"photo_id":"1398480757","filename":"file2"},{"photo_id":"1398480761","filename":"file4"},{"photo_id":"1398480753","filename":"file1"},{"photo_id":"1398480749","filename":"file0"},{"photo_id":"1398480759","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480749":["hashtag1","hashtag2"]},{"1398480763":["hashtag1","hashtag2"]},{"1398480757":["hashtag1","hashtag2"]},{"1398480759":["hashtag1","hashtag2"]},{"1398480753":["hashtag1","hashtag2"]},{"1398480761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480749, 1398480763, 1398480757, 1398480759, 1398480753, 1398480761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88319945335388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:21:42.599691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_11_1593.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_44_32230.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_47_1507.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_48_1583.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_50_1656.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_52_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_11_1593.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_44_32230.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_47_1507.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_48_1583.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_50_1656.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_52_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480784","1398480778","1398480781","1398480786","1398480788","1398480773"],"photo_ids_order":["1398480773","1398480778","1398480781","1398480784","1398480786","1398480788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0b1770e3f2056671ae7b13ecbbe3cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6500159292016544846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_48_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b0f637e88a3dac2c647b006e7318f84.jpg","text":"TemporaryFile(/tmp/multipartBody3472062266888418662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_44_32230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/433dbd4b43959e6a19e07d68f5b9f47a.jpg","text":"TemporaryFile(/tmp/multipartBody361367836366474293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_47_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b578fb93b83ba4f3e5086146bf76a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody803954226463082525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_50_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a30b8e4375474e9d9d072246fd45c867.jpg","text":"TemporaryFile(/tmp/multipartBody3023697012448265056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_52_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e87931aa55848cf68e31459f09b60b35.jpg","text":"TemporaryFile(/tmp/multipartBody3606254016382893932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286563634,"filename":"image_01112025_19_07_11_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480781","file1":"1398480778","file0":"1398480773","file4":"1398480786","file5":"1398480788","file3":"1398480784"},"map_files_photo_id_array":[{"photo_id":"1398480788","filename":"file5"},{"photo_id":"1398480781","filename":"file2"},{"photo_id":"1398480786","filename":"file4"},{"photo_id":"1398480778","filename":"file1"},{"photo_id":"1398480773","filename":"file0"},{"photo_id":"1398480784","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480784":["hashtag1","hashtag2"]},{"1398480778":["hashtag1","hashtag2"]},{"1398480781":["hashtag1","hashtag2"]},{"1398480786":["hashtag1","hashtag2"]},{"1398480788":["hashtag1","hashtag2"]},{"1398480773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480784, 1398480778, 1398480781, 1398480786, 1398480788, 1398480773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.554189682006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:22:22.831677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/34/image_09122025_01_35_04_9660.jpg', '/home/pi/Desktop/images/09122025/01/35/image_09122025_01_35_34_10544.jpg', '/home/pi/Desktop/images/09122025/01/35/image_09122025_01_35_44_9680.jpg', '/home/pi/Desktop/images/09122025/01/35/image_09122025_01_36_04_10711.jpg', '/home/pi/Desktop/images/09122025/01/36/image_09122025_01_36_24_9579.jpg', '/home/pi/Desktop/images/09122025/01/36/image_09122025_01_37_04_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/34/image_09122025_01_35_04_9660.jpg
/home/pi/Desktop/images/09122025/01/35/image_09122025_01_35_34_10544.jpg
/home/pi/Desktop/images/09122025/01/35/image_09122025_01_35_44_9680.jpg
/home/pi/Desktop/images/09122025/01/35/image_09122025_01_36_04_10711.jpg
/home/pi/Desktop/images/09122025/01/36/image_09122025_01_36_24_9579.jpg
/home/pi/Desktop/images/09122025/01/36/image_09122025_01_37_04_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480802","1398480811","1398480805","1398480808","1398480798","1398480816"],"photo_ids_order":["1398480798","1398480802","1398480805","1398480808","1398480811","1398480816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c27bf6287a61f6b16d65f0a6096e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody3151247638538951702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_35_34_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ba45c30672895938f284be60cd594b6.jpg","text":"TemporaryFile(/tmp/multipartBody6029435990396791751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_36_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/665c8d911dafc295867357543364ce92.jpg","text":"TemporaryFile(/tmp/multipartBody4881531739581145142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_35_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6b189869c80e58368c56168a478e744.jpg","text":"TemporaryFile(/tmp/multipartBody4071891145487290665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_36_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7023cbb916406a7855a25608805667a4.jpg","text":"TemporaryFile(/tmp/multipartBody7464569475217299662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_35_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9599bda46ff89cd6418649f357541109.jpg","text":"TemporaryFile(/tmp/multipartBody7295528720255733968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286603474,"filename":"image_09122025_01_37_04_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480805","file1":"1398480802","file0":"1398480798","file4":"1398480811","file5":"1398480816","file3":"1398480808"},"map_files_photo_id_array":[{"photo_id":"1398480816","filename":"file5"},{"photo_id":"1398480805","filename":"file2"},{"photo_id":"1398480811","filename":"file4"},{"photo_id":"1398480802","filename":"file1"},{"photo_id":"1398480798","filename":"file0"},{"photo_id":"1398480808","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480802":["hashtag1","hashtag2"]},{"1398480811":["hashtag1","hashtag2"]},{"1398480805":["hashtag1","hashtag2"]},{"1398480808":["hashtag1","hashtag2"]},{"1398480798":["hashtag1","hashtag2"]},{"1398480816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480802, 1398480811, 1398480805, 1398480808, 1398480798, 1398480816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22310829162598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:23:02.585871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/38/image_09122025_01_38_44_9674.jpg', '/home/pi/Desktop/images/09122025/01/38/image_09122025_01_39_04_10592.jpg', '/home/pi/Desktop/images/09122025/01/39/image_09122025_01_39_14_9634.jpg', '/home/pi/Desktop/images/09122025/01/39/image_09122025_01_39_54_10652.jpg', '/home/pi/Desktop/images/09122025/01/39/image_09122025_01_40_04_9733.jpg', '/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/38/image_09122025_01_38_44_9674.jpg
/home/pi/Desktop/images/09122025/01/38/image_09122025_01_39_04_10592.jpg
/home/pi/Desktop/images/09122025/01/39/image_09122025_01_39_14_9634.jpg
/home/pi/Desktop/images/09122025/01/39/image_09122025_01_39_54_10652.jpg
/home/pi/Desktop/images/09122025/01/39/image_09122025_01_40_04_9733.jpg
/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_14_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480833","1398480823","1398480826","1398480828","1398480837","1398480830"],"photo_ids_order":["1398480823","1398480826","1398480828","1398480830","1398480833","1398480837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1201bbedaf6fede9e3cbe56218fb856d.jpg","text":"TemporaryFile(/tmp/multipartBody2851347660878947130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_40_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08800bfd9b6b11632a532ed744ce0ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7193785979180766174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_38_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96b7e27cc226c85395277033051fce70.jpg","text":"TemporaryFile(/tmp/multipartBody2113990882230180194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_39_04_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a86cf4d3d49765154334c21886d4c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3173987045834025268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_39_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a0e75ea24c0f06fd9cb020e6d530cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5448527613109009854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_40_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da4600d734517468aa8252c6244fefc0.jpg","text":"TemporaryFile(/tmp/multipartBody1800176164023830399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286643294,"filename":"image_09122025_01_39_54_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480828","file1":"1398480826","file0":"1398480823","file4":"1398480833","file5":"1398480837","file3":"1398480830"},"map_files_photo_id_array":[{"photo_id":"1398480837","filename":"file5"},{"photo_id":"1398480828","filename":"file2"},{"photo_id":"1398480833","filename":"file4"},{"photo_id":"1398480826","filename":"file1"},{"photo_id":"1398480823","filename":"file0"},{"photo_id":"1398480830","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480833":["hashtag1","hashtag2"]},{"1398480823":["hashtag1","hashtag2"]},{"1398480826":["hashtag1","hashtag2"]},{"1398480828":["hashtag1","hashtag2"]},{"1398480837":["hashtag1","hashtag2"]},{"1398480830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480833, 1398480823, 1398480826, 1398480828, 1398480837, 1398480830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98533225059509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:23:41.968278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_55_1991.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_57_1608.jpg', '/home/pi/Desktop/images/01112025/19/07/image_01112025_19_08_00_1506.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_02_1629.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_07_1644.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_09_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_55_1991.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_07_57_1608.jpg
/home/pi/Desktop/images/01112025/19/07/image_01112025_19_08_00_1506.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_02_1629.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_07_1644.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_09_1683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480848","1398480859","1398480846","1398480855","1398480863","1398480851"],"photo_ids_order":["1398480846","1398480848","1398480851","1398480855","1398480859","1398480863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a1b9ed195cd6d627c3bc46d61131f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2925311009587534301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_07_57_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/952975497e4e62c2774c49cea171b375.jpg","text":"TemporaryFile(/tmp/multipartBody2123990860444571274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_08_07_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3daf633273d877d429510ddacde2fe9f.jpg","text":"TemporaryFile(/tmp/multipartBody5231095489624113705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_07_55_1991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0503368dd2e6207cd927f93da1d3bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody6738310204169903775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_08_02_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8aaaa8abefeafecb6dfc7fff0b2c9399.jpg","text":"TemporaryFile(/tmp/multipartBody1965206459390872388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_08_09_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06ac7328772673ec09a8f2016ec42e56.jpg","text":"TemporaryFile(/tmp/multipartBody697467279588607157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286682965,"filename":"image_01112025_19_08_00_1506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480851","file1":"1398480848","file0":"1398480846","file4":"1398480859","file5":"1398480863","file3":"1398480855"},"map_files_photo_id_array":[{"photo_id":"1398480863","filename":"file5"},{"photo_id":"1398480851","filename":"file2"},{"photo_id":"1398480859","filename":"file4"},{"photo_id":"1398480848","filename":"file1"},{"photo_id":"1398480846","filename":"file0"},{"photo_id":"1398480855","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480848":["hashtag1","hashtag2"]},{"1398480859":["hashtag1","hashtag2"]},{"1398480846":["hashtag1","hashtag2"]},{"1398480855":["hashtag1","hashtag2"]},{"1398480863":["hashtag1","hashtag2"]},{"1398480851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480848, 1398480859, 1398480846, 1398480855, 1398480863, 1398480851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.641778230667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:24:22.375921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_24_10617.jpg', '/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_44_9594.jpg', '/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_54_9764.jpg', '/home/pi/Desktop/images/09122025/01/41/image_09122025_01_42_04_9653.jpg', '/home/pi/Desktop/images/09122025/01/42/image_09122025_01_42_14_9793.jpg', '/home/pi/Desktop/images/09122025/01/42/image_09122025_01_42_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_24_10617.jpg
/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_44_9594.jpg
/home/pi/Desktop/images/09122025/01/40/image_09122025_01_40_54_9764.jpg
/home/pi/Desktop/images/09122025/01/41/image_09122025_01_42_04_9653.jpg
/home/pi/Desktop/images/09122025/01/42/image_09122025_01_42_14_9793.jpg
/home/pi/Desktop/images/09122025/01/42/image_09122025_01_42_24_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480883","1398480892","1398480871","1398480874","1398480888","1398480879"],"photo_ids_order":["1398480871","1398480874","1398480879","1398480883","1398480888","1398480892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f95a3941a8ae055962339b14ab95ace3.jpg","text":"TemporaryFile(/tmp/multipartBody5660866173329882498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_42_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/155a5f1986e1e21ccd2309a20d71fafe.jpg","text":"TemporaryFile(/tmp/multipartBody4185000521376904151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_42_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5259b2b195eb81f0713d08e97030bc09.jpg","text":"TemporaryFile(/tmp/multipartBody8740715034443207339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_40_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f196751017bc51e2afd23f3f63d84f63.jpg","text":"TemporaryFile(/tmp/multipartBody8026343791669194526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_40_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99049887e6da7054a47f541eb9fb787b.jpg","text":"TemporaryFile(/tmp/multipartBody8409649572858782264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_42_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8498d727ded6211d267a60516b89912.jpg","text":"TemporaryFile(/tmp/multipartBody2719740455001220949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286723003,"filename":"image_09122025_01_40_54_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480879","file1":"1398480874","file0":"1398480871","file4":"1398480888","file5":"1398480892","file3":"1398480883"},"map_files_photo_id_array":[{"photo_id":"1398480892","filename":"file5"},{"photo_id":"1398480879","filename":"file2"},{"photo_id":"1398480888","filename":"file4"},{"photo_id":"1398480874","filename":"file1"},{"photo_id":"1398480871","filename":"file0"},{"photo_id":"1398480883","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480883":["hashtag1","hashtag2"]},{"1398480892":["hashtag1","hashtag2"]},{"1398480871":["hashtag1","hashtag2"]},{"1398480874":["hashtag1","hashtag2"]},{"1398480888":["hashtag1","hashtag2"]},{"1398480879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480883, 1398480892, 1398480871, 1398480874, 1398480888, 1398480879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76912522315979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:25:02.929736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/42/image_09122025_01_43_04_9614.jpg', '/home/pi/Desktop/images/09122025/01/43/image_09122025_01_43_44_10534.jpg', '/home/pi/Desktop/images/09122025/01/43/image_09122025_01_43_54_9713.jpg', '/home/pi/Desktop/images/09122025/01/44/image_09122025_01_44_14_10799.jpg', '/home/pi/Desktop/images/09122025/01/44/image_09122025_01_44_24_9673.jpg', '/home/pi/Desktop/images/09122025/01/45/image_09122025_01_45_44_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/42/image_09122025_01_43_04_9614.jpg
/home/pi/Desktop/images/09122025/01/43/image_09122025_01_43_44_10534.jpg
/home/pi/Desktop/images/09122025/01/43/image_09122025_01_43_54_9713.jpg
/home/pi/Desktop/images/09122025/01/44/image_09122025_01_44_14_10799.jpg
/home/pi/Desktop/images/09122025/01/44/image_09122025_01_44_24_9673.jpg
/home/pi/Desktop/images/09122025/01/45/image_09122025_01_45_44_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480913","1398480901","1398480910","1398480904","1398480907","1398480896"],"photo_ids_order":["1398480896","1398480901","1398480904","1398480907","1398480910","1398480913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16129572d9bec6f247d8c2f444a6a119.jpg","text":"TemporaryFile(/tmp/multipartBody3904390892435784553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_45_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8776e6cc63822b00f9cb8813b538de47.jpg","text":"TemporaryFile(/tmp/multipartBody4058847660407699069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_43_44_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f2d74d601c512058c3583b862e54e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6787128380629903959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_44_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/663b14ad53e9b5e4c0ca517f9fc7b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5188683199672661130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_43_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d7af5238b550c45fb7ebe40927b06e2.jpg","text":"TemporaryFile(/tmp/multipartBody7950092824053430737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_44_14_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fb44c378f6f442e382cafdcd0b2b3d7.jpg","text":"TemporaryFile(/tmp/multipartBody2282605590243082454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286763615,"filename":"image_09122025_01_43_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480904","file1":"1398480901","file0":"1398480896","file4":"1398480910","file5":"1398480913","file3":"1398480907"},"map_files_photo_id_array":[{"photo_id":"1398480913","filename":"file5"},{"photo_id":"1398480904","filename":"file2"},{"photo_id":"1398480910","filename":"file4"},{"photo_id":"1398480901","filename":"file1"},{"photo_id":"1398480896","filename":"file0"},{"photo_id":"1398480907","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480913":["hashtag1","hashtag2"]},{"1398480901":["hashtag1","hashtag2"]},{"1398480910":["hashtag1","hashtag2"]},{"1398480904":["hashtag1","hashtag2"]},{"1398480907":["hashtag1","hashtag2"]},{"1398480896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480913, 1398480901, 1398480910, 1398480904, 1398480907, 1398480896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08310341835022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:25:42.269815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_10_1597.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_12_1757.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_36_22051.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_41_4091.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_43_1610.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_45_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_10_1597.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_12_1757.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_36_22051.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_41_4091.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_43_1610.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_45_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480929","1398480931","1398480924","1398480927","1398480921","1398480918"],"photo_ids_order":["1398480918","1398480921","1398480924","1398480927","1398480929","1398480931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1dc60251a5c1d890dbbf4753a87870e.jpg","text":"TemporaryFile(/tmp/multipartBody2651958554351116686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_43_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22023b41aa1e44d8dcd3beaee13b1ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7281154199107796307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_45_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b04ef644309ffaa4d7a1bc5a73ebc300.jpg","text":"TemporaryFile(/tmp/multipartBody1775590237547542576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_36_22051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f81adcd9b4df3391ee6f3b8694bd839b.jpg","text":"TemporaryFile(/tmp/multipartBody6861675388619591093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_41_4091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b498c052bd606e5e903f2f6500bf5a84.jpg","text":"TemporaryFile(/tmp/multipartBody7568226369927147770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_12_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd55b827fec28b7225c03a5e80e7f787.jpg","text":"TemporaryFile(/tmp/multipartBody1066575386031407086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286803270,"filename":"image_01112025_19_08_10_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480924","file1":"1398480921","file0":"1398480918","file4":"1398480929","file5":"1398480931","file3":"1398480927"},"map_files_photo_id_array":[{"photo_id":"1398480931","filename":"file5"},{"photo_id":"1398480924","filename":"file2"},{"photo_id":"1398480929","filename":"file4"},{"photo_id":"1398480921","filename":"file1"},{"photo_id":"1398480918","filename":"file0"},{"photo_id":"1398480927","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398480929":["hashtag1","hashtag2"]},{"1398480931":["hashtag1","hashtag2"]},{"1398480924":["hashtag1","hashtag2"]},{"1398480927":["hashtag1","hashtag2"]},{"1398480921":["hashtag1","hashtag2"]},{"1398480918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398480929, 1398480931, 1398480924, 1398480927, 1398480921, 1398480918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.418529987335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:26:22.508752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/46/image_09122025_01_46_34_9676.jpg', '/home/pi/Desktop/images/09122025/01/46/image_09122025_01_47_04_9891.jpg', '/home/pi/Desktop/images/09122025/01/47/image_09122025_01_47_24_9654.jpg', '/home/pi/Desktop/images/09122025/01/47/image_09122025_01_47_54_9710.jpg', '/home/pi/Desktop/images/09122025/01/47/image_09122025_01_48_04_9553.jpg', '/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_14_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/46/image_09122025_01_46_34_9676.jpg
/home/pi/Desktop/images/09122025/01/46/image_09122025_01_47_04_9891.jpg
/home/pi/Desktop/images/09122025/01/47/image_09122025_01_47_24_9654.jpg
/home/pi/Desktop/images/09122025/01/47/image_09122025_01_47_54_9710.jpg
/home/pi/Desktop/images/09122025/01/47/image_09122025_01_48_04_9553.jpg
/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_14_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480952","1398480937","1398480942","1398480945","1398480939","1398480948"],"photo_ids_order":["1398480937","1398480939","1398480942","1398480945","1398480948","1398480952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d1e2844b58d06297bab8237d56f7497.jpg","text":"TemporaryFile(/tmp/multipartBody7113879805596169838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_48_14_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21690846f13130c208350faaf1b82dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2410063610492087457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_46_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5f1527bf13835e7d5334dedc611c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody922884121979942204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_47_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/102b2c206ca92dad43d406b46fa54ba2.jpg","text":"TemporaryFile(/tmp/multipartBody346075659217662290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_47_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63321485db434b9f609e10d439d84c22.jpg","text":"TemporaryFile(/tmp/multipartBody2210473397892859050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_47_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15e069aacbb5e877a3c5e6873d7ff6ff.jpg","text":"TemporaryFile(/tmp/multipartBody4027118188268038204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286843120,"filename":"image_09122025_01_48_04_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480942","file1":"1398480939","file0":"1398480937","file4":"1398480948","file5":"1398480952","file3":"1398480945"},"map_files_photo_id_array":[{"photo_id":"1398480952","filename":"file5"},{"photo_id":"1398480942","filename":"file2"},{"photo_id":"1398480948","filename":"file4"},{"photo_id":"1398480939","filename":"file1"},{"photo_id":"1398480937","filename":"file0"},{"photo_id":"1398480945","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480952":["hashtag1","hashtag2"]},{"1398480937":["hashtag1","hashtag2"]},{"1398480942":["hashtag1","hashtag2"]},{"1398480945":["hashtag1","hashtag2"]},{"1398480939":["hashtag1","hashtag2"]},{"1398480948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480952, 1398480937, 1398480942, 1398480945, 1398480939, 1398480948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.607526779174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:27:03.455570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_24_9579.jpg', '/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_44_10921.jpg', '/home/pi/Desktop/images/09122025/01/48/image_09122025_01_49_04_9600.jpg', '/home/pi/Desktop/images/09122025/01/49/image_09122025_01_49_44_10688.jpg', '/home/pi/Desktop/images/09122025/01/50/image_09122025_01_50_14_9908.jpg', '/home/pi/Desktop/images/09122025/01/50/image_09122025_01_50_24_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_24_9579.jpg
/home/pi/Desktop/images/09122025/01/48/image_09122025_01_48_44_10921.jpg
/home/pi/Desktop/images/09122025/01/48/image_09122025_01_49_04_9600.jpg
/home/pi/Desktop/images/09122025/01/49/image_09122025_01_49_44_10688.jpg
/home/pi/Desktop/images/09122025/01/50/image_09122025_01_50_14_9908.jpg
/home/pi/Desktop/images/09122025/01/50/image_09122025_01_50_24_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398480976","1398480964","1398480969","1398480972","1398480966","1398480962"],"photo_ids_order":["1398480962","1398480964","1398480966","1398480969","1398480972","1398480976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/540673f3d9e897bb9e7a59cf6744879c.jpg","text":"TemporaryFile(/tmp/multipartBody947550333003251491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_50_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54f5893bbde5401134977224a6ae166d.jpg","text":"TemporaryFile(/tmp/multipartBody6189364679065280275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_48_44_10921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65e91d9bb845cd2077de7211123cc0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3192996448541427726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_49_44_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc8c8a91d1148a59121a50862aaf239c.jpg","text":"TemporaryFile(/tmp/multipartBody4911326786342101428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_50_14_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/325f6de1f2825ca4a1770458f094a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody5306360155484281830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_49_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4644ce1c5ff80c1c7069d14c60c0972b.jpg","text":"TemporaryFile(/tmp/multipartBody5100156385418708103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286884151,"filename":"image_09122025_01_48_24_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480966","file1":"1398480964","file0":"1398480962","file4":"1398480972","file5":"1398480976","file3":"1398480969"},"map_files_photo_id_array":[{"photo_id":"1398480976","filename":"file5"},{"photo_id":"1398480966","filename":"file2"},{"photo_id":"1398480972","filename":"file4"},{"photo_id":"1398480964","filename":"file1"},{"photo_id":"1398480962","filename":"file0"},{"photo_id":"1398480969","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398480976":["hashtag1","hashtag2"]},{"1398480964":["hashtag1","hashtag2"]},{"1398480969":["hashtag1","hashtag2"]},{"1398480972":["hashtag1","hashtag2"]},{"1398480966":["hashtag1","hashtag2"]},{"1398480962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398480976, 1398480964, 1398480969, 1398480972, 1398480966, 1398480962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95435643196106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:27:42.711212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_46_1563.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_48_1627.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_50_1606.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_51_1811.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_53_1520.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_55_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_46_1563.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_48_1627.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_50_1606.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_51_1811.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_53_1520.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_55_1691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481001","1398480997","1398480991","1398480987","1398480984","1398480995"],"photo_ids_order":["1398480984","1398480987","1398480991","1398480995","1398480997","1398481001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/492e693c196459b93646bc79ea68c141.jpg","text":"TemporaryFile(/tmp/multipartBody7499204964461690193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_55_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bedc5b9b99d8e78e235f8a6e8d62aae2.jpg","text":"TemporaryFile(/tmp/multipartBody5466403129895889294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_53_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea4844f7ba883b0ab454c02041cbef23.jpg","text":"TemporaryFile(/tmp/multipartBody4579098363870812476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_50_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a874b146e17e0bbff02573739376605.jpg","text":"TemporaryFile(/tmp/multipartBody2938690643438266823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_48_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aac49b52803432381d5d79415916f991.jpg","text":"TemporaryFile(/tmp/multipartBody5513247183909785187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_46_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80f44fc80ac4db53b6f1255d24f15587.jpg","text":"TemporaryFile(/tmp/multipartBody4617804118111956416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286923699,"filename":"image_01112025_19_08_51_1811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398480991","file1":"1398480987","file0":"1398480984","file4":"1398480997","file5":"1398481001","file3":"1398480995"},"map_files_photo_id_array":[{"photo_id":"1398481001","filename":"file5"},{"photo_id":"1398480991","filename":"file2"},{"photo_id":"1398480997","filename":"file4"},{"photo_id":"1398480987","filename":"file1"},{"photo_id":"1398480984","filename":"file0"},{"photo_id":"1398480995","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398481001":["hashtag1","hashtag2"]},{"1398480997":["hashtag1","hashtag2"]},{"1398480991":["hashtag1","hashtag2"]},{"1398480987":["hashtag1","hashtag2"]},{"1398480984":["hashtag1","hashtag2"]},{"1398480995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398481001, 1398480997, 1398480991, 1398480987, 1398480984, 1398480995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14141273498535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:28:21.935258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/51/image_09122025_01_51_54_9803.jpg', '/home/pi/Desktop/images/09122025/01/52/image_09122025_01_52_24_10668.jpg', '/home/pi/Desktop/images/09122025/01/52/image_09122025_01_52_34_9862.jpg', '/home/pi/Desktop/images/09122025/01/53/image_09122025_01_53_24_9662.jpg', '/home/pi/Desktop/images/09122025/01/53/image_09122025_01_53_34_9691.jpg', '/home/pi/Desktop/images/09122025/01/53/image_09122025_01_54_04_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/51/image_09122025_01_51_54_9803.jpg
/home/pi/Desktop/images/09122025/01/52/image_09122025_01_52_24_10668.jpg
/home/pi/Desktop/images/09122025/01/52/image_09122025_01_52_34_9862.jpg
/home/pi/Desktop/images/09122025/01/53/image_09122025_01_53_24_9662.jpg
/home/pi/Desktop/images/09122025/01/53/image_09122025_01_53_34_9691.jpg
/home/pi/Desktop/images/09122025/01/53/image_09122025_01_54_04_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481024","1398481005","1398481014","1398481019","1398481010","1398481004"],"photo_ids_order":["1398481004","1398481005","1398481010","1398481014","1398481019","1398481024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b64c7a5adee2f59751a20ac105b87d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8802988120230625677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_54_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6df1d09fa7df6c3b8eb2c5619eb314b4.jpg","text":"TemporaryFile(/tmp/multipartBody6326652177779433324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_52_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df22871ed2b5cb6da0d906ac500fd233.jpg","text":"TemporaryFile(/tmp/multipartBody5239516598123427060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_53_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f82fe83bf126cc0f0f64e0178bf9b1b6.jpg","text":"TemporaryFile(/tmp/multipartBody6434671831666605327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_53_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d9ef6e26e670a9f8dcadc2fda8f975d4.jpg","text":"TemporaryFile(/tmp/multipartBody1093896544817937793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_52_34_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a159aeceeb887cfe18454c10b1abde89.jpg","text":"TemporaryFile(/tmp/multipartBody1894344044455542083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765286962550,"filename":"image_09122025_01_51_54_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481010","file1":"1398481005","file0":"1398481004","file4":"1398481019","file5":"1398481024","file3":"1398481014"},"map_files_photo_id_array":[{"photo_id":"1398481024","filename":"file5"},{"photo_id":"1398481010","filename":"file2"},{"photo_id":"1398481019","filename":"file4"},{"photo_id":"1398481005","filename":"file1"},{"photo_id":"1398481004","filename":"file0"},{"photo_id":"1398481014","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481024":["hashtag1","hashtag2"]},{"1398481005":["hashtag1","hashtag2"]},{"1398481014":["hashtag1","hashtag2"]},{"1398481019":["hashtag1","hashtag2"]},{"1398481010":["hashtag1","hashtag2"]},{"1398481004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481024, 1398481005, 1398481014, 1398481019, 1398481010, 1398481004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32174515724182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:29:03.166880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/01/55/image_09122025_01_55_34_10666.jpg', '/home/pi/Desktop/images/09122025/01/55/image_09122025_01_55_44_9587.jpg', '/home/pi/Desktop/images/09122025/01/56/image_09122025_01_56_44_9662.jpg', '/home/pi/Desktop/images/09122025/01/56/image_09122025_01_56_54_9568.jpg', '/home/pi/Desktop/images/09122025/01/59/image_09122025_01_59_14_9620.jpg', '/home/pi/Desktop/images/09122025/01/59/image_09122025_01_59_24_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/01/55/image_09122025_01_55_34_10666.jpg
/home/pi/Desktop/images/09122025/01/55/image_09122025_01_55_44_9587.jpg
/home/pi/Desktop/images/09122025/01/56/image_09122025_01_56_44_9662.jpg
/home/pi/Desktop/images/09122025/01/56/image_09122025_01_56_54_9568.jpg
/home/pi/Desktop/images/09122025/01/59/image_09122025_01_59_14_9620.jpg
/home/pi/Desktop/images/09122025/01/59/image_09122025_01_59_24_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481039","1398481033","1398481041","1398481047","1398481043","1398481037"],"photo_ids_order":["1398481033","1398481037","1398481039","1398481041","1398481043","1398481047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc7bc75354abf332f008f5745e59672d.jpg","text":"TemporaryFile(/tmp/multipartBody1736041216762502023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_56_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08eedf3b881154816548f64e6740ba11.jpg","text":"TemporaryFile(/tmp/multipartBody8621129822517236547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_55_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f501a9206895808c50943bb6345eebeb.jpg","text":"TemporaryFile(/tmp/multipartBody6579359778281820109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_56_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18713e679ffd8c9ddf2d5a7554a44566.jpg","text":"TemporaryFile(/tmp/multipartBody3303747282148302364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_59_24_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/072aa7a1d4c8250e45cdcba0dcbeafd9.jpg","text":"TemporaryFile(/tmp/multipartBody1808418776192067871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_59_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8ead5dc3ac103d52f508902a0b733f8.jpg","text":"TemporaryFile(/tmp/multipartBody971846963167749402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287003919,"filename":"image_09122025_01_55_44_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481039","file1":"1398481037","file0":"1398481033","file4":"1398481043","file5":"1398481047","file3":"1398481041"},"map_files_photo_id_array":[{"photo_id":"1398481047","filename":"file5"},{"photo_id":"1398481039","filename":"file2"},{"photo_id":"1398481043","filename":"file4"},{"photo_id":"1398481037","filename":"file1"},{"photo_id":"1398481033","filename":"file0"},{"photo_id":"1398481041","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481039":["hashtag1","hashtag2"]},{"1398481033":["hashtag1","hashtag2"]},{"1398481041":["hashtag1","hashtag2"]},{"1398481047":["hashtag1","hashtag2"]},{"1398481043":["hashtag1","hashtag2"]},{"1398481037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481039, 1398481033, 1398481041, 1398481047, 1398481043, 1398481037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86392140388489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:29:42.141120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_58_1618.jpg', '/home/pi/Desktop/images/01112025/19/08/image_01112025_19_09_00_1739.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_01_1686.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_03_1656.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_50_1619.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_51_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_08_58_1618.jpg
/home/pi/Desktop/images/01112025/19/08/image_01112025_19_09_00_1739.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_01_1686.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_03_1656.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_50_1619.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_51_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481063","1398481066","1398481068","1398481071","1398481055","1398481058"],"photo_ids_order":["1398481055","1398481058","1398481063","1398481066","1398481068","1398481071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b43554832175f13d42389de8f4649629.jpg","text":"TemporaryFile(/tmp/multipartBody3866552967839026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_09_01_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d004b1f7e705951f10d399dcf01b527c.jpg","text":"TemporaryFile(/tmp/multipartBody3835596340674253071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_09_03_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6b45bcb6a2ab7b0d69c3835b53a6f68.jpg","text":"TemporaryFile(/tmp/multipartBody1897222047721282797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_09_50_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26e14d8d35911c913d77d1efe0acfc11.jpg","text":"TemporaryFile(/tmp/multipartBody7574487799539423014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_09_51_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/397d265155dfc949462a1df135c0e502.jpg","text":"TemporaryFile(/tmp/multipartBody6300923973685472381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_08_58_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eda7bd2ac98cfa5a7920fd891dfc6aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5871376494721051002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287043133,"filename":"image_01112025_19_09_00_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481063","file1":"1398481058","file0":"1398481055","file4":"1398481068","file5":"1398481071","file3":"1398481066"},"map_files_photo_id_array":[{"photo_id":"1398481071","filename":"file5"},{"photo_id":"1398481063","filename":"file2"},{"photo_id":"1398481068","filename":"file4"},{"photo_id":"1398481058","filename":"file1"},{"photo_id":"1398481055","filename":"file0"},{"photo_id":"1398481066","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398481063":["hashtag1","hashtag2"]},{"1398481066":["hashtag1","hashtag2"]},{"1398481068":["hashtag1","hashtag2"]},{"1398481071":["hashtag1","hashtag2"]},{"1398481055":["hashtag1","hashtag2"]},{"1398481058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398481063, 1398481066, 1398481068, 1398481071, 1398481055, 1398481058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15974497795105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:30:22.363989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/04/image_09122025_02_04_14_10067.jpg', '/home/pi/Desktop/images/09122025/02/07/image_09122025_02_07_54_10553.jpg', '/home/pi/Desktop/images/09122025/02/07/image_09122025_02_08_04_9772.jpg', '/home/pi/Desktop/images/09122025/02/09/image_09122025_02_09_24_9684.jpg', '/home/pi/Desktop/images/09122025/02/09/image_09122025_02_09_44_10796.jpg', '/home/pi/Desktop/images/09122025/02/11/image_09122025_02_12_04_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/04/image_09122025_02_04_14_10067.jpg
/home/pi/Desktop/images/09122025/02/07/image_09122025_02_07_54_10553.jpg
/home/pi/Desktop/images/09122025/02/07/image_09122025_02_08_04_9772.jpg
/home/pi/Desktop/images/09122025/02/09/image_09122025_02_09_24_9684.jpg
/home/pi/Desktop/images/09122025/02/09/image_09122025_02_09_44_10796.jpg
/home/pi/Desktop/images/09122025/02/11/image_09122025_02_12_04_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481084","1398481087","1398481092","1398481080","1398481077","1398481082"],"photo_ids_order":["1398481077","1398481080","1398481082","1398481084","1398481087","1398481092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd1ac18012f8d8ac56c294f699da2461.jpg","text":"TemporaryFile(/tmp/multipartBody9184700858431295184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_09_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94dfd55fa0a0da08eecdcd0be1fc9bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7072822076953060990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_09_44_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96dec0d931d6afd12ea410bf1222b75e.jpg","text":"TemporaryFile(/tmp/multipartBody1094075866763535996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_12_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f7dec6851c0f0215ffc44a891604e936.jpg","text":"TemporaryFile(/tmp/multipartBody555718172423435184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_07_54_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc585dd58c56235c7d32bed45c613073.jpg","text":"TemporaryFile(/tmp/multipartBody5080125462047453451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_04_14_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5346e66d7f0b9c92a64739749f4fe46.jpg","text":"TemporaryFile(/tmp/multipartBody4556351110780585312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287083011,"filename":"image_09122025_02_08_04_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481082","file1":"1398481080","file0":"1398481077","file4":"1398481087","file5":"1398481092","file3":"1398481084"},"map_files_photo_id_array":[{"photo_id":"1398481092","filename":"file5"},{"photo_id":"1398481082","filename":"file2"},{"photo_id":"1398481087","filename":"file4"},{"photo_id":"1398481080","filename":"file1"},{"photo_id":"1398481077","filename":"file0"},{"photo_id":"1398481084","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481084":["hashtag1","hashtag2"]},{"1398481087":["hashtag1","hashtag2"]},{"1398481092":["hashtag1","hashtag2"]},{"1398481080":["hashtag1","hashtag2"]},{"1398481077":["hashtag1","hashtag2"]},{"1398481082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481084, 1398481087, 1398481092, 1398481080, 1398481077, 1398481082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.730095863342285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:31:03.297441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/12/image_09122025_02_12_14_9650.jpg', '/home/pi/Desktop/images/09122025/02/13/image_09122025_02_14_04_10663.jpg', '/home/pi/Desktop/images/09122025/02/14/image_09122025_02_14_24_9661.jpg', '/home/pi/Desktop/images/09122025/02/16/image_09122025_02_16_34_9734.jpg', '/home/pi/Desktop/images/09122025/02/17/image_09122025_02_17_14_9756.jpg', '/home/pi/Desktop/images/09122025/02/17/image_09122025_02_17_54_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/12/image_09122025_02_12_14_9650.jpg
/home/pi/Desktop/images/09122025/02/13/image_09122025_02_14_04_10663.jpg
/home/pi/Desktop/images/09122025/02/14/image_09122025_02_14_24_9661.jpg
/home/pi/Desktop/images/09122025/02/16/image_09122025_02_16_34_9734.jpg
/home/pi/Desktop/images/09122025/02/17/image_09122025_02_17_14_9756.jpg
/home/pi/Desktop/images/09122025/02/17/image_09122025_02_17_54_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481111","1398481114","1398481123","1398481117","1398481105","1398481121"],"photo_ids_order":["1398481105","1398481111","1398481114","1398481117","1398481121","1398481123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/244572f40c74aebbccb896da405a3b5c.jpg","text":"TemporaryFile(/tmp/multipartBody688745182024124570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_14_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab1d2b94075304072b013e118da089cf.jpg","text":"TemporaryFile(/tmp/multipartBody2858295452095349489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_14_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/894720bcba3c253263b38abc2c4d97d6.jpg","text":"TemporaryFile(/tmp/multipartBody3080168644662554230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_17_54_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/09861a74e99010656a74e999acab2670.jpg","text":"TemporaryFile(/tmp/multipartBody6985158675888804577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_16_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/085972d8d609bb53fa8991234f53d52a.jpg","text":"TemporaryFile(/tmp/multipartBody8087044212149288039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_12_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba3aca3bd284865a617f229bf11ed561.jpg","text":"TemporaryFile(/tmp/multipartBody1527123908821792132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287123951,"filename":"image_09122025_02_17_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481114","file1":"1398481111","file0":"1398481105","file4":"1398481121","file5":"1398481123","file3":"1398481117"},"map_files_photo_id_array":[{"photo_id":"1398481123","filename":"file5"},{"photo_id":"1398481114","filename":"file2"},{"photo_id":"1398481121","filename":"file4"},{"photo_id":"1398481111","filename":"file1"},{"photo_id":"1398481105","filename":"file0"},{"photo_id":"1398481117","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481111":["hashtag1","hashtag2"]},{"1398481114":["hashtag1","hashtag2"]},{"1398481123":["hashtag1","hashtag2"]},{"1398481117":["hashtag1","hashtag2"]},{"1398481105":["hashtag1","hashtag2"]},{"1398481121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481111, 1398481114, 1398481123, 1398481117, 1398481105, 1398481121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36808776855469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:31:42.511015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_53_1765.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_55_1826.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_58_1711.jpg', '/home/pi/Desktop/images/01112025/19/09/image_01112025_19_10_00_1666.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_01_1568.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_03_1951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_53_1765.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_55_1826.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_09_58_1711.jpg
/home/pi/Desktop/images/01112025/19/09/image_01112025_19_10_00_1666.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_01_1568.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_03_1951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481150","1398481144","1398481153","1398481147","1398481133","1398481139"],"photo_ids_order":["1398481133","1398481139","1398481144","1398481147","1398481150","1398481153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38cd914c782c0cab034184bf6968fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6972125416009426367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_10_01_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29199a271bc2e6e1b2ed9b256023db37.jpg","text":"TemporaryFile(/tmp/multipartBody1112084586300646609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_09_58_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d86ab60ea20c6a8210747a819c4d45fb.jpg","text":"TemporaryFile(/tmp/multipartBody6389025637798767572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_10_03_1951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f66bcfc760f1a7bfa6ddc32e0c081c3a.jpg","text":"TemporaryFile(/tmp/multipartBody884245212685234961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_10_00_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1a19cab0eb6ffa17daf33725ab24b7a.jpg","text":"TemporaryFile(/tmp/multipartBody9048434823517411913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_09_53_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/adf95f15f87aa3e5f21c4658b6913869.jpg","text":"TemporaryFile(/tmp/multipartBody2803868429436798159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287163512,"filename":"image_01112025_19_09_55_1826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481144","file1":"1398481139","file0":"1398481133","file4":"1398481150","file5":"1398481153","file3":"1398481147"},"map_files_photo_id_array":[{"photo_id":"1398481153","filename":"file5"},{"photo_id":"1398481144","filename":"file2"},{"photo_id":"1398481150","filename":"file4"},{"photo_id":"1398481139","filename":"file1"},{"photo_id":"1398481133","filename":"file0"},{"photo_id":"1398481147","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398481150":["hashtag1","hashtag2"]},{"1398481144":["hashtag1","hashtag2"]},{"1398481153":["hashtag1","hashtag2"]},{"1398481147":["hashtag1","hashtag2"]},{"1398481133":["hashtag1","hashtag2"]},{"1398481139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398481150, 1398481144, 1398481153, 1398481147, 1398481133, 1398481139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36302614212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:32:22.748003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/17/image_09122025_02_18_04_9736.jpg', '/home/pi/Desktop/images/09122025/02/19/image_09122025_02_19_24_10653.jpg', '/home/pi/Desktop/images/09122025/02/20/image_09122025_02_21_04_10699.jpg', '/home/pi/Desktop/images/09122025/02/21/image_09122025_02_21_24_9691.jpg', '/home/pi/Desktop/images/09122025/02/21/image_09122025_02_21_44_9752.jpg', '/home/pi/Desktop/images/09122025/02/22/image_09122025_02_22_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/17/image_09122025_02_18_04_9736.jpg
/home/pi/Desktop/images/09122025/02/19/image_09122025_02_19_24_10653.jpg
/home/pi/Desktop/images/09122025/02/20/image_09122025_02_21_04_10699.jpg
/home/pi/Desktop/images/09122025/02/21/image_09122025_02_21_24_9691.jpg
/home/pi/Desktop/images/09122025/02/21/image_09122025_02_21_44_9752.jpg
/home/pi/Desktop/images/09122025/02/22/image_09122025_02_22_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481171","1398481165","1398481168","1398481163","1398481160","1398481174"],"photo_ids_order":["1398481160","1398481163","1398481165","1398481168","1398481171","1398481174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e23f1030b83a18cb957812586ad8b4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5650619695745215551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_21_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/839dcbaffb956af1a26aa7dbfd8adae6.jpg","text":"TemporaryFile(/tmp/multipartBody3443877600060708989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_21_04_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2336c5ec90acdf98e9e844c187e04879.jpg","text":"TemporaryFile(/tmp/multipartBody959846562362505467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_21_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5279f8961c4398b1b7929b882081bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3442056488833458468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_19_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d78ca6352a5dd7f279d4304c55606cee.jpg","text":"TemporaryFile(/tmp/multipartBody2428510932061404712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_18_04_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30b71a4aaa908f461d2dac48948fcd04.jpg","text":"TemporaryFile(/tmp/multipartBody856859349381163484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287203364,"filename":"image_09122025_02_22_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481165","file1":"1398481163","file0":"1398481160","file4":"1398481171","file5":"1398481174","file3":"1398481168"},"map_files_photo_id_array":[{"photo_id":"1398481174","filename":"file5"},{"photo_id":"1398481165","filename":"file2"},{"photo_id":"1398481171","filename":"file4"},{"photo_id":"1398481163","filename":"file1"},{"photo_id":"1398481160","filename":"file0"},{"photo_id":"1398481168","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481171":["hashtag1","hashtag2"]},{"1398481165":["hashtag1","hashtag2"]},{"1398481168":["hashtag1","hashtag2"]},{"1398481163":["hashtag1","hashtag2"]},{"1398481160":["hashtag1","hashtag2"]},{"1398481174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481171, 1398481165, 1398481168, 1398481163, 1398481160, 1398481174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.017295598983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:33:02.461412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/24/image_09122025_02_24_24_9617.jpg', '/home/pi/Desktop/images/09122025/02/24/image_09122025_02_24_34_10566.jpg', '/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_14_9743.jpg', '/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_34_10603.jpg', '/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_44_9614.jpg', '/home/pi/Desktop/images/09122025/02/26/image_09122025_02_27_04_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/24/image_09122025_02_24_24_9617.jpg
/home/pi/Desktop/images/09122025/02/24/image_09122025_02_24_34_10566.jpg
/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_14_9743.jpg
/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_34_10603.jpg
/home/pi/Desktop/images/09122025/02/26/image_09122025_02_26_44_9614.jpg
/home/pi/Desktop/images/09122025/02/26/image_09122025_02_27_04_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481185","1398481188","1398481190","1398481193","1398481192","1398481195"],"photo_ids_order":["1398481185","1398481188","1398481190","1398481192","1398481193","1398481195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42654d5b86f1534db47d5a04a2ef5213.jpg","text":"TemporaryFile(/tmp/multipartBody27952845313330303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_24_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8af22e1fa51ca6c8eeb1d8cfc154d1d6.jpg","text":"TemporaryFile(/tmp/multipartBody6326576324906651856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_24_34_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78a8210e97127227162c8fddfd3e9f53.jpg","text":"TemporaryFile(/tmp/multipartBody3493651478315583187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_26_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c65fbfe3597f2dc600d3cbbd93b37f91.jpg","text":"TemporaryFile(/tmp/multipartBody2557237751102771029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_26_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5230a599077a3727d3277e883ec8dcfb.jpg","text":"TemporaryFile(/tmp/multipartBody4889342629872559049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_26_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c396bc61e154a15815738ffc2af5a441.jpg","text":"TemporaryFile(/tmp/multipartBody3337497416086434993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287243139,"filename":"image_09122025_02_27_04_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481190","file1":"1398481188","file0":"1398481185","file4":"1398481193","file5":"1398481195","file3":"1398481192"},"map_files_photo_id_array":[{"photo_id":"1398481195","filename":"file5"},{"photo_id":"1398481190","filename":"file2"},{"photo_id":"1398481193","filename":"file4"},{"photo_id":"1398481188","filename":"file1"},{"photo_id":"1398481185","filename":"file0"},{"photo_id":"1398481192","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398481185":["hashtag1","hashtag2"]},{"1398481188":["hashtag1","hashtag2"]},{"1398481190":["hashtag1","hashtag2"]},{"1398481193":["hashtag1","hashtag2"]},{"1398481192":["hashtag1","hashtag2"]},{"1398481195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398481185, 1398481188, 1398481190, 1398481193, 1398481192, 1398481195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50427865982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:34:02.721387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg', '/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg
/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5406641960144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:34:12.157359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_15_9954.jpg', '/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_25_9711.jpg', '/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_35_9801.jpg', '/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_45_10545.jpg', '/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_55_9650.jpg', '/home/pi/Desktop/images/08122025/12/33/image_08122025_12_34_05_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_15_9954.jpg
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_25_9711.jpg
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_35_9801.jpg
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_45_10545.jpg
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_33_55_9650.jpg
/home/pi/Desktop/images/08122025/12/33/image_08122025_12_34_05_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481246","1398481225","1398481221","1398481218","1398481241","1398481235"],"photo_ids_order":["1398481218","1398481221","1398481225","1398481235","1398481241","1398481246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/846fa9303efb6ec17d00a8dbbeb01b86.jpg","text":"TemporaryFile(/tmp/multipartBody4003586602566714266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_34_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72b8a0a6ca95b44c0433d6aad5a4cbb7.jpg","text":"TemporaryFile(/tmp/multipartBody6657286070927731202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_33_35_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c6c1f8e2a29d86e741dda7c92717935.jpg","text":"TemporaryFile(/tmp/multipartBody3207084196288506767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_33_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27f5a5099358e17679ab45cfece516e2.jpg","text":"TemporaryFile(/tmp/multipartBody2853209842677687177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_33_15_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f66c363838bd82c279668ff4266f1cef.jpg","text":"TemporaryFile(/tmp/multipartBody2492335040980362087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_33_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d83212b5a9d6788c7e1ccaa95894610.jpg","text":"TemporaryFile(/tmp/multipartBody8651011888199150179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287314076,"filename":"image_08122025_12_33_45_10545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481225","file1":"1398481221","file0":"1398481218","file4":"1398481241","file5":"1398481246","file3":"1398481235"},"map_files_photo_id_array":[{"photo_id":"1398481246","filename":"file5"},{"photo_id":"1398481225","filename":"file2"},{"photo_id":"1398481241","filename":"file4"},{"photo_id":"1398481221","filename":"file1"},{"photo_id":"1398481218","filename":"file0"},{"photo_id":"1398481235","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398481246":["hashtag1","hashtag2"]},{"1398481225":["hashtag1","hashtag2"]},{"1398481221":["hashtag1","hashtag2"]},{"1398481218":["hashtag1","hashtag2"]},{"1398481241":["hashtag1","hashtag2"]},{"1398481235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398481246, 1398481225, 1398481221, 1398481218, 1398481241, 1398481235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12963008880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:35:02.875504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg', '/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg
/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5568692684173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:35:12.260622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_15_10590.jpg', '/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_25_9594.jpg', '/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_35_10541.jpg', '/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_45_9653.jpg', '/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_55_9681.jpg', '/home/pi/Desktop/images/08122025/12/34/image_08122025_12_35_05_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_15_10590.jpg
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_25_9594.jpg
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_35_10541.jpg
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_45_9653.jpg
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_34_55_9681.jpg
/home/pi/Desktop/images/08122025/12/34/image_08122025_12_35_05_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481300","1398481303","1398481305","1398481295","1398481308","1398481291"],"photo_ids_order":["1398481291","1398481295","1398481300","1398481303","1398481305","1398481308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f257355306729ff27039c3011238b11.jpg","text":"TemporaryFile(/tmp/multipartBody6378005125836766064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_34_35_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4497d0309076736f9a980b7e40d9873.jpg","text":"TemporaryFile(/tmp/multipartBody5918667784444532944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_34_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2c0f1a49a4245b4c4f7e3e397e02c18.jpg","text":"TemporaryFile(/tmp/multipartBody5757639335463892951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_34_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5456c1a555ffd215e5fc307bc83a9690.jpg","text":"TemporaryFile(/tmp/multipartBody765000032404789762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_34_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50f6b530448961b5455fa1ccbb0fb7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4208908487500166406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_35_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44b188d3663e783cd4b69b0250ba170c.jpg","text":"TemporaryFile(/tmp/multipartBody3442420734627966246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287373908,"filename":"image_08122025_12_34_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481300","file1":"1398481295","file0":"1398481291","file4":"1398481305","file5":"1398481308","file3":"1398481303"},"map_files_photo_id_array":[{"photo_id":"1398481308","filename":"file5"},{"photo_id":"1398481300","filename":"file2"},{"photo_id":"1398481305","filename":"file4"},{"photo_id":"1398481295","filename":"file1"},{"photo_id":"1398481291","filename":"file0"},{"photo_id":"1398481303","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398481300":["hashtag1","hashtag2"]},{"1398481303":["hashtag1","hashtag2"]},{"1398481305":["hashtag1","hashtag2"]},{"1398481295":["hashtag1","hashtag2"]},{"1398481308":["hashtag1","hashtag2"]},{"1398481291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398481300, 1398481303, 1398481305, 1398481295, 1398481308, 1398481291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17191028594971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:36:03.237758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg', '/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg
/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5127131938934326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:36:12.603426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_15_9778.jpg', '/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_25_9562.jpg', '/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_35_10612.jpg', '/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_45_9748.jpg', '/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_55_9683.jpg', '/home/pi/Desktop/images/08122025/12/35/image_08122025_12_36_05_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_15_9778.jpg
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_25_9562.jpg
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_35_10612.jpg
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_45_9748.jpg
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_35_55_9683.jpg
/home/pi/Desktop/images/08122025/12/35/image_08122025_12_36_05_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398481717","1398481875","1398481623","1398481793","1398481478","1398481553"],"photo_ids_order":["1398481478","1398481553","1398481623","1398481717","1398481793","1398481875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/287e051ea9151aeeb337b31f4dab9232.jpg","text":"TemporaryFile(/tmp/multipartBody4693861697086321461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_35_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90a113b7fcea0f24d631963983227c98.jpg","text":"TemporaryFile(/tmp/multipartBody3492745237886476300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_36_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56bd0293950f1eff52eb6f0e62f25d40.jpg","text":"TemporaryFile(/tmp/multipartBody4535430725400753492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_35_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a64719eace3ed9db6d4ee7e8a4d8ea16.jpg","text":"TemporaryFile(/tmp/multipartBody3193251403702306701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_35_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0bc3f2ebf6f59e0e6ef8c7357c867d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3199712117783076005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_35_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/caaa4e320d313e515d1665350a1dd2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4337189458750640407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287434301,"filename":"image_08122025_12_35_25_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398481623","file1":"1398481553","file0":"1398481478","file4":"1398481793","file5":"1398481875","file3":"1398481717"},"map_files_photo_id_array":[{"photo_id":"1398481875","filename":"file5"},{"photo_id":"1398481623","filename":"file2"},{"photo_id":"1398481793","filename":"file4"},{"photo_id":"1398481553","filename":"file1"},{"photo_id":"1398481478","filename":"file0"},{"photo_id":"1398481717","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398481717":["hashtag1","hashtag2"]},{"1398481875":["hashtag1","hashtag2"]},{"1398481623":["hashtag1","hashtag2"]},{"1398481793":["hashtag1","hashtag2"]},{"1398481478":["hashtag1","hashtag2"]},{"1398481553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398481717, 1398481875, 1398481623, 1398481793, 1398481478, 1398481553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85862183570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:37:02.437670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg', '/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg', '/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg', '/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_44_10683.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_27_54_9694.jpg
/home/pi/Desktop/images/09122025/02/27/image_09122025_02_28_04_9704.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_44_9841.jpg
/home/pi/Desktop/images/09122025/02/29/image_09122025_02_29_54_9629.jpg
/home/pi/Desktop/images/09122025/02/30/image_09122025_02_30_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398483261","1398483108","1398482996","1398482864","1398482581","1398482782"],"photo_ids_order":["1398482581","1398482782","1398482864","1398482996","1398483108","1398483261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d52c240d827b9822193cb36d40c66dd.jpg","text":"TemporaryFile(/tmp/multipartBody5918096509802911645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_30_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de99381b6bb7894a03fe947f53228596.jpg","text":"TemporaryFile(/tmp/multipartBody4070300891707956041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_29_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f45c85c14757901ba0bf94a614b33168.jpg","text":"TemporaryFile(/tmp/multipartBody577205736659047981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_29_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e841bd66058ec6c5fc29eeaade8e2c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3963539207177885109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_28_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5b892643db03c606c377a24f5d51760.jpg","text":"TemporaryFile(/tmp/multipartBody6048512936375861224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_27_44_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97ee484bab8caf8f2960e65dfdb7a1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1952904265616789164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287483132,"filename":"image_09122025_02_27_54_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398482864","file1":"1398482782","file0":"1398482581","file4":"1398483108","file5":"1398483261","file3":"1398482996"},"map_files_photo_id_array":[{"photo_id":"1398483261","filename":"file5"},{"photo_id":"1398482864","filename":"file2"},{"photo_id":"1398483108","filename":"file4"},{"photo_id":"1398482782","filename":"file1"},{"photo_id":"1398482581","filename":"file0"},{"photo_id":"1398482996","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398483261":["hashtag1","hashtag2"]},{"1398483108":["hashtag1","hashtag2"]},{"1398482996":["hashtag1","hashtag2"]},{"1398482864":["hashtag1","hashtag2"]},{"1398482581":["hashtag1","hashtag2"]},{"1398482782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398483261, 1398483108, 1398482996, 1398482864, 1398482581, 1398482782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.283735036849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:38:02.540669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/30/image_09122025_02_31_04_9662.jpg', '/home/pi/Desktop/images/09122025/02/31/image_09122025_02_31_54_9732.jpg', '/home/pi/Desktop/images/09122025/02/31/image_09122025_02_32_04_9716.jpg', '/home/pi/Desktop/images/09122025/02/33/image_09122025_02_33_44_9767.jpg', '/home/pi/Desktop/images/09122025/02/34/image_09122025_02_34_44_9636.jpg', '/home/pi/Desktop/images/09122025/02/34/image_09122025_02_34_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/30/image_09122025_02_31_04_9662.jpg
/home/pi/Desktop/images/09122025/02/31/image_09122025_02_31_54_9732.jpg
/home/pi/Desktop/images/09122025/02/31/image_09122025_02_32_04_9716.jpg
/home/pi/Desktop/images/09122025/02/33/image_09122025_02_33_44_9767.jpg
/home/pi/Desktop/images/09122025/02/34/image_09122025_02_34_44_9636.jpg
/home/pi/Desktop/images/09122025/02/34/image_09122025_02_34_54_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398484295","1398483872","1398484165","1398483716","1398483589","1398484017"],"photo_ids_order":["1398483589","1398483716","1398483872","1398484017","1398484165","1398484295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/540ac32c6f486214b9461f2029fd35b7.jpg","text":"TemporaryFile(/tmp/multipartBody3461851474831955003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_34_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5ae701e36b11ea38798a98fe6f5947d.jpg","text":"TemporaryFile(/tmp/multipartBody8280995388279556704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_32_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f42124c755aae6e011271075525e14ca.jpg","text":"TemporaryFile(/tmp/multipartBody2046537479304564412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_34_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2e7dd40e4923953af0f738eba29aa91.jpg","text":"TemporaryFile(/tmp/multipartBody6539638427410566556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_31_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9b944fd3127b619426929cd9e9f697d.jpg","text":"TemporaryFile(/tmp/multipartBody6557793225978893515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_31_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c25640c0fa075cca8eac9da54f6adff9.jpg","text":"TemporaryFile(/tmp/multipartBody829050984781514942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287543163,"filename":"image_09122025_02_33_44_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398483872","file1":"1398483716","file0":"1398483589","file4":"1398484165","file5":"1398484295","file3":"1398484017"},"map_files_photo_id_array":[{"photo_id":"1398484295","filename":"file5"},{"photo_id":"1398483872","filename":"file2"},{"photo_id":"1398484165","filename":"file4"},{"photo_id":"1398483716","filename":"file1"},{"photo_id":"1398483589","filename":"file0"},{"photo_id":"1398484017","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398484295":["hashtag1","hashtag2"]},{"1398483872":["hashtag1","hashtag2"]},{"1398484165":["hashtag1","hashtag2"]},{"1398483716":["hashtag1","hashtag2"]},{"1398483589":["hashtag1","hashtag2"]},{"1398484017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398484295, 1398483872, 1398484165, 1398483716, 1398483589, 1398484017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04660606384277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:38:42.014115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_05_1645.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_12_1774.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_13_1644.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_15_1664.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_18_1616.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_23_4953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_05_1645.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_12_1774.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_13_1644.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_15_1664.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_18_1616.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_23_4953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398484541","1398484741","1398484642","1398485172","1398485049","1398484887"],"photo_ids_order":["1398484541","1398484642","1398484741","1398484887","1398485049","1398485172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7512bc995512334e48672b4c6fd6488f.jpg","text":"TemporaryFile(/tmp/multipartBody6365453605567594185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_05_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4496b4c2c09ab01a2b619bde5b135cc6.jpg","text":"TemporaryFile(/tmp/multipartBody127109759345495126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_13_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7763c0335b4f3605afbd0919df380daa.jpg","text":"TemporaryFile(/tmp/multipartBody6281884893698589592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_12_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/688deba5043d5dcf044cdac5ed4dbf8e.jpg","text":"TemporaryFile(/tmp/multipartBody6680484279393022527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_23_4953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1f777231569b88d5213636c37b37087.jpg","text":"TemporaryFile(/tmp/multipartBody7110200664562556304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_18_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a57cc91d87013333d0b622f4fcaf8ef.jpg","text":"TemporaryFile(/tmp/multipartBody4385319520521808306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287583026,"filename":"image_01112025_19_10_15_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398484741","file1":"1398484642","file0":"1398484541","file4":"1398485049","file5":"1398485172","file3":"1398484887"},"map_files_photo_id_array":[{"photo_id":"1398485172","filename":"file5"},{"photo_id":"1398484741","filename":"file2"},{"photo_id":"1398485049","filename":"file4"},{"photo_id":"1398484642","filename":"file1"},{"photo_id":"1398484541","filename":"file0"},{"photo_id":"1398484887","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398484541":["hashtag1","hashtag2"]},{"1398484741":["hashtag1","hashtag2"]},{"1398484642":["hashtag1","hashtag2"]},{"1398485172":["hashtag1","hashtag2"]},{"1398485049":["hashtag1","hashtag2"]},{"1398484887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398484541, 1398484741, 1398484642, 1398485172, 1398485049, 1398484887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5059278011322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:39:22.240228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/36/image_09122025_02_36_44_9711.jpg', '/home/pi/Desktop/images/09122025/02/36/image_09122025_02_37_04_10623.jpg', '/home/pi/Desktop/images/09122025/02/37/image_09122025_02_37_14_9688.jpg', '/home/pi/Desktop/images/09122025/02/37/image_09122025_02_38_04_9658.jpg', '/home/pi/Desktop/images/09122025/02/38/image_09122025_02_38_24_10720.jpg', '/home/pi/Desktop/images/09122025/02/39/image_09122025_02_39_44_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/36/image_09122025_02_36_44_9711.jpg
/home/pi/Desktop/images/09122025/02/36/image_09122025_02_37_04_10623.jpg
/home/pi/Desktop/images/09122025/02/37/image_09122025_02_37_14_9688.jpg
/home/pi/Desktop/images/09122025/02/37/image_09122025_02_38_04_9658.jpg
/home/pi/Desktop/images/09122025/02/38/image_09122025_02_38_24_10720.jpg
/home/pi/Desktop/images/09122025/02/39/image_09122025_02_39_44_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398485489","1398485869","1398486124","1398485632","1398486024","1398485751"],"photo_ids_order":["1398485489","1398485632","1398485751","1398485869","1398486024","1398486124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0987423ae6ecd1f7126a7deda6ef5d3a.jpg","text":"TemporaryFile(/tmp/multipartBody437558001927133026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_36_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/402ab379045c2657ae743cc51dc1e3f7.jpg","text":"TemporaryFile(/tmp/multipartBody8247542310847715398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_38_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fba1aea15ec0e52e75189e4b50c8da73.jpg","text":"TemporaryFile(/tmp/multipartBody28066794622438292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_39_44_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c06ab9b7d107beac76bd4d282466eb37.jpg","text":"TemporaryFile(/tmp/multipartBody2665970908264197448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_37_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccba0e6023522864e126c0ffa9764e64.jpg","text":"TemporaryFile(/tmp/multipartBody150459832977304148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_38_24_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/491db61ff97d47b8fe9c73e4d030d692.jpg","text":"TemporaryFile(/tmp/multipartBody1300967516674880069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287622820,"filename":"image_09122025_02_37_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398485751","file1":"1398485632","file0":"1398485489","file4":"1398486024","file5":"1398486124","file3":"1398485869"},"map_files_photo_id_array":[{"photo_id":"1398486124","filename":"file5"},{"photo_id":"1398485751","filename":"file2"},{"photo_id":"1398486024","filename":"file4"},{"photo_id":"1398485632","filename":"file1"},{"photo_id":"1398485489","filename":"file0"},{"photo_id":"1398485869","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398485489":["hashtag1","hashtag2"]},{"1398485869":["hashtag1","hashtag2"]},{"1398486124":["hashtag1","hashtag2"]},{"1398485632":["hashtag1","hashtag2"]},{"1398486024":["hashtag1","hashtag2"]},{"1398485751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398485489, 1398485869, 1398486124, 1398485632, 1398486024, 1398485751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84513568878174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:40:03.023656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/39/image_09122025_02_39_54_9818.jpg', '/home/pi/Desktop/images/09122025/02/42/image_09122025_02_43_04_9820.jpg', '/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_24_9658.jpg', '/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_44_10592.jpg', '/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_54_9923.jpg', '/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_14_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/39/image_09122025_02_39_54_9818.jpg
/home/pi/Desktop/images/09122025/02/42/image_09122025_02_43_04_9820.jpg
/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_24_9658.jpg
/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_44_10592.jpg
/home/pi/Desktop/images/09122025/02/44/image_09122025_02_44_54_9923.jpg
/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_14_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398486317","1398486277","1398486256","1398486244","1398486226","1398486359"],"photo_ids_order":["1398486226","1398486244","1398486256","1398486277","1398486317","1398486359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/248937a904c605ac005599014a8842d8.jpg","text":"TemporaryFile(/tmp/multipartBody8081850879312124701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_44_54_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39eb38078488b68c60a4e772fd566f49.jpg","text":"TemporaryFile(/tmp/multipartBody3651069540953576747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_44_44_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9cb349ec161cecbe789de0688aa73c7.jpg","text":"TemporaryFile(/tmp/multipartBody5621429387030920031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_44_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee5061c9945da93b124543394c799ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7786662928626289477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_43_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/121659d7a67650c677ec92d1b86c8119.jpg","text":"TemporaryFile(/tmp/multipartBody9049932010810355003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_39_54_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e64ebd651da9d190287d1e7f57320182.jpg","text":"TemporaryFile(/tmp/multipartBody1411536652238797086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287663668,"filename":"image_09122025_02_45_14_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398486256","file1":"1398486244","file0":"1398486226","file4":"1398486317","file5":"1398486359","file3":"1398486277"},"map_files_photo_id_array":[{"photo_id":"1398486359","filename":"file5"},{"photo_id":"1398486256","filename":"file2"},{"photo_id":"1398486317","filename":"file4"},{"photo_id":"1398486244","filename":"file1"},{"photo_id":"1398486226","filename":"file0"},{"photo_id":"1398486277","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398486317":["hashtag1","hashtag2"]},{"1398486277":["hashtag1","hashtag2"]},{"1398486256":["hashtag1","hashtag2"]},{"1398486244":["hashtag1","hashtag2"]},{"1398486226":["hashtag1","hashtag2"]},{"1398486359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398486317, 1398486277, 1398486256, 1398486244, 1398486226, 1398486359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10785794258118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:40:42.587097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_25_1680.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_28_1618.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_30_1764.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_32_1629.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_33_1662.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_35_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_25_1680.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_28_1618.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_30_1764.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_32_1629.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_33_1662.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_35_1543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398486679","1398486634","1398486768","1398486575","1398486452","1398486506"],"photo_ids_order":["1398486452","1398486506","1398486575","1398486634","1398486679","1398486768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b96228f14758a826829fc74776c8f88.jpg","text":"TemporaryFile(/tmp/multipartBody7650009840735803087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_33_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd71c61ac5192995e29364ffc3655e09.jpg","text":"TemporaryFile(/tmp/multipartBody4868276491541254787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_32_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57ed83536a6dea76f056876772c2c54d.jpg","text":"TemporaryFile(/tmp/multipartBody1356782207157307878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_35_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5393f304c51549e50746a8653d8b534.jpg","text":"TemporaryFile(/tmp/multipartBody2820416452761156892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_30_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b3d82722be0ca5f51e075ce8fc87ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5329174330734752488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_25_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb6cab6f4cd455349f4f13af3b58803d.jpg","text":"TemporaryFile(/tmp/multipartBody7319323400071805140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287703657,"filename":"image_01112025_19_10_28_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398486575","file1":"1398486506","file0":"1398486452","file4":"1398486679","file5":"1398486768","file3":"1398486634"},"map_files_photo_id_array":[{"photo_id":"1398486768","filename":"file5"},{"photo_id":"1398486575","filename":"file2"},{"photo_id":"1398486679","filename":"file4"},{"photo_id":"1398486506","filename":"file1"},{"photo_id":"1398486452","filename":"file0"},{"photo_id":"1398486634","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398486679":["hashtag1","hashtag2"]},{"1398486634":["hashtag1","hashtag2"]},{"1398486768":["hashtag1","hashtag2"]},{"1398486575":["hashtag1","hashtag2"]},{"1398486452":["hashtag1","hashtag2"]},{"1398486506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398486679, 1398486634, 1398486768, 1398486575, 1398486452, 1398486506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.369197845458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:41:22.787358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_24_9606.jpg', '/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_44_10676.jpg', '/home/pi/Desktop/images/09122025/02/50/image_09122025_02_50_54_9725.jpg', '/home/pi/Desktop/images/09122025/02/51/image_09122025_02_51_14_9770.jpg', '/home/pi/Desktop/images/09122025/02/51/image_09122025_02_52_04_10788.jpg', '/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_24_9606.jpg
/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_44_10676.jpg
/home/pi/Desktop/images/09122025/02/50/image_09122025_02_50_54_9725.jpg
/home/pi/Desktop/images/09122025/02/51/image_09122025_02_51_14_9770.jpg
/home/pi/Desktop/images/09122025/02/51/image_09122025_02_52_04_10788.jpg
/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_24_9616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5390329360961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:41:32.872941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_15_9833.jpg', '/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_25_9749.jpg', '/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_35_9700.jpg', '/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_45_10592.jpg', '/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_55_9684.jpg', '/home/pi/Desktop/images/08122025/12/36/image_08122025_12_37_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_15_9833.jpg
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_25_9749.jpg
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_35_9700.jpg
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_45_10592.jpg
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_36_55_9684.jpg
/home/pi/Desktop/images/08122025/12/36/image_08122025_12_37_05_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398487344","1398487251","1398487089","1398487308","1398487130","1398487186"],"photo_ids_order":["1398487089","1398487130","1398487186","1398487251","1398487308","1398487344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5c54f28aef605917dfb726f5fb4c053.jpg","text":"TemporaryFile(/tmp/multipartBody232880021240264154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_37_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b579b6fbd7fb3adcc491ef154994bda8.jpg","text":"TemporaryFile(/tmp/multipartBody7671989160487273300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_36_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/284fb64c08d1d5e0349a74d8450d60b9.jpg","text":"TemporaryFile(/tmp/multipartBody5587520365181412167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_36_15_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3b0012bc35a9605822b59fd0045054df.jpg","text":"TemporaryFile(/tmp/multipartBody2711507782305238761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_36_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a305cca988a548f9b8e7d30f78fa7ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7640086434432192692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_36_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f96f4d4e09501b8d9d714133b2307b1.jpg","text":"TemporaryFile(/tmp/multipartBody8745797721351638578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287754833,"filename":"image_08122025_12_36_35_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398487186","file1":"1398487130","file0":"1398487089","file4":"1398487308","file5":"1398487344","file3":"1398487251"},"map_files_photo_id_array":[{"photo_id":"1398487344","filename":"file5"},{"photo_id":"1398487186","filename":"file2"},{"photo_id":"1398487308","filename":"file4"},{"photo_id":"1398487130","filename":"file1"},{"photo_id":"1398487089","filename":"file0"},{"photo_id":"1398487251","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398487344":["hashtag1","hashtag2"]},{"1398487251":["hashtag1","hashtag2"]},{"1398487089":["hashtag1","hashtag2"]},{"1398487308":["hashtag1","hashtag2"]},{"1398487130":["hashtag1","hashtag2"]},{"1398487186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398487344, 1398487251, 1398487089, 1398487308, 1398487130, 1398487186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67637515068054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:42:11.902722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_15_10617.jpg', '/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_25_9674.jpg', '/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_35_9739.jpg', '/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_45_10583.jpg', '/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_55_9657.jpg', '/home/pi/Desktop/images/08122025/12/37/image_08122025_12_38_05_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_15_10617.jpg
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_25_9674.jpg
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_35_9739.jpg
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_45_10583.jpg
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_37_55_9657.jpg
/home/pi/Desktop/images/08122025/12/37/image_08122025_12_38_05_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398487441","1398487443","1398487454","1398487448","1398487451","1398487445"],"photo_ids_order":["1398487441","1398487443","1398487445","1398487448","1398487451","1398487454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a7162ae66cae4213f5a6fdf0344122e.jpg","text":"TemporaryFile(/tmp/multipartBody5418336005274814187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_37_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63feb8002217a5558b25c83bf6cd3ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4706009373113870178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_37_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d26fed0fee6594390ef6f097b81e738.jpg","text":"TemporaryFile(/tmp/multipartBody8238799257968876211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_38_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f909425590f9200a9e32248b6b70197.jpg","text":"TemporaryFile(/tmp/multipartBody8301980612388113948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_37_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92cd25014ef3bec567e0eb2429195f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3915454378712348897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_37_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c1907df0e4e580e337b8f748a50ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody3258398452880814452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287793762,"filename":"image_08122025_12_37_35_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398487445","file1":"1398487443","file0":"1398487441","file4":"1398487451","file5":"1398487454","file3":"1398487448"},"map_files_photo_id_array":[{"photo_id":"1398487454","filename":"file5"},{"photo_id":"1398487445","filename":"file2"},{"photo_id":"1398487451","filename":"file4"},{"photo_id":"1398487443","filename":"file1"},{"photo_id":"1398487441","filename":"file0"},{"photo_id":"1398487448","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398487441":["hashtag1","hashtag2"]},{"1398487443":["hashtag1","hashtag2"]},{"1398487454":["hashtag1","hashtag2"]},{"1398487448":["hashtag1","hashtag2"]},{"1398487451":["hashtag1","hashtag2"]},{"1398487445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398487441, 1398487443, 1398487454, 1398487448, 1398487451, 1398487445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15168833732605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:43:02.741918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_24_9606.jpg', '/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_44_10676.jpg', '/home/pi/Desktop/images/09122025/02/50/image_09122025_02_50_54_9725.jpg', '/home/pi/Desktop/images/09122025/02/51/image_09122025_02_51_14_9770.jpg', '/home/pi/Desktop/images/09122025/02/51/image_09122025_02_52_04_10788.jpg', '/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_24_9606.jpg
/home/pi/Desktop/images/09122025/02/45/image_09122025_02_45_44_10676.jpg
/home/pi/Desktop/images/09122025/02/50/image_09122025_02_50_54_9725.jpg
/home/pi/Desktop/images/09122025/02/51/image_09122025_02_51_14_9770.jpg
/home/pi/Desktop/images/09122025/02/51/image_09122025_02_52_04_10788.jpg
/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_24_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398488011","1398488154","1398487844","1398488476","1398488284","1398488365"],"photo_ids_order":["1398487844","1398488011","1398488154","1398488284","1398488365","1398488476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f923f9ec80d01ef8a5350ef53239bccf.jpg","text":"TemporaryFile(/tmp/multipartBody4782127535955063204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_45_44_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c799d18250a722dd8f24770ee6d1fd06.jpg","text":"TemporaryFile(/tmp/multipartBody6416582542645355920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_50_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0b72c9dd6b99514d514d4a8cdc962a9.jpg","text":"TemporaryFile(/tmp/multipartBody5373342266582547404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_45_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d5e86605affb1a962ad65a39d303296.jpg","text":"TemporaryFile(/tmp/multipartBody8907769597333369800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_52_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3a9908b44ae1b4e9d3a56d14bb8f02d.jpg","text":"TemporaryFile(/tmp/multipartBody3284555546830111310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_51_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e2314d1f32e4c44c8cf5308f94c411a.jpg","text":"TemporaryFile(/tmp/multipartBody8736652917446898415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287843413,"filename":"image_09122025_02_52_04_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398488154","file1":"1398488011","file0":"1398487844","file4":"1398488365","file5":"1398488476","file3":"1398488284"},"map_files_photo_id_array":[{"photo_id":"1398488476","filename":"file5"},{"photo_id":"1398488154","filename":"file2"},{"photo_id":"1398488365","filename":"file4"},{"photo_id":"1398488011","filename":"file1"},{"photo_id":"1398487844","filename":"file0"},{"photo_id":"1398488284","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398488011":["hashtag1","hashtag2"]},{"1398488154":["hashtag1","hashtag2"]},{"1398487844":["hashtag1","hashtag2"]},{"1398488476":["hashtag1","hashtag2"]},{"1398488284":["hashtag1","hashtag2"]},{"1398488365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398488011, 1398488154, 1398487844, 1398488476, 1398488284, 1398488365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88803291320801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:43:42.060451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_37_1763.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_39_1865.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_45_1530.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_47_1848.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_48_1533.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_50_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_37_1763.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_39_1865.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_45_1530.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_47_1848.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_48_1533.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_50_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398489240","1398489455","1398488949","1398489566","1398489353","1398489115"],"photo_ids_order":["1398488949","1398489115","1398489240","1398489353","1398489455","1398489566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e5695b6bdcbaa02af2f29ee8d6a370e.jpg","text":"TemporaryFile(/tmp/multipartBody2286156678935556293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_45_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d1c5cdc5f11f2f904e2502a210d8d09.jpg","text":"TemporaryFile(/tmp/multipartBody8631653846965487688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_48_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22a4cbb13d53bffc3f35013d8fdb90f0.jpg","text":"TemporaryFile(/tmp/multipartBody2364045762491258757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_37_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2cb33205475053c0f0b2fb0b775414d5.jpg","text":"TemporaryFile(/tmp/multipartBody7415151081402640565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_50_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6cb1ea40f2966fded52a55079f91aff9.jpg","text":"TemporaryFile(/tmp/multipartBody7367682979698658140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_47_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e31d7f69b15f315aa62a7ce81382e88c.jpg","text":"TemporaryFile(/tmp/multipartBody6252242430183205409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287883051,"filename":"image_01112025_19_10_39_1865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398489240","file1":"1398489115","file0":"1398488949","file4":"1398489455","file5":"1398489566","file3":"1398489353"},"map_files_photo_id_array":[{"photo_id":"1398489566","filename":"file5"},{"photo_id":"1398489240","filename":"file2"},{"photo_id":"1398489455","filename":"file4"},{"photo_id":"1398489115","filename":"file1"},{"photo_id":"1398488949","filename":"file0"},{"photo_id":"1398489353","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398489240":["hashtag1","hashtag2"]},{"1398489455":["hashtag1","hashtag2"]},{"1398488949":["hashtag1","hashtag2"]},{"1398489566":["hashtag1","hashtag2"]},{"1398489353":["hashtag1","hashtag2"]},{"1398489115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398489240, 1398489455, 1398488949, 1398489566, 1398489353, 1398489115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79453110694885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:44:32.402315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_15_10662.jpg', '/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_25_9767.jpg', '/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_35_9560.jpg', '/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_46_10749.jpg', '/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_55_9643.jpg', '/home/pi/Desktop/images/08122025/12/38/image_08122025_12_39_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_15_10662.jpg
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_25_9767.jpg
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_35_9560.jpg
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_46_10749.jpg
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_38_55_9643.jpg
/home/pi/Desktop/images/08122025/12/38/image_08122025_12_39_05_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398490306","1398490391","1398490026","1398490121","1398490205","1398489949"],"photo_ids_order":["1398489949","1398490026","1398490121","1398490205","1398490306","1398490391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74b72e7d6388a81cb5f74eb55d27afc3.jpg","text":"TemporaryFile(/tmp/multipartBody1376777015116026638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_38_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c047dbda8777cf8722de6a57f15aa87f.jpg","text":"TemporaryFile(/tmp/multipartBody4798348370808327438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_39_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69db039e52ee6a732083e57026435611.jpg","text":"TemporaryFile(/tmp/multipartBody5303037667365967363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_38_25_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d112f3faf013011cd8aedf75bf8c7853.jpg","text":"TemporaryFile(/tmp/multipartBody6112183756642518203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_38_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cbc4daf3bde08834a1529e19ccf3ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody3383145541853361825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_38_46_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba0c683f8128d3af395d18f3e0854bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2988074842325648853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287934360,"filename":"image_08122025_12_38_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398490121","file1":"1398490026","file0":"1398489949","file4":"1398490306","file5":"1398490391","file3":"1398490205"},"map_files_photo_id_array":[{"photo_id":"1398490391","filename":"file5"},{"photo_id":"1398490121","filename":"file2"},{"photo_id":"1398490306","filename":"file4"},{"photo_id":"1398490026","filename":"file1"},{"photo_id":"1398489949","filename":"file0"},{"photo_id":"1398490205","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398490306":["hashtag1","hashtag2"]},{"1398490391":["hashtag1","hashtag2"]},{"1398490026":["hashtag1","hashtag2"]},{"1398490121":["hashtag1","hashtag2"]},{"1398490205":["hashtag1","hashtag2"]},{"1398489949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398490306, 1398490391, 1398490026, 1398490121, 1398490205, 1398489949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16049790382385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:45:12.572936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_15_10564.jpg', '/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_25_9623.jpg', '/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_36_10558.jpg', '/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_45_9831.jpg', '/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_55_9667.jpg', '/home/pi/Desktop/images/08122025/12/39/image_08122025_12_40_06_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_15_10564.jpg
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_25_9623.jpg
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_36_10558.jpg
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_45_9831.jpg
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_39_55_9667.jpg
/home/pi/Desktop/images/08122025/12/39/image_08122025_12_40_06_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398490921","1398490705","1398490898","1398490784","1398490631","1398490861"],"photo_ids_order":["1398490631","1398490705","1398490784","1398490861","1398490898","1398490921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffe2d3ed2c7e99406893ae918fbef00f.jpg","text":"TemporaryFile(/tmp/multipartBody1851830379665516053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_40_06_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8cb386be6d529cb8f6742dc2aaaea25e.jpg","text":"TemporaryFile(/tmp/multipartBody3282993277085944506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_39_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a055c3d259f7ce01a93c2bf2dca3ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody2152884831209314176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_39_55_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17beaf85bef957f2e164f7a098c9699d.jpg","text":"TemporaryFile(/tmp/multipartBody120001129841226317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_39_36_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea1fe7377fa75fdc1e12c3394747717e.jpg","text":"TemporaryFile(/tmp/multipartBody7207795120726264350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_39_15_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5fc0ddae28d45cd3af5e1ccaef7b0da.jpg","text":"TemporaryFile(/tmp/multipartBody3468911242050628412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765287974477,"filename":"image_08122025_12_39_45_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398490784","file1":"1398490705","file0":"1398490631","file4":"1398490898","file5":"1398490921","file3":"1398490861"},"map_files_photo_id_array":[{"photo_id":"1398490921","filename":"file5"},{"photo_id":"1398490784","filename":"file2"},{"photo_id":"1398490898","filename":"file4"},{"photo_id":"1398490705","filename":"file1"},{"photo_id":"1398490631","filename":"file0"},{"photo_id":"1398490861","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398490921":["hashtag1","hashtag2"]},{"1398490705":["hashtag1","hashtag2"]},{"1398490898":["hashtag1","hashtag2"]},{"1398490784":["hashtag1","hashtag2"]},{"1398490631":["hashtag1","hashtag2"]},{"1398490861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398490921, 1398490705, 1398490898, 1398490784, 1398490631, 1398490861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61703896522522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:46:03.381256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:46:12.559037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:46:22.623079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:46:32.692541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:46:42.694519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:47:02.466172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:47:11.947434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:47:21.983749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-09 14:47:36.812217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:48:02.422091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_34_10585.jpg', '/home/pi/Desktop/images/09122025/02/53/image_09122025_02_54_04_9557.jpg', '/home/pi/Desktop/images/09122025/02/54/image_09122025_02_54_24_10617.jpg', '/home/pi/Desktop/images/09122025/02/54/image_09122025_02_54_44_9700.jpg', '/home/pi/Desktop/images/09122025/02/54/image_09122025_02_55_04_9782.jpg', '/home/pi/Desktop/images/09122025/02/55/image_09122025_02_55_24_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/52/image_09122025_02_52_34_10585.jpg
/home/pi/Desktop/images/09122025/02/53/image_09122025_02_54_04_9557.jpg
/home/pi/Desktop/images/09122025/02/54/image_09122025_02_54_24_10617.jpg
/home/pi/Desktop/images/09122025/02/54/image_09122025_02_54_44_9700.jpg
/home/pi/Desktop/images/09122025/02/54/image_09122025_02_55_04_9782.jpg
/home/pi/Desktop/images/09122025/02/55/image_09122025_02_55_24_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492110","1398492404","1398492361","1398492322","1398492445","1398492255"],"photo_ids_order":["1398492110","1398492255","1398492322","1398492361","1398492404","1398492445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73894a586642e09e9429baf191a9af9c.jpg","text":"TemporaryFile(/tmp/multipartBody9051105622644791005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_52_34_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c600f3ce507c557f354946f8147845c4.jpg","text":"TemporaryFile(/tmp/multipartBody3639831091819046161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_55_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3765b51ec2427f02ee9af307e88a427.jpg","text":"TemporaryFile(/tmp/multipartBody8508528145036307646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_54_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50f358b603e6adbc83c446ff0025616d.jpg","text":"TemporaryFile(/tmp/multipartBody3901254932110664935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_54_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0056a89b5fac00f6789f59cb5dfd7fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3781875218863998352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_55_24_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2425d2096953379836e008072c6da217.jpg","text":"TemporaryFile(/tmp/multipartBody6503203930579239543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288143057,"filename":"image_09122025_02_54_04_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492322","file1":"1398492255","file0":"1398492110","file4":"1398492404","file5":"1398492445","file3":"1398492361"},"map_files_photo_id_array":[{"photo_id":"1398492445","filename":"file5"},{"photo_id":"1398492322","filename":"file2"},{"photo_id":"1398492404","filename":"file4"},{"photo_id":"1398492255","filename":"file1"},{"photo_id":"1398492110","filename":"file0"},{"photo_id":"1398492361","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398492110":["hashtag1","hashtag2"]},{"1398492404":["hashtag1","hashtag2"]},{"1398492361":["hashtag1","hashtag2"]},{"1398492322":["hashtag1","hashtag2"]},{"1398492445":["hashtag1","hashtag2"]},{"1398492255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398492110, 1398492404, 1398492361, 1398492322, 1398492445, 1398492255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48209595680237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:48:42.021423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_52_1632.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_55_1687.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_58_2594.jpg', '/home/pi/Desktop/images/01112025/19/10/image_01112025_19_11_01_3574.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_13_3575.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_16_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_52_1632.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_55_1687.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_10_58_2594.jpg
/home/pi/Desktop/images/01112025/19/10/image_01112025_19_11_01_3574.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_13_3575.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_16_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492653","1398492683","1398492722","1398492725","1398492657","1398492753"],"photo_ids_order":["1398492653","1398492657","1398492683","1398492722","1398492725","1398492753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da8d402feb5b95eb7a2d69dcc3032e78.jpg","text":"TemporaryFile(/tmp/multipartBody4160231699035707938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_10_52_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8258bbc239c5bbddad5a8b6a0e8eb958.jpg","text":"TemporaryFile(/tmp/multipartBody4161325764391221086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_10_58_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7252f4e55e32d9b8091e67cf77770ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5228554553307023156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_11_01_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07df6c08b53b7e32918f3f329dde737d.jpg","text":"TemporaryFile(/tmp/multipartBody2698191705461209949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_11_13_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8c4abf3eba56fef79488ad7af5143a0.jpg","text":"TemporaryFile(/tmp/multipartBody4997316017384981449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_10_55_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef2b2953cb1573876e28a3d004b8975d.jpg","text":"TemporaryFile(/tmp/multipartBody7443847412907808848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288183033,"filename":"image_01112025_19_11_16_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492683","file1":"1398492657","file0":"1398492653","file4":"1398492725","file5":"1398492753","file3":"1398492722"},"map_files_photo_id_array":[{"photo_id":"1398492753","filename":"file5"},{"photo_id":"1398492683","filename":"file2"},{"photo_id":"1398492725","filename":"file4"},{"photo_id":"1398492657","filename":"file1"},{"photo_id":"1398492653","filename":"file0"},{"photo_id":"1398492722","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398492653":["hashtag1","hashtag2"]},{"1398492683":["hashtag1","hashtag2"]},{"1398492722":["hashtag1","hashtag2"]},{"1398492725":["hashtag1","hashtag2"]},{"1398492657":["hashtag1","hashtag2"]},{"1398492753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398492653, 1398492683, 1398492722, 1398492725, 1398492657, 1398492753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11445927619934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:49:22.183830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/02/55/image_09122025_02_55_44_9500.jpg', '/home/pi/Desktop/images/09122025/02/57/image_09122025_02_57_24_9559.jpg', '/home/pi/Desktop/images/09122025/02/57/image_09122025_02_57_54_9567.jpg', '/home/pi/Desktop/images/09122025/02/58/image_09122025_02_58_34_9712.jpg', '/home/pi/Desktop/images/09122025/02/59/image_09122025_02_59_24_10549.jpg', '/home/pi/Desktop/images/09122025/03/01/image_09122025_03_01_24_10835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/02/55/image_09122025_02_55_44_9500.jpg
/home/pi/Desktop/images/09122025/02/57/image_09122025_02_57_24_9559.jpg
/home/pi/Desktop/images/09122025/02/57/image_09122025_02_57_54_9567.jpg
/home/pi/Desktop/images/09122025/02/58/image_09122025_02_58_34_9712.jpg
/home/pi/Desktop/images/09122025/02/59/image_09122025_02_59_24_10549.jpg
/home/pi/Desktop/images/09122025/03/01/image_09122025_03_01_24_10835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492788","1398492775","1398492784","1398492792","1398492780","1398492774"],"photo_ids_order":["1398492774","1398492775","1398492780","1398492784","1398492788","1398492792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d35268f05e7f6a335c9d21b75466c83e.jpg","text":"TemporaryFile(/tmp/multipartBody2790926531332319116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_02_59_24_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5fa7253f74709e7fc3e97c0c5e823e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1060288631110516419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_02_57_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/781eb46c3c7463995edaf582f44f8cc2.jpg","text":"TemporaryFile(/tmp/multipartBody8957263147191473655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_02_58_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4c35b4ac89b42f0505183b407e7f0d7.jpg","text":"TemporaryFile(/tmp/multipartBody1403767306328541112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_03_01_24_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3b7139176399738fbc86a4c3e4c4435.jpg","text":"TemporaryFile(/tmp/multipartBody8438020956557835823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_02_57_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2ed6330cd8cf49acaaf4d68972314e7.jpg","text":"TemporaryFile(/tmp/multipartBody7332512694617834476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288222817,"filename":"image_09122025_02_55_44_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492780","file1":"1398492775","file0":"1398492774","file4":"1398492788","file5":"1398492792","file3":"1398492784"},"map_files_photo_id_array":[{"photo_id":"1398492792","filename":"file5"},{"photo_id":"1398492780","filename":"file2"},{"photo_id":"1398492788","filename":"file4"},{"photo_id":"1398492775","filename":"file1"},{"photo_id":"1398492774","filename":"file0"},{"photo_id":"1398492784","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398492788":["hashtag1","hashtag2"]},{"1398492775":["hashtag1","hashtag2"]},{"1398492784":["hashtag1","hashtag2"]},{"1398492792":["hashtag1","hashtag2"]},{"1398492780":["hashtag1","hashtag2"]},{"1398492774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398492788, 1398492775, 1398492784, 1398492792, 1398492780, 1398492774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71784281730652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:50:02.785476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/01/image_09122025_03_01_34_9649.jpg', '/home/pi/Desktop/images/09122025/03/02/image_09122025_03_02_24_9831.jpg', '/home/pi/Desktop/images/09122025/03/02/image_09122025_03_02_44_9638.jpg', '/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_14_9599.jpg', '/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_44_9641.jpg', '/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/01/image_09122025_03_01_34_9649.jpg
/home/pi/Desktop/images/09122025/03/02/image_09122025_03_02_24_9831.jpg
/home/pi/Desktop/images/09122025/03/02/image_09122025_03_02_44_9638.jpg
/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_14_9599.jpg
/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_44_9641.jpg
/home/pi/Desktop/images/09122025/03/03/image_09122025_03_03_54_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492815","1398492799","1398492802","1398492805","1398492810","1398492807"],"photo_ids_order":["1398492799","1398492802","1398492805","1398492807","1398492810","1398492815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3404c69b87fd8b483a4c11f74526030e.jpg","text":"TemporaryFile(/tmp/multipartBody8280942509085425707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_03_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67464db0e828752d7cb4a76f574be5c7.jpg","text":"TemporaryFile(/tmp/multipartBody6406790922043010144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_01_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65dfe99fb1ac2856deebf12c09550c55.jpg","text":"TemporaryFile(/tmp/multipartBody427048329057147058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_02_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c525edfe5008a5ea263a44fdb63ffec8.jpg","text":"TemporaryFile(/tmp/multipartBody1374838627092106449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_02_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55ffb310966ddabbc2e1e0a7a78ed139.jpg","text":"TemporaryFile(/tmp/multipartBody6701100147435280159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_03_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c15d82a8b9142410de69366c9a23cf89.jpg","text":"TemporaryFile(/tmp/multipartBody6521748700185016106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288263832,"filename":"image_09122025_03_03_14_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492805","file1":"1398492802","file0":"1398492799","file4":"1398492810","file5":"1398492815","file3":"1398492807"},"map_files_photo_id_array":[{"photo_id":"1398492815","filename":"file5"},{"photo_id":"1398492805","filename":"file2"},{"photo_id":"1398492810","filename":"file4"},{"photo_id":"1398492802","filename":"file1"},{"photo_id":"1398492799","filename":"file0"},{"photo_id":"1398492807","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398492815":["hashtag1","hashtag2"]},{"1398492799":["hashtag1","hashtag2"]},{"1398492802":["hashtag1","hashtag2"]},{"1398492805":["hashtag1","hashtag2"]},{"1398492810":["hashtag1","hashtag2"]},{"1398492807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398492815, 1398492799, 1398492802, 1398492805, 1398492810, 1398492807)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.727379322052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:51:03.243018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/03/image_09122025_03_04_04_10694.jpg', '/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_34_10703.jpg', '/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_44_9684.jpg', '/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_54_9654.jpg', '/home/pi/Desktop/images/09122025/03/04/image_09122025_03_05_04_9777.jpg', '/home/pi/Desktop/images/09122025/03/06/image_09122025_03_07_04_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/03/image_09122025_03_04_04_10694.jpg
/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_34_10703.jpg
/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_44_9684.jpg
/home/pi/Desktop/images/09122025/03/04/image_09122025_03_04_54_9654.jpg
/home/pi/Desktop/images/09122025/03/04/image_09122025_03_05_04_9777.jpg
/home/pi/Desktop/images/09122025/03/06/image_09122025_03_07_04_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492851","1398492854","1398492856","1398492859","1398492867","1398492864"],"photo_ids_order":["1398492851","1398492854","1398492856","1398492859","1398492864","1398492867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acc9d63e978721da9e52fcd69fc44303.jpg","text":"TemporaryFile(/tmp/multipartBody5969482537258483091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_04_04_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f53b5ba5cd79c66cdfeb1e3313ebf22e.jpg","text":"TemporaryFile(/tmp/multipartBody1372201359095574567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_04_34_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3cb7d2ff1dceb3f363dfdef2e32a685e.jpg","text":"TemporaryFile(/tmp/multipartBody4641940986272296292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_04_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06f8a3d42b8989ac1d5d0ff16756d679.jpg","text":"TemporaryFile(/tmp/multipartBody6721890845517696086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_04_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d8b1165331aff5bdb2077086861aaaca.jpg","text":"TemporaryFile(/tmp/multipartBody7502620171618729389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_07_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab04285b7ae0c4334f779f1186f7cc35.jpg","text":"TemporaryFile(/tmp/multipartBody5744237787018223603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288323892,"filename":"image_09122025_03_05_04_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492856","file1":"1398492854","file0":"1398492851","file4":"1398492864","file5":"1398492867","file3":"1398492859"},"map_files_photo_id_array":[{"photo_id":"1398492867","filename":"file5"},{"photo_id":"1398492856","filename":"file2"},{"photo_id":"1398492864","filename":"file4"},{"photo_id":"1398492854","filename":"file1"},{"photo_id":"1398492851","filename":"file0"},{"photo_id":"1398492859","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398492851":["hashtag1","hashtag2"]},{"1398492854":["hashtag1","hashtag2"]},{"1398492856":["hashtag1","hashtag2"]},{"1398492859":["hashtag1","hashtag2"]},{"1398492867":["hashtag1","hashtag2"]},{"1398492864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398492851, 1398492854, 1398492856, 1398492859, 1398492867, 1398492864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.969958543777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:52:03.163822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/07/image_09122025_03_07_14_9643.jpg', '/home/pi/Desktop/images/09122025/03/07/image_09122025_03_07_24_10643.jpg', '/home/pi/Desktop/images/09122025/03/08/image_09122025_03_08_24_9730.jpg', '/home/pi/Desktop/images/09122025/03/08/image_09122025_03_08_34_10522.jpg', '/home/pi/Desktop/images/09122025/03/08/image_09122025_03_09_04_10631.jpg', '/home/pi/Desktop/images/09122025/03/09/image_09122025_03_09_34_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/07/image_09122025_03_07_14_9643.jpg
/home/pi/Desktop/images/09122025/03/07/image_09122025_03_07_24_10643.jpg
/home/pi/Desktop/images/09122025/03/08/image_09122025_03_08_24_9730.jpg
/home/pi/Desktop/images/09122025/03/08/image_09122025_03_08_34_10522.jpg
/home/pi/Desktop/images/09122025/03/08/image_09122025_03_09_04_10631.jpg
/home/pi/Desktop/images/09122025/03/09/image_09122025_03_09_34_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398492890","1398492884","1398492893","1398492887","1398492881","1398492896"],"photo_ids_order":["1398492881","1398492884","1398492887","1398492890","1398492893","1398492896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a33c603f888bc17f88215466f284bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1786600329977418336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_08_34_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a1b6b275cb3be98b1d2c701dda6b255.jpg","text":"TemporaryFile(/tmp/multipartBody4171539494610946234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_07_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f34891af8e3d21b3a1b9e7559d54e342.jpg","text":"TemporaryFile(/tmp/multipartBody8607334060709546249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_09_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79ca892c3ea038f19e4a70d5a7b13758.jpg","text":"TemporaryFile(/tmp/multipartBody2698503356893513740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_08_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6b0a1918708df3dfe8fea90271b62d05.jpg","text":"TemporaryFile(/tmp/multipartBody4526975195412900978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_07_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c685a38670e39d91a0c0cf5bd8b57e2.jpg","text":"TemporaryFile(/tmp/multipartBody1887103522072949865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288383836,"filename":"image_09122025_03_09_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398492887","file1":"1398492884","file0":"1398492881","file4":"1398492893","file5":"1398492896","file3":"1398492890"},"map_files_photo_id_array":[{"photo_id":"1398492896","filename":"file5"},{"photo_id":"1398492887","filename":"file2"},{"photo_id":"1398492893","filename":"file4"},{"photo_id":"1398492884","filename":"file1"},{"photo_id":"1398492881","filename":"file0"},{"photo_id":"1398492890","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398492890":["hashtag1","hashtag2"]},{"1398492884":["hashtag1","hashtag2"]},{"1398492893":["hashtag1","hashtag2"]},{"1398492887":["hashtag1","hashtag2"]},{"1398492881":["hashtag1","hashtag2"]},{"1398492896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398492890, 1398492884, 1398492893, 1398492887, 1398492881, 1398492896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88550877571106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 14:52:42.626247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_19_2608.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_21_2769.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_25_3705.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_28_2706.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_31_2758.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_37_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_19_2608.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_21_2769.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_25_3705.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_28_2706.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_31_2758.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_37_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398493480","1398493357","1398493243","1398493476","1398493128","1398493469"],"photo_ids_order":["1398493128","1398493243","1398493357","1398493469","1398493476","1398493480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3093db642ebf02967071f27429b2e694.jpg","text":"TemporaryFile(/tmp/multipartBody4117954508112448547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_37_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2dc2831d44a62da98ff9fad9c5d4105.jpg","text":"TemporaryFile(/tmp/multipartBody2169957495832374162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_25_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5570c09f1dd2ba1ccf80b31d91ad1361.jpg","text":"TemporaryFile(/tmp/multipartBody7954378889273632115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_21_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6ed43b83f0e117ae43d18baac348708.jpg","text":"TemporaryFile(/tmp/multipartBody7179501975622623851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_31_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa35e349d1883bd389cba01e9ced028b.jpg","text":"TemporaryFile(/tmp/multipartBody465846363754717191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_19_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff806c1fd0b9d1f58986880751cf2443.jpg","text":"TemporaryFile(/tmp/multipartBody6304220430280604546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288423637,"filename":"image_01112025_19_11_28_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398493357","file1":"1398493243","file0":"1398493128","file4":"1398493476","file5":"1398493480","file3":"1398493469"},"map_files_photo_id_array":[{"photo_id":"1398493480","filename":"file5"},{"photo_id":"1398493357","filename":"file2"},{"photo_id":"1398493476","filename":"file4"},{"photo_id":"1398493243","filename":"file1"},{"photo_id":"1398493128","filename":"file0"},{"photo_id":"1398493469","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398493480":["hashtag1","hashtag2"]},{"1398493357":["hashtag1","hashtag2"]},{"1398493243":["hashtag1","hashtag2"]},{"1398493476":["hashtag1","hashtag2"]},{"1398493128":["hashtag1","hashtag2"]},{"1398493469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398493480, 1398493357, 1398493243, 1398493476, 1398493128, 1398493469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85301971435547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 14:53:21.865422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/09/image_09122025_03_09_44_9682.jpg', '/home/pi/Desktop/images/09122025/03/11/image_09122025_03_11_34_9844.jpg', '/home/pi/Desktop/images/09122025/03/11/image_09122025_03_11_44_10718.jpg', '/home/pi/Desktop/images/09122025/03/12/image_09122025_03_12_44_10761.jpg', '/home/pi/Desktop/images/09122025/03/13/image_09122025_03_13_14_10592.jpg', '/home/pi/Desktop/images/09122025/03/13/image_09122025_03_13_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/09/image_09122025_03_09_44_9682.jpg
/home/pi/Desktop/images/09122025/03/11/image_09122025_03_11_34_9844.jpg
/home/pi/Desktop/images/09122025/03/11/image_09122025_03_11_44_10718.jpg
/home/pi/Desktop/images/09122025/03/12/image_09122025_03_12_44_10761.jpg
/home/pi/Desktop/images/09122025/03/13/image_09122025_03_13_14_10592.jpg
/home/pi/Desktop/images/09122025/03/13/image_09122025_03_13_34_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398493616","1398493619","1398493666","1398493623","1398493598","1398493565"],"photo_ids_order":["1398493565","1398493598","1398493616","1398493619","1398493623","1398493666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3263e0923a3b730b5c39cfb7a993e962.jpg","text":"TemporaryFile(/tmp/multipartBody5332286049808299315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_11_44_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e86ac415fa8f95773c80de0da0afbd7c.jpg","text":"TemporaryFile(/tmp/multipartBody1770764378378923999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_12_44_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2969fb94ef29034fb69aaa9f5ef3a2c4.jpg","text":"TemporaryFile(/tmp/multipartBody974363283481090584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_13_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3fe97f8ff87a7dcb5a7ba8c0a09f722.jpg","text":"TemporaryFile(/tmp/multipartBody8848996118734850295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_13_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b785bb99b839ad9e9e7a48f2eb65235b.jpg","text":"TemporaryFile(/tmp/multipartBody7775593948335079097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_11_34_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b8825bddaa96f73842dee9c8395cedc.jpg","text":"TemporaryFile(/tmp/multipartBody2154537341011339697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288462470,"filename":"image_09122025_03_09_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398493616","file1":"1398493598","file0":"1398493565","file4":"1398493623","file5":"1398493666","file3":"1398493619"},"map_files_photo_id_array":[{"photo_id":"1398493666","filename":"file5"},{"photo_id":"1398493616","filename":"file2"},{"photo_id":"1398493623","filename":"file4"},{"photo_id":"1398493598","filename":"file1"},{"photo_id":"1398493565","filename":"file0"},{"photo_id":"1398493619","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398493616":["hashtag1","hashtag2"]},{"1398493619":["hashtag1","hashtag2"]},{"1398493666":["hashtag1","hashtag2"]},{"1398493623":["hashtag1","hashtag2"]},{"1398493598":["hashtag1","hashtag2"]},{"1398493565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398493616, 1398493619, 1398493666, 1398493623, 1398493598, 1398493565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.226144313812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:54:02.816057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/13/image_09122025_03_14_04_10614.jpg', '/home/pi/Desktop/images/09122025/03/14/image_09122025_03_14_34_10561.jpg', '/home/pi/Desktop/images/09122025/03/15/image_09122025_03_15_34_9749.jpg', '/home/pi/Desktop/images/09122025/03/15/image_09122025_03_15_44_10660.jpg', '/home/pi/Desktop/images/09122025/03/16/image_09122025_03_16_34_10581.jpg', '/home/pi/Desktop/images/09122025/03/16/image_09122025_03_17_04_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/13/image_09122025_03_14_04_10614.jpg
/home/pi/Desktop/images/09122025/03/14/image_09122025_03_14_34_10561.jpg
/home/pi/Desktop/images/09122025/03/15/image_09122025_03_15_34_9749.jpg
/home/pi/Desktop/images/09122025/03/15/image_09122025_03_15_44_10660.jpg
/home/pi/Desktop/images/09122025/03/16/image_09122025_03_16_34_10581.jpg
/home/pi/Desktop/images/09122025/03/16/image_09122025_03_17_04_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398494000","1398493924","1398493962","1398493816","1398494045","1398493883"],"photo_ids_order":["1398493816","1398493883","1398493924","1398493962","1398494000","1398494045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a43a8cd0e2fdaeb415624377f80f5ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4920504221582454312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_16_34_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d855f7a213f02a681af2c1cd1623dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody5897762377882044399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_15_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dae81a72f11f9d142e6bdbad3a3a02fe.jpg","text":"TemporaryFile(/tmp/multipartBody2834178896387565549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_15_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d114e7c15ff917046638024daa263c03.jpg","text":"TemporaryFile(/tmp/multipartBody8825510545692662105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_14_04_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d79abac97e7b780c574e545de1a20ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7972477243880914162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_17_04_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cbc923a303c8191f6ea0c28e776621e.jpg","text":"TemporaryFile(/tmp/multipartBody6120404668785887339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288503497,"filename":"image_09122025_03_14_34_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398493924","file1":"1398493883","file0":"1398493816","file4":"1398494000","file5":"1398494045","file3":"1398493962"},"map_files_photo_id_array":[{"photo_id":"1398494045","filename":"file5"},{"photo_id":"1398493924","filename":"file2"},{"photo_id":"1398494000","filename":"file4"},{"photo_id":"1398493883","filename":"file1"},{"photo_id":"1398493816","filename":"file0"},{"photo_id":"1398493962","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398494000":["hashtag1","hashtag2"]},{"1398493924":["hashtag1","hashtag2"]},{"1398493962":["hashtag1","hashtag2"]},{"1398493816":["hashtag1","hashtag2"]},{"1398494045":["hashtag1","hashtag2"]},{"1398493883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398494000, 1398493924, 1398493962, 1398493816, 1398494045, 1398493883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.342283725738525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:55:02.968414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/17/image_09122025_03_17_24_9732.jpg', '/home/pi/Desktop/images/09122025/03/20/image_09122025_03_20_24_9612.jpg', '/home/pi/Desktop/images/09122025/03/20/image_09122025_03_21_04_9619.jpg', '/home/pi/Desktop/images/09122025/03/21/image_09122025_03_21_34_9711.jpg', '/home/pi/Desktop/images/09122025/03/22/image_09122025_03_22_24_10656.jpg', '/home/pi/Desktop/images/09122025/03/23/image_09122025_03_24_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/17/image_09122025_03_17_24_9732.jpg
/home/pi/Desktop/images/09122025/03/20/image_09122025_03_20_24_9612.jpg
/home/pi/Desktop/images/09122025/03/20/image_09122025_03_21_04_9619.jpg
/home/pi/Desktop/images/09122025/03/21/image_09122025_03_21_34_9711.jpg
/home/pi/Desktop/images/09122025/03/22/image_09122025_03_22_24_10656.jpg
/home/pi/Desktop/images/09122025/03/23/image_09122025_03_24_04_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398494201","1398494245","1398494274","1398494212","1398494304","1398494316"],"photo_ids_order":["1398494201","1398494212","1398494245","1398494274","1398494304","1398494316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac145ae0c279270d469a6ec1e957fcba.jpg","text":"TemporaryFile(/tmp/multipartBody1616035004019295790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_17_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/333d6d471b70dad654ab4208ed852730.jpg","text":"TemporaryFile(/tmp/multipartBody9037674721124496913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_21_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8fcf6382782be2116de1fa14a384a21.jpg","text":"TemporaryFile(/tmp/multipartBody2397252308072713832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_21_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0bef078ec5f0e2bdefc232188c99a872.jpg","text":"TemporaryFile(/tmp/multipartBody1402406118976399532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_20_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/014ca014da8b64791457e87728a2e8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3415598428142283348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_22_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fe9fd04d4b364ed825b0f6cc93e1870.jpg","text":"TemporaryFile(/tmp/multipartBody3528566550050577193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288563677,"filename":"image_09122025_03_24_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398494245","file1":"1398494212","file0":"1398494201","file4":"1398494304","file5":"1398494316","file3":"1398494274"},"map_files_photo_id_array":[{"photo_id":"1398494316","filename":"file5"},{"photo_id":"1398494245","filename":"file2"},{"photo_id":"1398494304","filename":"file4"},{"photo_id":"1398494212","filename":"file1"},{"photo_id":"1398494201","filename":"file0"},{"photo_id":"1398494274","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398494201":["hashtag1","hashtag2"]},{"1398494245":["hashtag1","hashtag2"]},{"1398494274":["hashtag1","hashtag2"]},{"1398494212":["hashtag1","hashtag2"]},{"1398494304":["hashtag1","hashtag2"]},{"1398494316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398494201, 1398494245, 1398494274, 1398494212, 1398494304, 1398494316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31193995475769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:56:03.165412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_14_9584.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_24_10642.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_34_9780.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_25_04_9584.jpg', '/home/pi/Desktop/images/09122025/03/25/image_09122025_03_25_34_9648.jpg', '/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_14_9584.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_24_10642.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_34_9780.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_25_04_9584.jpg
/home/pi/Desktop/images/09122025/03/25/image_09122025_03_25_34_9648.jpg
/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_34_9654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5346789360046387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 14:56:12.743066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_15_9767.jpg', '/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_35_9549.jpg', '/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_45_10681.jpg', '/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_55_9756.jpg', '/home/pi/Desktop/images/08122025/12/40/image_08122025_12_41_05_9611.jpg', '/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_15_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_15_9767.jpg
/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_35_9549.jpg
/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_45_10681.jpg
/home/pi/Desktop/images/08122025/12/40/image_08122025_12_40_55_9756.jpg
/home/pi/Desktop/images/08122025/12/40/image_08122025_12_41_05_9611.jpg
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_15_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398494530","1398494391","1398494388","1398494480","1398494384","1398494429"],"photo_ids_order":["1398494384","1398494388","1398494391","1398494429","1398494480","1398494530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ff4b893074816d561fe7b2e80111831.jpg","text":"TemporaryFile(/tmp/multipartBody3211824838417362009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_41_15_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f6bb983ff56ec8688f5c79fa22488d9.jpg","text":"TemporaryFile(/tmp/multipartBody8624476081963840194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_40_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8fc42aa3a7ff2cde953fe3f22777466e.jpg","text":"TemporaryFile(/tmp/multipartBody714435643182580624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_40_35_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e4bde78a439e3c67ffba25455081b28.jpg","text":"TemporaryFile(/tmp/multipartBody5962950726971244019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_41_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16e79afb924f38627d96d4f460619377.jpg","text":"TemporaryFile(/tmp/multipartBody551945531321694655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_40_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f932a2c6185988011551984d0d30962.jpg","text":"TemporaryFile(/tmp/multipartBody7403249079559206645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288634653,"filename":"image_08122025_12_40_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398494391","file1":"1398494388","file0":"1398494384","file4":"1398494480","file5":"1398494530","file3":"1398494429"},"map_files_photo_id_array":[{"photo_id":"1398494530","filename":"file5"},{"photo_id":"1398494391","filename":"file2"},{"photo_id":"1398494480","filename":"file4"},{"photo_id":"1398494388","filename":"file1"},{"photo_id":"1398494384","filename":"file0"},{"photo_id":"1398494429","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398494530":["hashtag1","hashtag2"]},{"1398494391":["hashtag1","hashtag2"]},{"1398494388":["hashtag1","hashtag2"]},{"1398494480":["hashtag1","hashtag2"]},{"1398494384":["hashtag1","hashtag2"]},{"1398494429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398494530, 1398494391, 1398494388, 1398494480, 1398494384, 1398494429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61116099357605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:57:02.492337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_14_9584.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_24_10642.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_34_9780.jpg', '/home/pi/Desktop/images/09122025/03/24/image_09122025_03_25_04_9584.jpg', '/home/pi/Desktop/images/09122025/03/25/image_09122025_03_25_34_9648.jpg', '/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_14_9584.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_24_10642.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_24_34_9780.jpg
/home/pi/Desktop/images/09122025/03/24/image_09122025_03_25_04_9584.jpg
/home/pi/Desktop/images/09122025/03/25/image_09122025_03_25_34_9648.jpg
/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_34_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398494731","1398494763","1398494757","1398494760","1398494690","1398494747"],"photo_ids_order":["1398494690","1398494731","1398494747","1398494757","1398494760","1398494763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86f43e72e12352c6ecd3c7c55bc9b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4568189526577411975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_24_24_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b112a176f6b87e3aa88c5c461827d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2665476792628971046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_26_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58ce8b2124d080abc445ba4fe5795be4.jpg","text":"TemporaryFile(/tmp/multipartBody3399943553404475478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_25_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6562e3dc22cd1bb889cb9b08f89696b5.jpg","text":"TemporaryFile(/tmp/multipartBody4738987841504933326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_25_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b85de9ea473c936228b7b6424c1e55d.jpg","text":"TemporaryFile(/tmp/multipartBody4232127312809242820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_24_14_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fcec491d3f7824972dec20ce70ee2d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3205654116288934066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288683507,"filename":"image_09122025_03_24_34_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398494747","file1":"1398494731","file0":"1398494690","file4":"1398494760","file5":"1398494763","file3":"1398494757"},"map_files_photo_id_array":[{"photo_id":"1398494763","filename":"file5"},{"photo_id":"1398494747","filename":"file2"},{"photo_id":"1398494760","filename":"file4"},{"photo_id":"1398494731","filename":"file1"},{"photo_id":"1398494690","filename":"file0"},{"photo_id":"1398494757","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398494731":["hashtag1","hashtag2"]},{"1398494763":["hashtag1","hashtag2"]},{"1398494757":["hashtag1","hashtag2"]},{"1398494760":["hashtag1","hashtag2"]},{"1398494690":["hashtag1","hashtag2"]},{"1398494747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398494731, 1398494763, 1398494757, 1398494760, 1398494690, 1398494747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64352202415466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 14:59:03.309827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_54_10725.jpg', '/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_34_9897.jpg', '/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_44_9793.jpg', '/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_54_9588.jpg', '/home/pi/Desktop/images/09122025/03/27/image_09122025_03_28_04_9877.jpg', '/home/pi/Desktop/images/09122025/03/28/image_09122025_03_28_34_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/26/image_09122025_03_26_54_10725.jpg
/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_34_9897.jpg
/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_44_9793.jpg
/home/pi/Desktop/images/09122025/03/27/image_09122025_03_27_54_9588.jpg
/home/pi/Desktop/images/09122025/03/27/image_09122025_03_28_04_9877.jpg
/home/pi/Desktop/images/09122025/03/28/image_09122025_03_28_34_9751.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
after request
<Response [200]>
b'{"photo_ids":["1398495343","1398495424","1398495678","1398495453","1398495602","1398495493"],"photo_ids_order":["1398495343","1398495424","1398495453","1398495493","1398495602","1398495678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8f05aec7558b774f038d66882d27450.jpg","text":"TemporaryFile(/tmp/multipartBody1034856823523641740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_26_54_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aff338d483251ef76e94966b17c79de5.jpg","text":"TemporaryFile(/tmp/multipartBody8183710845231255817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_27_34_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61be14b1ae30173a5824b5b0a45d393b.jpg","text":"TemporaryFile(/tmp/multipartBody2732498054880754662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_28_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fd9d8c3e054b3960a4a657e96d783a8.jpg","text":"TemporaryFile(/tmp/multipartBody7678670744683303456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_27_44_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e60cb5c6d9bb0f0cf03385a7eaeb802.jpg","text":"TemporaryFile(/tmp/multipartBody5474939217151936063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_28_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/527fc4cd4c480742bfd821cd50b21a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1832128337823273687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288804277,"filename":"image_09122025_03_27_54_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398495453","file1":"1398495424","file0":"1398495343","file4":"1398495602","file5":"1398495678","file3":"1398495493"},"map_files_photo_id_array":[{"photo_id":"1398495678","filename":"file5"},{"photo_id":"1398495453","filename":"file2"},{"photo_id":"1398495602","filename":"file4"},{"photo_id":"1398495424","filename":"file1"},{"photo_id":"1398495343","filename":"file0"},{"photo_id":"1398495493","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398495343":["hashtag1","hashtag2"]},{"1398495424":["hashtag1","hashtag2"]},{"1398495678":["hashtag1","hashtag2"]},{"1398495453":["hashtag1","hashtag2"]},{"1398495602":["hashtag1","hashtag2"]},{"1398495493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398495343, 1398495424, 1398495678, 1398495453, 1398495602, 1398495493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.58359956741333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 15:00:12.694690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_25_10621.jpg', '/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_35_9540.jpg', '/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_45_9829.jpg', '/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_55_10599.jpg', '/home/pi/Desktop/images/08122025/12/41/image_08122025_12_42_05_9767.jpg', '/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_15_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_25_10621.jpg
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_35_9540.jpg
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_45_9829.jpg
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_41_55_10599.jpg
/home/pi/Desktop/images/08122025/12/41/image_08122025_12_42_05_9767.jpg
/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_15_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398496035","1398496373","1398496307","1398496147","1398496096","1398496222"],"photo_ids_order":["1398496035","1398496096","1398496147","1398496222","1398496307","1398496373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25db4af63f428867ae0815d386b6ab74.jpg","text":"TemporaryFile(/tmp/multipartBody1196808860341573845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_41_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c75dab42128e6b1e3fd5d8aed3cbc1a.jpg","text":"TemporaryFile(/tmp/multipartBody7595281337728086540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_42_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/48a880672cf9fcf549bdb019fb7e610e.jpg","text":"TemporaryFile(/tmp/multipartBody1190239026772261793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_42_05_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/034fd504e562d2ee9773a26d1d6cbe34.jpg","text":"TemporaryFile(/tmp/multipartBody8326417305603278761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_41_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62b0d0ba745f4400ec04572d9c49cb46.jpg","text":"TemporaryFile(/tmp/multipartBody1638911826275629558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_41_35_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44526ae86bc6b2e05016629c5ab88107.jpg","text":"TemporaryFile(/tmp/multipartBody8087326720505816702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288874542,"filename":"image_08122025_12_41_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398496147","file1":"1398496096","file0":"1398496035","file4":"1398496307","file5":"1398496373","file3":"1398496222"},"map_files_photo_id_array":[{"photo_id":"1398496373","filename":"file5"},{"photo_id":"1398496147","filename":"file2"},{"photo_id":"1398496307","filename":"file4"},{"photo_id":"1398496096","filename":"file1"},{"photo_id":"1398496035","filename":"file0"},{"photo_id":"1398496222","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398496035":["hashtag1","hashtag2"]},{"1398496373":["hashtag1","hashtag2"]},{"1398496307":["hashtag1","hashtag2"]},{"1398496147":["hashtag1","hashtag2"]},{"1398496096":["hashtag1","hashtag2"]},{"1398496222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398496035, 1398496373, 1398496307, 1398496147, 1398496096, 1398496222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.635406494140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:01:02.648568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/28/image_09122025_03_28_54_9600.jpg', '/home/pi/Desktop/images/09122025/03/28/image_09122025_03_29_04_9777.jpg', '/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_14_10568.jpg', '/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_24_9609.jpg', '/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_44_10774.jpg', '/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_54_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/28/image_09122025_03_28_54_9600.jpg
/home/pi/Desktop/images/09122025/03/28/image_09122025_03_29_04_9777.jpg
/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_14_10568.jpg
/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_24_9609.jpg
/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_44_10774.jpg
/home/pi/Desktop/images/09122025/03/29/image_09122025_03_29_54_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398497033","1398496832","1398496901","1398497002","1398496741","1398496957"],"photo_ids_order":["1398496741","1398496832","1398496901","1398496957","1398497002","1398497033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d475bc562c90b5d4058a1f63973c4336.jpg","text":"TemporaryFile(/tmp/multipartBody2230772132461746038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_29_54_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61cbb6241ac42a885430474c8c85aa13.jpg","text":"TemporaryFile(/tmp/multipartBody1988373252494279393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_29_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c56845d6041b4d6bdb340db7eccb55e3.jpg","text":"TemporaryFile(/tmp/multipartBody5540445490625902860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_29_14_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78299506409fe9ff1180aa82641ffbcf.jpg","text":"TemporaryFile(/tmp/multipartBody8534230118106898554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_29_44_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fb0641f73a7aec9135b1e3ecd2bfcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7870142901435172001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_28_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f4f5913b421243e736898ccbadf0e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5464975583434424277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288923326,"filename":"image_09122025_03_29_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398496901","file1":"1398496832","file0":"1398496741","file4":"1398497002","file5":"1398497033","file3":"1398496957"},"map_files_photo_id_array":[{"photo_id":"1398497033","filename":"file5"},{"photo_id":"1398496901","filename":"file2"},{"photo_id":"1398497002","filename":"file4"},{"photo_id":"1398496832","filename":"file1"},{"photo_id":"1398496741","filename":"file0"},{"photo_id":"1398496957","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398497033":["hashtag1","hashtag2"]},{"1398496832":["hashtag1","hashtag2"]},{"1398496901":["hashtag1","hashtag2"]},{"1398497002":["hashtag1","hashtag2"]},{"1398496741":["hashtag1","hashtag2"]},{"1398496957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398497033, 1398496832, 1398496901, 1398497002, 1398496741, 1398496957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68788933753967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:02:02.611153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/29/image_09122025_03_30_04_9824.jpg', '/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_24_10726.jpg', '/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_34_9631.jpg', '/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_44_9593.jpg', '/home/pi/Desktop/images/09122025/03/32/image_09122025_03_32_14_9881.jpg', '/home/pi/Desktop/images/09122025/03/32/image_09122025_03_32_54_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/29/image_09122025_03_30_04_9824.jpg
/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_24_10726.jpg
/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_34_9631.jpg
/home/pi/Desktop/images/09122025/03/31/image_09122025_03_31_44_9593.jpg
/home/pi/Desktop/images/09122025/03/32/image_09122025_03_32_14_9881.jpg
/home/pi/Desktop/images/09122025/03/32/image_09122025_03_32_54_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398497297","1398497153","1398497249","1398497386","1398497188","1398497355"],"photo_ids_order":["1398497153","1398497188","1398497249","1398497297","1398497355","1398497386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f19f2cf3e442beefda60e2a85ce6c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody5590373096966888571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_31_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3f1bc644ea9a683ff13c1b3b8cb1a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4541004460223708754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_30_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c5250025c8ba0645b4f6073c82a8cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2204969147439842568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_31_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9c14d30586c6312e8dfd119acc6d00f.jpg","text":"TemporaryFile(/tmp/multipartBody3998286648817872769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_32_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88d556c15322b5747fbeb805fbf7a322.jpg","text":"TemporaryFile(/tmp/multipartBody6543118347193571417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_31_24_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21f59b6ec2b1fc77f0a17cd28262f58b.jpg","text":"TemporaryFile(/tmp/multipartBody7222679579144455351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765288983381,"filename":"image_09122025_03_32_14_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398497249","file1":"1398497188","file0":"1398497153","file4":"1398497355","file5":"1398497386","file3":"1398497297"},"map_files_photo_id_array":[{"photo_id":"1398497386","filename":"file5"},{"photo_id":"1398497249","filename":"file2"},{"photo_id":"1398497355","filename":"file4"},{"photo_id":"1398497188","filename":"file1"},{"photo_id":"1398497153","filename":"file0"},{"photo_id":"1398497297","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398497297":["hashtag1","hashtag2"]},{"1398497153":["hashtag1","hashtag2"]},{"1398497249":["hashtag1","hashtag2"]},{"1398497386":["hashtag1","hashtag2"]},{"1398497188":["hashtag1","hashtag2"]},{"1398497355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398497297, 1398497153, 1398497249, 1398497386, 1398497188, 1398497355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60486602783203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:03:03.133336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/33/image_09122025_03_33_14_9595.jpg', '/home/pi/Desktop/images/09122025/03/33/image_09122025_03_33_34_9665.jpg', '/home/pi/Desktop/images/09122025/03/35/image_09122025_03_35_24_10688.jpg', '/home/pi/Desktop/images/09122025/03/35/image_09122025_03_35_34_9604.jpg', '/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_14_9660.jpg', '/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_24_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/33/image_09122025_03_33_14_9595.jpg
/home/pi/Desktop/images/09122025/03/33/image_09122025_03_33_34_9665.jpg
/home/pi/Desktop/images/09122025/03/35/image_09122025_03_35_24_10688.jpg
/home/pi/Desktop/images/09122025/03/35/image_09122025_03_35_34_9604.jpg
/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_14_9660.jpg
/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_24_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398498017","1398498008","1398497945","1398497804","1398498019","1398497880"],"photo_ids_order":["1398497804","1398497880","1398497945","1398498008","1398498017","1398498019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be0fb2eecbe9e6ce4e0f99033a3a47da.jpg","text":"TemporaryFile(/tmp/multipartBody677068348755701505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_37_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e83dc5519d214b4a19783dd1da62778a.jpg","text":"TemporaryFile(/tmp/multipartBody978404220057710609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_35_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a953b574a54c41e6891a1393ae16b534.jpg","text":"TemporaryFile(/tmp/multipartBody80938686347817486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_35_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4eb642951a617920154d9a0ca677252.jpg","text":"TemporaryFile(/tmp/multipartBody1695896249809714263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_33_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5556570fb66c6da0c74121c327f56479.jpg","text":"TemporaryFile(/tmp/multipartBody8134202758990946761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_37_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4f91931a65d6f29397192a084276459.jpg","text":"TemporaryFile(/tmp/multipartBody6579554197550050116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289044094,"filename":"image_09122025_03_33_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398497945","file1":"1398497880","file0":"1398497804","file4":"1398498017","file5":"1398498019","file3":"1398498008"},"map_files_photo_id_array":[{"photo_id":"1398498019","filename":"file5"},{"photo_id":"1398497945","filename":"file2"},{"photo_id":"1398498017","filename":"file4"},{"photo_id":"1398497880","filename":"file1"},{"photo_id":"1398497804","filename":"file0"},{"photo_id":"1398498008","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398498017":["hashtag1","hashtag2"]},{"1398498008":["hashtag1","hashtag2"]},{"1398497945":["hashtag1","hashtag2"]},{"1398497804":["hashtag1","hashtag2"]},{"1398498019":["hashtag1","hashtag2"]},{"1398497880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398498017, 1398498008, 1398497945, 1398497804, 1398498019, 1398497880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28695464134216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:04:03.406802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_34_10679.jpg', '/home/pi/Desktop/images/09122025/03/38/image_09122025_03_38_24_9830.jpg', '/home/pi/Desktop/images/09122025/03/38/image_09122025_03_38_44_9665.jpg', '/home/pi/Desktop/images/09122025/03/40/image_09122025_03_40_14_9588.jpg', '/home/pi/Desktop/images/09122025/03/40/image_09122025_03_40_34_9681.jpg', '/home/pi/Desktop/images/09122025/03/40/image_09122025_03_41_04_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/37/image_09122025_03_37_34_10679.jpg
/home/pi/Desktop/images/09122025/03/38/image_09122025_03_38_24_9830.jpg
/home/pi/Desktop/images/09122025/03/38/image_09122025_03_38_44_9665.jpg
/home/pi/Desktop/images/09122025/03/40/image_09122025_03_40_14_9588.jpg
/home/pi/Desktop/images/09122025/03/40/image_09122025_03_40_34_9681.jpg
/home/pi/Desktop/images/09122025/03/40/image_09122025_03_41_04_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398498296","1398498383","1398498323","1398498251","1398498353","1398498418"],"photo_ids_order":["1398498251","1398498296","1398498323","1398498353","1398498383","1398498418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/167dea9f2f3aa6c703204d79f5836626.jpg","text":"TemporaryFile(/tmp/multipartBody174456537754505776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_38_24_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d27f6c592dfcbdc84acbe4271446d5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4612724153009409364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_40_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/59daec4924dbf10f5c1ae4ddcc557691.jpg","text":"TemporaryFile(/tmp/multipartBody6679369481971535169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_38_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/676ae4033c9740749871d4eae72df0d8.jpg","text":"TemporaryFile(/tmp/multipartBody4297288414001880900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_37_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96bd0c8bd99f2f2973913ffb481b13c1.jpg","text":"TemporaryFile(/tmp/multipartBody2919350061148846307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_40_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01198d31a03b6c345b4bb0e59e1f1fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8004763337408967321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289104461,"filename":"image_09122025_03_41_04_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398498323","file1":"1398498296","file0":"1398498251","file4":"1398498383","file5":"1398498418","file3":"1398498353"},"map_files_photo_id_array":[{"photo_id":"1398498418","filename":"file5"},{"photo_id":"1398498323","filename":"file2"},{"photo_id":"1398498383","filename":"file4"},{"photo_id":"1398498296","filename":"file1"},{"photo_id":"1398498251","filename":"file0"},{"photo_id":"1398498353","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398498296":["hashtag1","hashtag2"]},{"1398498383":["hashtag1","hashtag2"]},{"1398498323":["hashtag1","hashtag2"]},{"1398498251":["hashtag1","hashtag2"]},{"1398498353":["hashtag1","hashtag2"]},{"1398498418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398498296, 1398498383, 1398498323, 1398498251, 1398498353, 1398498418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.374096155166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:05:02.693631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_24_10840.jpg', '/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_34_9677.jpg', '/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_44_9629.jpg', '/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_24_9541.jpg', '/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_34_10816.jpg', '/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_44_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_24_10840.jpg
/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_34_9677.jpg
/home/pi/Desktop/images/09122025/03/41/image_09122025_03_41_44_9629.jpg
/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_24_9541.jpg
/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_34_10816.jpg
/home/pi/Desktop/images/09122025/03/43/image_09122025_03_43_44_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398498665","1398498716","1398498694","1398498661","1398498751","1398498631"],"photo_ids_order":["1398498631","1398498661","1398498665","1398498694","1398498716","1398498751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8e91d1d8905d9aa21dd6ac8f4d03fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4534584891345829677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_41_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6d851898742a78e4bbbc2ef9702d8b1.jpg","text":"TemporaryFile(/tmp/multipartBody5033852195143855813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_43_34_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/328237e5416871daae24b8f8b65146ba.jpg","text":"TemporaryFile(/tmp/multipartBody8910952593352243382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_43_24_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57c5c0bf170b16436e85769aa87008f9.jpg","text":"TemporaryFile(/tmp/multipartBody3117058499210029226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_41_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba0668fd70aa03521f76883ffe237ee1.jpg","text":"TemporaryFile(/tmp/multipartBody9136918834124930532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_43_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e76c8657a878c8fdeec6f53cb14d4251.jpg","text":"TemporaryFile(/tmp/multipartBody6332090550880168575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289163594,"filename":"image_09122025_03_41_24_10840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398498665","file1":"1398498661","file0":"1398498631","file4":"1398498716","file5":"1398498751","file3":"1398498694"},"map_files_photo_id_array":[{"photo_id":"1398498751","filename":"file5"},{"photo_id":"1398498665","filename":"file2"},{"photo_id":"1398498716","filename":"file4"},{"photo_id":"1398498661","filename":"file1"},{"photo_id":"1398498631","filename":"file0"},{"photo_id":"1398498694","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398498665":["hashtag1","hashtag2"]},{"1398498716":["hashtag1","hashtag2"]},{"1398498694":["hashtag1","hashtag2"]},{"1398498661":["hashtag1","hashtag2"]},{"1398498751":["hashtag1","hashtag2"]},{"1398498631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398498665, 1398498716, 1398498694, 1398498661, 1398498751, 1398498631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.706191539764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:06:02.619152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/44/image_09122025_03_44_54_10679.jpg', '/home/pi/Desktop/images/09122025/03/45/image_09122025_03_45_24_9779.jpg', '/home/pi/Desktop/images/09122025/03/45/image_09122025_03_45_34_10683.jpg', '/home/pi/Desktop/images/09122025/03/47/image_09122025_03_47_14_9581.jpg', '/home/pi/Desktop/images/09122025/03/47/image_09122025_03_47_34_9308.jpg', '/home/pi/Desktop/images/09122025/03/48/image_09122025_03_48_34_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/44/image_09122025_03_44_54_10679.jpg
/home/pi/Desktop/images/09122025/03/45/image_09122025_03_45_24_9779.jpg
/home/pi/Desktop/images/09122025/03/45/image_09122025_03_45_34_10683.jpg
/home/pi/Desktop/images/09122025/03/47/image_09122025_03_47_14_9581.jpg
/home/pi/Desktop/images/09122025/03/47/image_09122025_03_47_34_9308.jpg
/home/pi/Desktop/images/09122025/03/48/image_09122025_03_48_34_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398498812","1398498809","1398498822","1398498816","1398498819","1398498813"],"photo_ids_order":["1398498809","1398498812","1398498813","1398498816","1398498819","1398498822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f384853504714421cbbda0647c9cf6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4451613866784917098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_45_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77a56ec058b8e7b979c1d54a49ca2ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7611571680991629357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_44_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89acc259b3cef664284cd5f5f6cd0f68.jpg","text":"TemporaryFile(/tmp/multipartBody7646287145136458812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_48_34_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/deb7919848ad600789e2e0dacf3bc38b.jpg","text":"TemporaryFile(/tmp/multipartBody1988191659255598420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_47_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b1039bcfb6ed02217b2cfaadf8bf1615.jpg","text":"TemporaryFile(/tmp/multipartBody2267671698182733569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_47_34_9308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07cb1a3486d8856453dbc33b842d3081.jpg","text":"TemporaryFile(/tmp/multipartBody3380020324653883780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289223534,"filename":"image_09122025_03_45_34_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398498813","file1":"1398498812","file0":"1398498809","file4":"1398498819","file5":"1398498822","file3":"1398498816"},"map_files_photo_id_array":[{"photo_id":"1398498822","filename":"file5"},{"photo_id":"1398498813","filename":"file2"},{"photo_id":"1398498819","filename":"file4"},{"photo_id":"1398498812","filename":"file1"},{"photo_id":"1398498809","filename":"file0"},{"photo_id":"1398498816","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398498812":["hashtag1","hashtag2"]},{"1398498809":["hashtag1","hashtag2"]},{"1398498822":["hashtag1","hashtag2"]},{"1398498816":["hashtag1","hashtag2"]},{"1398498819":["hashtag1","hashtag2"]},{"1398498813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398498812, 1398498809, 1398498822, 1398498816, 1398498819, 1398498813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70179080963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:07:02.887897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/48/image_09122025_03_49_04_9653.jpg', '/home/pi/Desktop/images/09122025/03/49/image_09122025_03_49_54_9576.jpg', '/home/pi/Desktop/images/09122025/03/50/image_09122025_03_50_14_10559.jpg', '/home/pi/Desktop/images/09122025/03/50/image_09122025_03_50_34_10518.jpg', '/home/pi/Desktop/images/09122025/03/50/image_09122025_03_51_04_9882.jpg', '/home/pi/Desktop/images/09122025/03/51/image_09122025_03_51_24_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/48/image_09122025_03_49_04_9653.jpg
/home/pi/Desktop/images/09122025/03/49/image_09122025_03_49_54_9576.jpg
/home/pi/Desktop/images/09122025/03/50/image_09122025_03_50_14_10559.jpg
/home/pi/Desktop/images/09122025/03/50/image_09122025_03_50_34_10518.jpg
/home/pi/Desktop/images/09122025/03/50/image_09122025_03_51_04_9882.jpg
/home/pi/Desktop/images/09122025/03/51/image_09122025_03_51_24_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398498965","1398498905","1398498996","1398498934","1398498876","1398498846"],"photo_ids_order":["1398498846","1398498876","1398498905","1398498934","1398498965","1398498996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1256fc00e18bfda6901a791eab74db9e.jpg","text":"TemporaryFile(/tmp/multipartBody4871358573930756722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_51_04_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5f77373518b27341a00f8fddf8d0185.jpg","text":"TemporaryFile(/tmp/multipartBody360650579075910166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_50_14_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61231ae6bd00a003fe98947db940d406.jpg","text":"TemporaryFile(/tmp/multipartBody555918263130033300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_51_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab4871064703183c7ff74e2047872ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5329315854702140775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_50_34_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6ff003f7d3e2e7a15b4f6acd5c0aa44.jpg","text":"TemporaryFile(/tmp/multipartBody213737653335994137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_49_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/144d9f73dd8a66dcaf8d9474862cf2f2.jpg","text":"TemporaryFile(/tmp/multipartBody9082203684299366210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289283837,"filename":"image_09122025_03_49_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398498905","file1":"1398498876","file0":"1398498846","file4":"1398498965","file5":"1398498996","file3":"1398498934"},"map_files_photo_id_array":[{"photo_id":"1398498996","filename":"file5"},{"photo_id":"1398498905","filename":"file2"},{"photo_id":"1398498965","filename":"file4"},{"photo_id":"1398498876","filename":"file1"},{"photo_id":"1398498846","filename":"file0"},{"photo_id":"1398498934","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398498965":["hashtag1","hashtag2"]},{"1398498905":["hashtag1","hashtag2"]},{"1398498996":["hashtag1","hashtag2"]},{"1398498934":["hashtag1","hashtag2"]},{"1398498876":["hashtag1","hashtag2"]},{"1398498846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398498965, 1398498905, 1398498996, 1398498934, 1398498876, 1398498846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36926770210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:08:03.032733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_34_9712.jpg', '/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_44_9638.jpg', '/home/pi/Desktop/images/09122025/03/54/image_09122025_03_55_04_9599.jpg', '/home/pi/Desktop/images/09122025/03/55/image_09122025_03_55_14_10177.jpg', '/home/pi/Desktop/images/09122025/03/56/image_09122025_03_57_04_9710.jpg', '/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_44_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_34_9712.jpg
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_44_9638.jpg
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_55_04_9599.jpg
/home/pi/Desktop/images/09122025/03/55/image_09122025_03_55_14_10177.jpg
/home/pi/Desktop/images/09122025/03/56/image_09122025_03_57_04_9710.jpg
/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_44_9522.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5230185985565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 15:08:12.707393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_26_10735.jpg', '/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_45_9601.jpg', '/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_55_9783.jpg', '/home/pi/Desktop/images/08122025/12/42/image_08122025_12_43_06_10817.jpg', '/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_15_9598.jpg', '/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_25_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_26_10735.jpg
/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_45_9601.jpg
/home/pi/Desktop/images/08122025/12/42/image_08122025_12_42_55_9783.jpg
/home/pi/Desktop/images/08122025/12/42/image_08122025_12_43_06_10817.jpg
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_15_9598.jpg
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_25_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398499693","1398499261","1398499557","1398499793","1398499460","1398499361"],"photo_ids_order":["1398499261","1398499361","1398499460","1398499557","1398499693","1398499793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92ab17f70e64d861aa3dfea531afcc74.jpg","text":"TemporaryFile(/tmp/multipartBody3403193839399980269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_43_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d761a7ca85e78fbfbfbed99e52ce80e.jpg","text":"TemporaryFile(/tmp/multipartBody7047865702721828687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_42_26_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76c578c756976f605ec1a9dfc726216e.jpg","text":"TemporaryFile(/tmp/multipartBody528060129124688762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_43_06_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5240f3ae0d384a48edff56caf008e868.jpg","text":"TemporaryFile(/tmp/multipartBody3529545447621417732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_43_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6e102e3ee2c6054d03e75d642168195.jpg","text":"TemporaryFile(/tmp/multipartBody4752811402068965982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_42_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ff77c0e6f522d0d98746e69e58adc7a.jpg","text":"TemporaryFile(/tmp/multipartBody4906554572745829815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289354533,"filename":"image_08122025_12_42_45_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398499460","file1":"1398499361","file0":"1398499261","file4":"1398499693","file5":"1398499793","file3":"1398499557"},"map_files_photo_id_array":[{"photo_id":"1398499793","filename":"file5"},{"photo_id":"1398499460","filename":"file2"},{"photo_id":"1398499693","filename":"file4"},{"photo_id":"1398499361","filename":"file1"},{"photo_id":"1398499261","filename":"file0"},{"photo_id":"1398499557","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398499693":["hashtag1","hashtag2"]},{"1398499261":["hashtag1","hashtag2"]},{"1398499557":["hashtag1","hashtag2"]},{"1398499793":["hashtag1","hashtag2"]},{"1398499460":["hashtag1","hashtag2"]},{"1398499361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398499693, 1398499261, 1398499557, 1398499793, 1398499460, 1398499361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38133478164673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:09:02.794544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_34_9712.jpg', '/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_44_9638.jpg', '/home/pi/Desktop/images/09122025/03/54/image_09122025_03_55_04_9599.jpg', '/home/pi/Desktop/images/09122025/03/55/image_09122025_03_55_14_10177.jpg', '/home/pi/Desktop/images/09122025/03/56/image_09122025_03_57_04_9710.jpg', '/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_44_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_34_9712.jpg
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_54_44_9638.jpg
/home/pi/Desktop/images/09122025/03/54/image_09122025_03_55_04_9599.jpg
/home/pi/Desktop/images/09122025/03/55/image_09122025_03_55_14_10177.jpg
/home/pi/Desktop/images/09122025/03/56/image_09122025_03_57_04_9710.jpg
/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_44_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398500707","1398500676","1398500562","1398500625","1398500712","1398500421"],"photo_ids_order":["1398500421","1398500562","1398500625","1398500676","1398500707","1398500712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ed396105a1c7eec14f1248aa650288b.jpg","text":"TemporaryFile(/tmp/multipartBody1766390365199639564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_57_04_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d763179ed3412efe970c5a3c0affaceb.jpg","text":"TemporaryFile(/tmp/multipartBody7962128503947105769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_55_14_10177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/307b7e2deaf60f6d4a5c105462315ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6893128578865845684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_54_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f5f972dcf5df44892ede122a0a06cd9.jpg","text":"TemporaryFile(/tmp/multipartBody925230411200548688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_55_04_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d38afe665e57ea6c829700fbc5b5f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6601188922247015207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_57_44_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c527f957dc7ca10a9c380061ea40d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody5074261546108732188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289403518,"filename":"image_09122025_03_54_34_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398500625","file1":"1398500562","file0":"1398500421","file4":"1398500707","file5":"1398500712","file3":"1398500676"},"map_files_photo_id_array":[{"photo_id":"1398500712","filename":"file5"},{"photo_id":"1398500625","filename":"file2"},{"photo_id":"1398500707","filename":"file4"},{"photo_id":"1398500562","filename":"file1"},{"photo_id":"1398500421","filename":"file0"},{"photo_id":"1398500676","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398500707":["hashtag1","hashtag2"]},{"1398500676":["hashtag1","hashtag2"]},{"1398500562":["hashtag1","hashtag2"]},{"1398500625":["hashtag1","hashtag2"]},{"1398500712":["hashtag1","hashtag2"]},{"1398500421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398500707, 1398500676, 1398500562, 1398500625, 1398500712, 1398500421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34755182266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:10:02.603133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_54_10650.jpg', '/home/pi/Desktop/images/09122025/03/58/image_09122025_03_58_13_9636.jpg', '/home/pi/Desktop/images/09122025/03/58/image_09122025_03_58_44_10606.jpg', '/home/pi/Desktop/images/09122025/04/00/image_09122025_04_00_34_10588.jpg', '/home/pi/Desktop/images/09122025/04/00/image_09122025_04_01_04_9855.jpg', '/home/pi/Desktop/images/09122025/04/04/image_09122025_04_04_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/03/57/image_09122025_03_57_54_10650.jpg
/home/pi/Desktop/images/09122025/03/58/image_09122025_03_58_13_9636.jpg
/home/pi/Desktop/images/09122025/03/58/image_09122025_03_58_44_10606.jpg
/home/pi/Desktop/images/09122025/04/00/image_09122025_04_00_34_10588.jpg
/home/pi/Desktop/images/09122025/04/00/image_09122025_04_01_04_9855.jpg
/home/pi/Desktop/images/09122025/04/04/image_09122025_04_04_34_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398501198","1398501135","1398501155","1398501065","1398501229","1398501121"],"photo_ids_order":["1398501065","1398501121","1398501135","1398501155","1398501198","1398501229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ac76c89860d7cdf3a1e5507f892e19c.jpg","text":"TemporaryFile(/tmp/multipartBody7687963754077982871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_04_01_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38fdf4d0a27bf1e5b2d6e83627c5fab4.jpg","text":"TemporaryFile(/tmp/multipartBody5838220056702688663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_03_58_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d385b174eda1521c349574cd0f48016.jpg","text":"TemporaryFile(/tmp/multipartBody244730568708851698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_04_00_34_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/099a61845dcc40e71925919390ac49fb.jpg","text":"TemporaryFile(/tmp/multipartBody4868648360436347687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_03_57_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f0b553e7aeef86481f7e799843dfbdd.jpg","text":"TemporaryFile(/tmp/multipartBody7529733200067109282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_04_04_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dfa8cf31e029aceca7e449e6e55df84.jpg","text":"TemporaryFile(/tmp/multipartBody60640359491794075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289463391,"filename":"image_09122025_03_58_13_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398501135","file1":"1398501121","file0":"1398501065","file4":"1398501198","file5":"1398501229","file3":"1398501155"},"map_files_photo_id_array":[{"photo_id":"1398501229","filename":"file5"},{"photo_id":"1398501135","filename":"file2"},{"photo_id":"1398501198","filename":"file4"},{"photo_id":"1398501121","filename":"file1"},{"photo_id":"1398501065","filename":"file0"},{"photo_id":"1398501155","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398501198":["hashtag1","hashtag2"]},{"1398501135":["hashtag1","hashtag2"]},{"1398501155":["hashtag1","hashtag2"]},{"1398501065":["hashtag1","hashtag2"]},{"1398501229":["hashtag1","hashtag2"]},{"1398501121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398501198, 1398501135, 1398501155, 1398501065, 1398501229, 1398501121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26883029937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:11:03.053115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/04/image_09122025_04_04_44_9722.jpg', '/home/pi/Desktop/images/09122025/04/05/image_09122025_04_05_54_9706.jpg', '/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_14_9699.jpg', '/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_24_10627.jpg', '/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_34_9696.jpg', '/home/pi/Desktop/images/09122025/04/06/image_09122025_04_07_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/04/image_09122025_04_04_44_9722.jpg
/home/pi/Desktop/images/09122025/04/05/image_09122025_04_05_54_9706.jpg
/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_14_9699.jpg
/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_24_10627.jpg
/home/pi/Desktop/images/09122025/04/06/image_09122025_04_06_34_9696.jpg
/home/pi/Desktop/images/09122025/04/06/image_09122025_04_07_04_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398501285","1398501267","1398501295","1398501289","1398501292","1398501271"],"photo_ids_order":["1398501267","1398501271","1398501285","1398501289","1398501292","1398501295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44b723c1e870b09bb72c134a1a3cfa6f.jpg","text":"TemporaryFile(/tmp/multipartBody3183707042438264706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_06_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3cfd8102bf860caa5291bb2f379e4db.jpg","text":"TemporaryFile(/tmp/multipartBody2240463819409622692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_04_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39c59984f3ed91992a294e71345e51b6.jpg","text":"TemporaryFile(/tmp/multipartBody1464671986866678764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_07_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a66f95fa7c7cf6c7f7a203d479569e2.jpg","text":"TemporaryFile(/tmp/multipartBody7189455068140689238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_06_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bddec222b4f1fcce166a89cd9c975ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1419723456875787289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_06_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df8583eb25d1e39f73f49c512cdd17cc.jpg","text":"TemporaryFile(/tmp/multipartBody3630801060994789019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289523910,"filename":"image_09122025_04_05_54_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398501285","file1":"1398501271","file0":"1398501267","file4":"1398501292","file5":"1398501295","file3":"1398501289"},"map_files_photo_id_array":[{"photo_id":"1398501295","filename":"file5"},{"photo_id":"1398501285","filename":"file2"},{"photo_id":"1398501292","filename":"file4"},{"photo_id":"1398501271","filename":"file1"},{"photo_id":"1398501267","filename":"file0"},{"photo_id":"1398501289","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398501285":["hashtag1","hashtag2"]},{"1398501267":["hashtag1","hashtag2"]},{"1398501295":["hashtag1","hashtag2"]},{"1398501289":["hashtag1","hashtag2"]},{"1398501292":["hashtag1","hashtag2"]},{"1398501271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398501285, 1398501267, 1398501295, 1398501289, 1398501292, 1398501271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.649253845214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:12:03.076156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/07/image_09122025_04_07_14_9679.jpg', '/home/pi/Desktop/images/09122025/04/07/image_09122025_04_07_24_10744.jpg', '/home/pi/Desktop/images/09122025/04/10/image_09122025_04_10_24_9774.jpg', '/home/pi/Desktop/images/09122025/04/13/image_09122025_04_14_04_9695.jpg', '/home/pi/Desktop/images/09122025/04/15/image_09122025_04_15_44_10061.jpg', '/home/pi/Desktop/images/09122025/04/15/image_09122025_04_15_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/07/image_09122025_04_07_14_9679.jpg
/home/pi/Desktop/images/09122025/04/07/image_09122025_04_07_24_10744.jpg
/home/pi/Desktop/images/09122025/04/10/image_09122025_04_10_24_9774.jpg
/home/pi/Desktop/images/09122025/04/13/image_09122025_04_14_04_9695.jpg
/home/pi/Desktop/images/09122025/04/15/image_09122025_04_15_44_10061.jpg
/home/pi/Desktop/images/09122025/04/15/image_09122025_04_15_54_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398501318","1398501312","1398501320","1398501323","1398501314","1398501316"],"photo_ids_order":["1398501312","1398501314","1398501316","1398501318","1398501320","1398501323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ae8eafe1b791cf5c7ad1145af257c09.jpg","text":"TemporaryFile(/tmp/multipartBody3784229355102723891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_14_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5518a1255af909bd189c5621d501865.jpg","text":"TemporaryFile(/tmp/multipartBody8863444324360591528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_07_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a048885af8e360904b3634ace40e12bf.jpg","text":"TemporaryFile(/tmp/multipartBody9223334651444155254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_15_44_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/812bd548674f2e7d371c3ac4421a8b38.jpg","text":"TemporaryFile(/tmp/multipartBody8224859607973060330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_15_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f396c80b04eec1574fc8c5002534dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody2663084040519665800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_07_24_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed3a55bdc488d2a575d3cdf05767bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody1413516497517346982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289584615,"filename":"image_09122025_04_10_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398501316","file1":"1398501314","file0":"1398501312","file4":"1398501320","file5":"1398501323","file3":"1398501318"},"map_files_photo_id_array":[{"photo_id":"1398501323","filename":"file5"},{"photo_id":"1398501316","filename":"file2"},{"photo_id":"1398501320","filename":"file4"},{"photo_id":"1398501314","filename":"file1"},{"photo_id":"1398501312","filename":"file0"},{"photo_id":"1398501318","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398501318":["hashtag1","hashtag2"]},{"1398501312":["hashtag1","hashtag2"]},{"1398501320":["hashtag1","hashtag2"]},{"1398501323":["hashtag1","hashtag2"]},{"1398501314":["hashtag1","hashtag2"]},{"1398501316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398501318, 1398501312, 1398501320, 1398501323, 1398501314, 1398501316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85351634025574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:13:02.526094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/17/image_09122025_04_17_34_10601.jpg', '/home/pi/Desktop/images/09122025/04/17/image_09122025_04_17_44_9594.jpg', '/home/pi/Desktop/images/09122025/04/17/image_09122025_04_18_04_10560.jpg', '/home/pi/Desktop/images/09122025/04/18/image_09122025_04_18_14_9816.jpg', '/home/pi/Desktop/images/09122025/04/20/image_09122025_04_21_04_10722.jpg', '/home/pi/Desktop/images/09122025/04/21/image_09122025_04_22_04_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/17/image_09122025_04_17_34_10601.jpg
/home/pi/Desktop/images/09122025/04/17/image_09122025_04_17_44_9594.jpg
/home/pi/Desktop/images/09122025/04/17/image_09122025_04_18_04_10560.jpg
/home/pi/Desktop/images/09122025/04/18/image_09122025_04_18_14_9816.jpg
/home/pi/Desktop/images/09122025/04/20/image_09122025_04_21_04_10722.jpg
/home/pi/Desktop/images/09122025/04/21/image_09122025_04_22_04_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398501393","1398501480","1398501369","1398501357","1398501426","1398501362"],"photo_ids_order":["1398501357","1398501362","1398501369","1398501393","1398501426","1398501480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/440d1a1292ccc306c582cb09cd790288.jpg","text":"TemporaryFile(/tmp/multipartBody3102203840494572362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_18_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65bd4f6ac0508ec324bd0b1a79bdff95.jpg","text":"TemporaryFile(/tmp/multipartBody2343203379457327386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_22_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e688d2f404d908168580d384e14e064.jpg","text":"TemporaryFile(/tmp/multipartBody8498435767011743094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_18_04_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88bd08484d48147ca216bbf9910d6f62.jpg","text":"TemporaryFile(/tmp/multipartBody3140150295857020527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_17_34_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06bf24534fdcaf00f8fc44988742c73a.jpg","text":"TemporaryFile(/tmp/multipartBody7750257988260793035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_21_04_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ba8d8aa8b8eb4b4364e608a9aa6d059.jpg","text":"TemporaryFile(/tmp/multipartBody5974945475292244283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289643932,"filename":"image_09122025_04_17_44_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398501369","file1":"1398501362","file0":"1398501357","file4":"1398501426","file5":"1398501480","file3":"1398501393"},"map_files_photo_id_array":[{"photo_id":"1398501480","filename":"file5"},{"photo_id":"1398501369","filename":"file2"},{"photo_id":"1398501426","filename":"file4"},{"photo_id":"1398501362","filename":"file1"},{"photo_id":"1398501357","filename":"file0"},{"photo_id":"1398501393","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398501393":["hashtag1","hashtag2"]},{"1398501480":["hashtag1","hashtag2"]},{"1398501369":["hashtag1","hashtag2"]},{"1398501357":["hashtag1","hashtag2"]},{"1398501426":["hashtag1","hashtag2"]},{"1398501362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398501393, 1398501480, 1398501369, 1398501357, 1398501426, 1398501362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.360031604766846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:14:02.610970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/24/image_09122025_04_24_24_9650.jpg', '/home/pi/Desktop/images/09122025/04/25/image_09122025_04_25_14_10576.jpg', '/home/pi/Desktop/images/09122025/04/30/image_09122025_04_30_14_9725.jpg', '/home/pi/Desktop/images/09122025/04/30/image_09122025_04_30_24_10724.jpg', '/home/pi/Desktop/images/09122025/04/30/image_09122025_04_31_04_9635.jpg', '/home/pi/Desktop/images/09122025/04/31/image_09122025_04_32_04_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/24/image_09122025_04_24_24_9650.jpg
/home/pi/Desktop/images/09122025/04/25/image_09122025_04_25_14_10576.jpg
/home/pi/Desktop/images/09122025/04/30/image_09122025_04_30_14_9725.jpg
/home/pi/Desktop/images/09122025/04/30/image_09122025_04_30_24_10724.jpg
/home/pi/Desktop/images/09122025/04/30/image_09122025_04_31_04_9635.jpg
/home/pi/Desktop/images/09122025/04/31/image_09122025_04_32_04_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398501808","1398501777","1398501836","1398501740","1398501667","1398501703"],"photo_ids_order":["1398501667","1398501703","1398501740","1398501777","1398501808","1398501836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5f3a1aae8c4cc373465611f8efaf175.jpg","text":"TemporaryFile(/tmp/multipartBody3377538234772140907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_31_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f468ce8b81eeb7a51e5322e62d15e05f.jpg","text":"TemporaryFile(/tmp/multipartBody3044961564368968982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_30_24_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c7daf28804afec3c4942136a56e7085.jpg","text":"TemporaryFile(/tmp/multipartBody6313552554789782829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_32_04_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2818e19c9e0f6d8d10df083e1182241c.jpg","text":"TemporaryFile(/tmp/multipartBody6415744348905517625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_30_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bdfe9208437a7d2f65f27559a29d805d.jpg","text":"TemporaryFile(/tmp/multipartBody1999128869033452086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_24_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe326fa5defd9e2deed8264ce7f65233.jpg","text":"TemporaryFile(/tmp/multipartBody7211960083065228833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289706558,"filename":"image_09122025_04_25_14_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398501740","file1":"1398501703","file0":"1398501667","file4":"1398501808","file5":"1398501836","file3":"1398501777"},"map_files_photo_id_array":[{"photo_id":"1398501836","filename":"file5"},{"photo_id":"1398501740","filename":"file2"},{"photo_id":"1398501808","filename":"file4"},{"photo_id":"1398501703","filename":"file1"},{"photo_id":"1398501667","filename":"file0"},{"photo_id":"1398501777","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398501808":["hashtag1","hashtag2"]},{"1398501777":["hashtag1","hashtag2"]},{"1398501836":["hashtag1","hashtag2"]},{"1398501740":["hashtag1","hashtag2"]},{"1398501667":["hashtag1","hashtag2"]},{"1398501703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398501808, 1398501777, 1398501836, 1398501740, 1398501667, 1398501703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16863799095154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:15:04.038899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/32/image_09122025_04_32_34_10593.jpg', '/home/pi/Desktop/images/09122025/04/39/image_09122025_04_39_14_9719.jpg', '/home/pi/Desktop/images/09122025/04/39/image_09122025_04_39_44_9859.jpg', '/home/pi/Desktop/images/09122025/04/40/image_09122025_04_40_24_9641.jpg', '/home/pi/Desktop/images/09122025/04/41/image_09122025_04_41_14_9584.jpg', '/home/pi/Desktop/images/09122025/04/43/image_09122025_04_44_04_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/32/image_09122025_04_32_34_10593.jpg
/home/pi/Desktop/images/09122025/04/39/image_09122025_04_39_14_9719.jpg
/home/pi/Desktop/images/09122025/04/39/image_09122025_04_39_44_9859.jpg
/home/pi/Desktop/images/09122025/04/40/image_09122025_04_40_24_9641.jpg
/home/pi/Desktop/images/09122025/04/41/image_09122025_04_41_14_9584.jpg
/home/pi/Desktop/images/09122025/04/43/image_09122025_04_44_04_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398502203","1398502110","1398502032","1398502070","1398502138","1398502173"],"photo_ids_order":["1398502032","1398502070","1398502110","1398502138","1398502173","1398502203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04e6c5a56e78dfc9ee7a7ea82096f1ce.jpg","text":"TemporaryFile(/tmp/multipartBody4126429146366386508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_44_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/488363723065708afd9c30d964d9e57f.jpg","text":"TemporaryFile(/tmp/multipartBody298505316535200172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_39_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/199bddbdc136217b3ce5e1f2ba9eaef3.jpg","text":"TemporaryFile(/tmp/multipartBody6397896298251466500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_32_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/796a4c00e01b62fba2a66bb71b411501.jpg","text":"TemporaryFile(/tmp/multipartBody4367153495886547966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_39_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/269a9fc0407c2161e844dbaba46a4ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7742439132361788896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_40_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa65de10bb6081128732f06cd4158d05.jpg","text":"TemporaryFile(/tmp/multipartBody3194407996370945597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289764803,"filename":"image_09122025_04_41_14_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398502110","file1":"1398502070","file0":"1398502032","file4":"1398502173","file5":"1398502203","file3":"1398502138"},"map_files_photo_id_array":[{"photo_id":"1398502203","filename":"file5"},{"photo_id":"1398502110","filename":"file2"},{"photo_id":"1398502173","filename":"file4"},{"photo_id":"1398502070","filename":"file1"},{"photo_id":"1398502032","filename":"file0"},{"photo_id":"1398502138","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398502203":["hashtag1","hashtag2"]},{"1398502110":["hashtag1","hashtag2"]},{"1398502032":["hashtag1","hashtag2"]},{"1398502070":["hashtag1","hashtag2"]},{"1398502138":["hashtag1","hashtag2"]},{"1398502173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398502203, 1398502110, 1398502032, 1398502070, 1398502138, 1398502173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32054877281189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:16:03.014887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/50/image_09122025_04_50_53_5918.jpg', '/home/pi/Desktop/images/09122025/04/51/image_09122025_04_51_44_9843.jpg', '/home/pi/Desktop/images/09122025/04/52/image_09122025_04_53_04_10257.jpg', '/home/pi/Desktop/images/09122025/04/58/image_09122025_04_58_14_10554.jpg', '/home/pi/Desktop/images/09122025/04/58/image_09122025_04_58_44_10579.jpg', '/home/pi/Desktop/images/09122025/04/58/image_09122025_04_59_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/50/image_09122025_04_50_53_5918.jpg
/home/pi/Desktop/images/09122025/04/51/image_09122025_04_51_44_9843.jpg
/home/pi/Desktop/images/09122025/04/52/image_09122025_04_53_04_10257.jpg
/home/pi/Desktop/images/09122025/04/58/image_09122025_04_58_14_10554.jpg
/home/pi/Desktop/images/09122025/04/58/image_09122025_04_58_44_10579.jpg
/home/pi/Desktop/images/09122025/04/58/image_09122025_04_59_04_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398502369","1398502360","1398502354","1398502363","1398502357","1398502366"],"photo_ids_order":["1398502354","1398502357","1398502360","1398502363","1398502366","1398502369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0014057028f539b56c67d07fa9d3c633.jpg","text":"TemporaryFile(/tmp/multipartBody7247456829122672933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_59_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e13bbeaa053f1c681d8f732e3cb007e.jpg","text":"TemporaryFile(/tmp/multipartBody4668762628141257544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_53_04_10257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61294c203db6ee52447799622e4fa3ff.jpg","text":"TemporaryFile(/tmp/multipartBody5541862076300139780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_50_53_5918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/130e4e839ba8dc00f9f137def30a9c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6442750672766784233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_58_14_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c4005caa688be8b844f649257f8c89f.jpg","text":"TemporaryFile(/tmp/multipartBody7523379754507259217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_51_44_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e7dc939331ebb1d8d217b20ef4e81e8.jpg","text":"TemporaryFile(/tmp/multipartBody8550013782092758078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289823901,"filename":"image_09122025_04_58_44_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398502360","file1":"1398502357","file0":"1398502354","file4":"1398502366","file5":"1398502369","file3":"1398502363"},"map_files_photo_id_array":[{"photo_id":"1398502369","filename":"file5"},{"photo_id":"1398502360","filename":"file2"},{"photo_id":"1398502366","filename":"file4"},{"photo_id":"1398502357","filename":"file1"},{"photo_id":"1398502354","filename":"file0"},{"photo_id":"1398502363","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398502369":["hashtag1","hashtag2"]},{"1398502360":["hashtag1","hashtag2"]},{"1398502354":["hashtag1","hashtag2"]},{"1398502363":["hashtag1","hashtag2"]},{"1398502357":["hashtag1","hashtag2"]},{"1398502366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398502369, 1398502360, 1398502354, 1398502363, 1398502357, 1398502366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39424252510071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:17:03.316397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/04/59/image_09122025_04_59_34_9585.jpg', '/home/pi/Desktop/images/09122025/04/59/image_09122025_04_59_44_10524.jpg', '/home/pi/Desktop/images/09122025/05/00/image_09122025_05_00_44_9577.jpg', '/home/pi/Desktop/images/09122025/05/00/image_09122025_05_01_04_10626.jpg', '/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_14_9720.jpg', '/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_24_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/04/59/image_09122025_04_59_34_9585.jpg
/home/pi/Desktop/images/09122025/04/59/image_09122025_04_59_44_10524.jpg
/home/pi/Desktop/images/09122025/05/00/image_09122025_05_00_44_9577.jpg
/home/pi/Desktop/images/09122025/05/00/image_09122025_05_01_04_10626.jpg
/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_14_9720.jpg
/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_24_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398502592","1398502604","1398502601","1398502564","1398502555","1398502630"],"photo_ids_order":["1398502555","1398502564","1398502592","1398502601","1398502604","1398502630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1374abbf4ac446d1bee744ecb183ef8c.jpg","text":"TemporaryFile(/tmp/multipartBody4581917807843218473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_05_00_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cdae264356a8a5b931220f2163b511fb.jpg","text":"TemporaryFile(/tmp/multipartBody8659745579574781322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_05_01_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/902e8a8403fe46b1813b9095cbfb85c8.jpg","text":"TemporaryFile(/tmp/multipartBody3394435930288398882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_05_01_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5943644ab817a2952bfd9e5dc98bce7c.jpg","text":"TemporaryFile(/tmp/multipartBody7403280623695131106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_04_59_44_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5480bb683a9a8ff865aab989aac114e1.jpg","text":"TemporaryFile(/tmp/multipartBody4956845046182764100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_04_59_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5b3a591620b7a29a101a48ce6e73642.jpg","text":"TemporaryFile(/tmp/multipartBody5050709457949136098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289884090,"filename":"image_09122025_05_01_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398502592","file1":"1398502564","file0":"1398502555","file4":"1398502604","file5":"1398502630","file3":"1398502601"},"map_files_photo_id_array":[{"photo_id":"1398502630","filename":"file5"},{"photo_id":"1398502592","filename":"file2"},{"photo_id":"1398502604","filename":"file4"},{"photo_id":"1398502564","filename":"file1"},{"photo_id":"1398502555","filename":"file0"},{"photo_id":"1398502601","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398502592":["hashtag1","hashtag2"]},{"1398502604":["hashtag1","hashtag2"]},{"1398502601":["hashtag1","hashtag2"]},{"1398502564":["hashtag1","hashtag2"]},{"1398502555":["hashtag1","hashtag2"]},{"1398502630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398502592, 1398502604, 1398502601, 1398502564, 1398502555, 1398502630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.723325967788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:18:02.452951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_34_10734.jpg', '/home/pi/Desktop/images/09122025/05/02/image_09122025_05_02_34_9650.jpg', '/home/pi/Desktop/images/09122025/05/03/image_09122025_05_03_44_9954.jpg', '/home/pi/Desktop/images/09122025/05/03/image_09122025_05_04_04_9664.jpg', '/home/pi/Desktop/images/09122025/05/04/image_09122025_05_04_13_9649.jpg', '/home/pi/Desktop/images/09122025/05/04/image_09122025_05_04_34_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/01/image_09122025_05_01_34_10734.jpg
/home/pi/Desktop/images/09122025/05/02/image_09122025_05_02_34_9650.jpg
/home/pi/Desktop/images/09122025/05/03/image_09122025_05_03_44_9954.jpg
/home/pi/Desktop/images/09122025/05/03/image_09122025_05_04_04_9664.jpg
/home/pi/Desktop/images/09122025/05/04/image_09122025_05_04_13_9649.jpg
/home/pi/Desktop/images/09122025/05/04/image_09122025_05_04_34_9991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398502685","1398502679","1398502667","1398502682","1398502676","1398502672"],"photo_ids_order":["1398502667","1398502672","1398502676","1398502679","1398502682","1398502685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f3f57bd1bd899177736f4d43a0ece5e.jpg","text":"TemporaryFile(/tmp/multipartBody7437457646660113571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_04_34_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97a1ef5df3832ff4568a7f14ac609f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2637282658783403445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_04_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0937176f9e4b609b77c9811fb20916d2.jpg","text":"TemporaryFile(/tmp/multipartBody8756414452211912094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_01_34_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c4003e782070548f8ff065667e3472c.jpg","text":"TemporaryFile(/tmp/multipartBody8294936261681368366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_04_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3965df3eb10efb833022db67885a503e.jpg","text":"TemporaryFile(/tmp/multipartBody6840616640970057996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_03_44_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45aa1259b1c8ead7c5f276f4c7cd71df.jpg","text":"TemporaryFile(/tmp/multipartBody3045770560781604152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765289943308,"filename":"image_09122025_05_02_34_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398502676","file1":"1398502672","file0":"1398502667","file4":"1398502682","file5":"1398502685","file3":"1398502679"},"map_files_photo_id_array":[{"photo_id":"1398502685","filename":"file5"},{"photo_id":"1398502676","filename":"file2"},{"photo_id":"1398502682","filename":"file4"},{"photo_id":"1398502672","filename":"file1"},{"photo_id":"1398502667","filename":"file0"},{"photo_id":"1398502679","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398502685":["hashtag1","hashtag2"]},{"1398502679":["hashtag1","hashtag2"]},{"1398502667":["hashtag1","hashtag2"]},{"1398502682":["hashtag1","hashtag2"]},{"1398502676":["hashtag1","hashtag2"]},{"1398502672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398502685, 1398502679, 1398502667, 1398502682, 1398502676, 1398502672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.925862550735474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:19:03.239776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/06/image_09122025_05_06_54_9576.jpg', '/home/pi/Desktop/images/09122025/05/07/image_09122025_05_07_24_10673.jpg', '/home/pi/Desktop/images/09122025/05/08/image_09122025_05_08_54_9774.jpg', '/home/pi/Desktop/images/09122025/05/09/image_09122025_05_09_07_13166.jpg', '/home/pi/Desktop/images/09122025/05/09/image_09122025_05_09_27_12160.jpg', '/home/pi/Desktop/images/09122025/05/10/image_09122025_05_10_14_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/06/image_09122025_05_06_54_9576.jpg
/home/pi/Desktop/images/09122025/05/07/image_09122025_05_07_24_10673.jpg
/home/pi/Desktop/images/09122025/05/08/image_09122025_05_08_54_9774.jpg
/home/pi/Desktop/images/09122025/05/09/image_09122025_05_09_07_13166.jpg
/home/pi/Desktop/images/09122025/05/09/image_09122025_05_09_27_12160.jpg
/home/pi/Desktop/images/09122025/05/10/image_09122025_05_10_14_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398502746","1398502707","1398502787","1398502704","1398502900","1398502842"],"photo_ids_order":["1398502704","1398502707","1398502746","1398502787","1398502842","1398502900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9157d07790de5d47168f89ed1da99a92.jpg","text":"TemporaryFile(/tmp/multipartBody6621998775140482401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_08_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d39f60853e41c2962c0a1ab284b40dd.jpg","text":"TemporaryFile(/tmp/multipartBody6480940378600106451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_07_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17413de66551927d7370d005aab0b743.jpg","text":"TemporaryFile(/tmp/multipartBody1800524102730629701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_09_07_13166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9c88a76f777a17f27b79e9197c4dc14.jpg","text":"TemporaryFile(/tmp/multipartBody4136682420636598440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_06_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/09f65ceb908f97e1580f3b7cde8fb6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8972153494045513571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_10_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3beaa7eca4c90338ab9daa8317e7fb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4537163736347122626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290004182,"filename":"image_09122025_05_09_27_12160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398502746","file1":"1398502707","file0":"1398502704","file4":"1398502842","file5":"1398502900","file3":"1398502787"},"map_files_photo_id_array":[{"photo_id":"1398502900","filename":"file5"},{"photo_id":"1398502746","filename":"file2"},{"photo_id":"1398502842","filename":"file4"},{"photo_id":"1398502707","filename":"file1"},{"photo_id":"1398502704","filename":"file0"},{"photo_id":"1398502787","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398502746":["hashtag1","hashtag2"]},{"1398502707":["hashtag1","hashtag2"]},{"1398502787":["hashtag1","hashtag2"]},{"1398502704":["hashtag1","hashtag2"]},{"1398502900":["hashtag1","hashtag2"]},{"1398502842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398502746, 1398502707, 1398502787, 1398502704, 1398502900, 1398502842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26797819137573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:20:02.918469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/10/image_09122025_05_10_24_9840.jpg', '/home/pi/Desktop/images/09122025/05/11/image_09122025_05_12_04_9774.jpg', '/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_14_10683.jpg', '/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_24_9588.jpg', '/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_44_9910.jpg', '/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_14_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/10/image_09122025_05_10_24_9840.jpg
/home/pi/Desktop/images/09122025/05/11/image_09122025_05_12_04_9774.jpg
/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_14_10683.jpg
/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_24_9588.jpg
/home/pi/Desktop/images/09122025/05/12/image_09122025_05_12_44_9910.jpg
/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_14_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398503288","1398503468","1398503360","1398503244","1398503532","1398503409"],"photo_ids_order":["1398503244","1398503288","1398503360","1398503409","1398503468","1398503532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b169aff7eacebd14b40fae16bef1ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6408699386240394666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_12_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43b50bcdd7ece20a967029dddd56d083.jpg","text":"TemporaryFile(/tmp/multipartBody9193057595635804906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_12_44_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eccd6994d2dbaefc4f5042767cbde671.jpg","text":"TemporaryFile(/tmp/multipartBody6341387757271673458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_12_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d88443f53e95c0b6ba6b5b0ccd2621f.jpg","text":"TemporaryFile(/tmp/multipartBody4499750104404932299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_10_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e0edabae2591f01ead6267fd32b4982.jpg","text":"TemporaryFile(/tmp/multipartBody3595817528612219323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_14_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bea595b83d275344f9248c09b5040948.jpg","text":"TemporaryFile(/tmp/multipartBody5777253130604127120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290063758,"filename":"image_09122025_05_12_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398503360","file1":"1398503288","file0":"1398503244","file4":"1398503468","file5":"1398503532","file3":"1398503409"},"map_files_photo_id_array":[{"photo_id":"1398503532","filename":"file5"},{"photo_id":"1398503360","filename":"file2"},{"photo_id":"1398503468","filename":"file4"},{"photo_id":"1398503288","filename":"file1"},{"photo_id":"1398503244","filename":"file0"},{"photo_id":"1398503409","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398503288":["hashtag1","hashtag2"]},{"1398503468":["hashtag1","hashtag2"]},{"1398503360":["hashtag1","hashtag2"]},{"1398503244":["hashtag1","hashtag2"]},{"1398503532":["hashtag1","hashtag2"]},{"1398503409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398503288, 1398503468, 1398503360, 1398503244, 1398503532, 1398503409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04120969772339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:21:03.476925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_34_9545.jpg', '/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_44_9713.jpg', '/home/pi/Desktop/images/09122025/05/16/image_09122025_05_16_24_9633.jpg', '/home/pi/Desktop/images/09122025/05/16/image_09122025_05_16_34_10696.jpg', '/home/pi/Desktop/images/09122025/05/17/image_09122025_05_17_24_9819.jpg', '/home/pi/Desktop/images/09122025/05/17/image_09122025_05_17_44_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_34_9545.jpg
/home/pi/Desktop/images/09122025/05/14/image_09122025_05_14_44_9713.jpg
/home/pi/Desktop/images/09122025/05/16/image_09122025_05_16_24_9633.jpg
/home/pi/Desktop/images/09122025/05/16/image_09122025_05_16_34_10696.jpg
/home/pi/Desktop/images/09122025/05/17/image_09122025_05_17_24_9819.jpg
/home/pi/Desktop/images/09122025/05/17/image_09122025_05_17_44_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504014","1398504017","1398504002","1398504010","1398504007","1398504012"],"photo_ids_order":["1398504002","1398504007","1398504010","1398504012","1398504014","1398504017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/766730288c3ff49eeccce50cebb02b39.jpg","text":"TemporaryFile(/tmp/multipartBody5206077132367357044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_17_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2fca21b15ae8bfef8ae2776d0d619ad.jpg","text":"TemporaryFile(/tmp/multipartBody2265945131451181494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_17_44_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86b911d2f498d37987bebfea4b57b65e.jpg","text":"TemporaryFile(/tmp/multipartBody6169377013785373859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_14_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56bec03d91c219adf8e7e01730b0a575.jpg","text":"TemporaryFile(/tmp/multipartBody7461759370661593553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_16_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f289f96528e641914f76bd1c06ce6619.jpg","text":"TemporaryFile(/tmp/multipartBody5973202379472352591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_14_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a417677b3c02e9005c8f49140612addb.jpg","text":"TemporaryFile(/tmp/multipartBody3777329184087022797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290124277,"filename":"image_09122025_05_16_34_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504010","file1":"1398504007","file0":"1398504002","file4":"1398504014","file5":"1398504017","file3":"1398504012"},"map_files_photo_id_array":[{"photo_id":"1398504017","filename":"file5"},{"photo_id":"1398504010","filename":"file2"},{"photo_id":"1398504014","filename":"file4"},{"photo_id":"1398504007","filename":"file1"},{"photo_id":"1398504002","filename":"file0"},{"photo_id":"1398504012","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504014":["hashtag1","hashtag2"]},{"1398504017":["hashtag1","hashtag2"]},{"1398504002":["hashtag1","hashtag2"]},{"1398504010":["hashtag1","hashtag2"]},{"1398504007":["hashtag1","hashtag2"]},{"1398504012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504014, 1398504017, 1398504002, 1398504010, 1398504007, 1398504012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19609546661377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:22:02.386432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/17/image_09122025_05_18_04_9646.jpg', '/home/pi/Desktop/images/09122025/05/18/image_09122025_05_18_14_10643.jpg', '/home/pi/Desktop/images/09122025/05/18/image_09122025_05_18_24_9775.jpg', '/home/pi/Desktop/images/09122025/05/18/image_09122025_05_19_04_9540.jpg', '/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_14_9709.jpg', '/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_34_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/17/image_09122025_05_18_04_9646.jpg
/home/pi/Desktop/images/09122025/05/18/image_09122025_05_18_14_10643.jpg
/home/pi/Desktop/images/09122025/05/18/image_09122025_05_18_24_9775.jpg
/home/pi/Desktop/images/09122025/05/18/image_09122025_05_19_04_9540.jpg
/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_14_9709.jpg
/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_34_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504291","1398504124","1398504225","1398504287","1398504275","1398504176"],"photo_ids_order":["1398504124","1398504176","1398504225","1398504275","1398504287","1398504291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e102b2a13e7607e38a5b36a50d33af2a.jpg","text":"TemporaryFile(/tmp/multipartBody2562169593296940090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_19_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0da874d3e19524165c8b096efe8ee59e.jpg","text":"TemporaryFile(/tmp/multipartBody3687945044355949177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_18_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e9ac7668e146f49e4d917ca9f5c81e2.jpg","text":"TemporaryFile(/tmp/multipartBody419280923093178086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_18_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c579b2f987e9a17eca0267595495b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4222989021886558416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_19_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b967466f6d8e78701762215adecdd421.jpg","text":"TemporaryFile(/tmp/multipartBody8911451335549711142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_19_04_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38185a62d1daf961917bffbebb20f02a.jpg","text":"TemporaryFile(/tmp/multipartBody9013694587641799068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290183361,"filename":"image_09122025_05_18_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504225","file1":"1398504176","file0":"1398504124","file4":"1398504287","file5":"1398504291","file3":"1398504275"},"map_files_photo_id_array":[{"photo_id":"1398504291","filename":"file5"},{"photo_id":"1398504225","filename":"file2"},{"photo_id":"1398504287","filename":"file4"},{"photo_id":"1398504176","filename":"file1"},{"photo_id":"1398504124","filename":"file0"},{"photo_id":"1398504275","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504291":["hashtag1","hashtag2"]},{"1398504124":["hashtag1","hashtag2"]},{"1398504225":["hashtag1","hashtag2"]},{"1398504287":["hashtag1","hashtag2"]},{"1398504275":["hashtag1","hashtag2"]},{"1398504176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504291, 1398504124, 1398504225, 1398504287, 1398504275, 1398504176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49102854728699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:23:02.889507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_44_9594.jpg', '/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_54_10747.jpg', '/home/pi/Desktop/images/09122025/05/20/image_09122025_05_20_34_9682.jpg', '/home/pi/Desktop/images/09122025/05/20/image_09122025_05_20_44_9666.jpg', '/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_34_9722.jpg', '/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_44_9594.jpg
/home/pi/Desktop/images/09122025/05/19/image_09122025_05_19_54_10747.jpg
/home/pi/Desktop/images/09122025/05/20/image_09122025_05_20_34_9682.jpg
/home/pi/Desktop/images/09122025/05/20/image_09122025_05_20_44_9666.jpg
/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_34_9722.jpg
/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_44_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504461","1398504434","1398504451","1398504456","1398504459","1398504464"],"photo_ids_order":["1398504434","1398504451","1398504456","1398504459","1398504461","1398504464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80c4648eec378128ca76de65f2cc414e.jpg","text":"TemporaryFile(/tmp/multipartBody7700382744717820552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_21_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d94cd6324c6d2803b2de4e5de1b6dea0.jpg","text":"TemporaryFile(/tmp/multipartBody1909408317848421966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_19_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/238f258eff88a7e96400517494bbb8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7899823515196656902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_19_54_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a52761332ca29e003a85ba907c396ec.jpg","text":"TemporaryFile(/tmp/multipartBody7946832377486610934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_20_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66757a1cededdf108326d20949c3b86d.jpg","text":"TemporaryFile(/tmp/multipartBody4156197818674167554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_20_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d608299c951502175d4fd06491543a8.jpg","text":"TemporaryFile(/tmp/multipartBody1465228880443408036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290243710,"filename":"image_09122025_05_21_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504456","file1":"1398504451","file0":"1398504434","file4":"1398504461","file5":"1398504464","file3":"1398504459"},"map_files_photo_id_array":[{"photo_id":"1398504464","filename":"file5"},{"photo_id":"1398504456","filename":"file2"},{"photo_id":"1398504461","filename":"file4"},{"photo_id":"1398504451","filename":"file1"},{"photo_id":"1398504434","filename":"file0"},{"photo_id":"1398504459","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504461":["hashtag1","hashtag2"]},{"1398504434":["hashtag1","hashtag2"]},{"1398504451":["hashtag1","hashtag2"]},{"1398504456":["hashtag1","hashtag2"]},{"1398504459":["hashtag1","hashtag2"]},{"1398504464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504461, 1398504434, 1398504451, 1398504456, 1398504459, 1398504464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.962401390075684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:24:02.910630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_54_10598.jpg', '/home/pi/Desktop/images/09122025/05/21/image_09122025_05_22_04_9686.jpg', '/home/pi/Desktop/images/09122025/05/22/image_09122025_05_22_24_10665.jpg', '/home/pi/Desktop/images/09122025/05/22/image_09122025_05_23_04_10597.jpg', '/home/pi/Desktop/images/09122025/05/23/image_09122025_05_23_14_9795.jpg', '/home/pi/Desktop/images/09122025/05/24/image_09122025_05_24_14_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/21/image_09122025_05_21_54_10598.jpg
/home/pi/Desktop/images/09122025/05/21/image_09122025_05_22_04_9686.jpg
/home/pi/Desktop/images/09122025/05/22/image_09122025_05_22_24_10665.jpg
/home/pi/Desktop/images/09122025/05/22/image_09122025_05_23_04_10597.jpg
/home/pi/Desktop/images/09122025/05/23/image_09122025_05_23_14_9795.jpg
/home/pi/Desktop/images/09122025/05/24/image_09122025_05_24_14_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504500","1398504503","1398504489","1398504494","1398504497","1398504491"],"photo_ids_order":["1398504489","1398504491","1398504494","1398504497","1398504500","1398504503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58666e08a177538583cc175624912063.jpg","text":"TemporaryFile(/tmp/multipartBody7660517444600548636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_23_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22eaf3a44b171ff5fd0a8b5fc5ca3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4231720494639736997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_24_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e2fafb105c1bf0391eaf33a855c9797.jpg","text":"TemporaryFile(/tmp/multipartBody1788802900491954643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_21_54_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1aa73b63de946cf682ce1b763544ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody735967597691199343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_22_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7b1cd4bb8e959cf5b1a05269805f425.jpg","text":"TemporaryFile(/tmp/multipartBody896900945409540985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_23_04_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a15dd65d425a087a4a91502fcd4af8c2.jpg","text":"TemporaryFile(/tmp/multipartBody76501576528665800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290303902,"filename":"image_09122025_05_22_04_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504494","file1":"1398504491","file0":"1398504489","file4":"1398504500","file5":"1398504503","file3":"1398504497"},"map_files_photo_id_array":[{"photo_id":"1398504503","filename":"file5"},{"photo_id":"1398504494","filename":"file2"},{"photo_id":"1398504500","filename":"file4"},{"photo_id":"1398504491","filename":"file1"},{"photo_id":"1398504489","filename":"file0"},{"photo_id":"1398504497","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504500":["hashtag1","hashtag2"]},{"1398504503":["hashtag1","hashtag2"]},{"1398504489":["hashtag1","hashtag2"]},{"1398504494":["hashtag1","hashtag2"]},{"1398504497":["hashtag1","hashtag2"]},{"1398504491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504500, 1398504503, 1398504489, 1398504494, 1398504497, 1398504491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.665974140167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:25:03.387273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/24/image_09122025_05_24_24_10602.jpg', '/home/pi/Desktop/images/09122025/05/25/image_09122025_05_25_34_9686.jpg', '/home/pi/Desktop/images/09122025/05/25/image_09122025_05_25_44_9584.jpg', '/home/pi/Desktop/images/09122025/05/27/image_09122025_05_28_04_9646.jpg', '/home/pi/Desktop/images/09122025/05/28/image_09122025_05_28_24_10662.jpg', '/home/pi/Desktop/images/09122025/05/29/image_09122025_05_29_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/24/image_09122025_05_24_24_10602.jpg
/home/pi/Desktop/images/09122025/05/25/image_09122025_05_25_34_9686.jpg
/home/pi/Desktop/images/09122025/05/25/image_09122025_05_25_44_9584.jpg
/home/pi/Desktop/images/09122025/05/27/image_09122025_05_28_04_9646.jpg
/home/pi/Desktop/images/09122025/05/28/image_09122025_05_28_24_10662.jpg
/home/pi/Desktop/images/09122025/05/29/image_09122025_05_29_14_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504536","1398504538","1398504534","1398504528","1398504531","1398504525"],"photo_ids_order":["1398504525","1398504528","1398504531","1398504534","1398504536","1398504538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3688e8c969a52d743a59826f74dfc80b.jpg","text":"TemporaryFile(/tmp/multipartBody1344591290162666002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_28_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e85d280b18b8a0031bd3f95cbd2e3b62.jpg","text":"TemporaryFile(/tmp/multipartBody717889011022148799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_29_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd48db6b41c1bf5701ad093616230633.jpg","text":"TemporaryFile(/tmp/multipartBody7697761622366111608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_28_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f745001a67efadda237e123e67858f4.jpg","text":"TemporaryFile(/tmp/multipartBody5861800546110270893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_25_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86ad66b2961fe271dac4ce4981d4adb4.jpg","text":"TemporaryFile(/tmp/multipartBody3136301328894902388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_25_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/533cfe8e6eeb7f53e9fc456600aea9a3.jpg","text":"TemporaryFile(/tmp/multipartBody5938759125860938661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290364136,"filename":"image_09122025_05_24_24_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504531","file1":"1398504528","file0":"1398504525","file4":"1398504536","file5":"1398504538","file3":"1398504534"},"map_files_photo_id_array":[{"photo_id":"1398504538","filename":"file5"},{"photo_id":"1398504531","filename":"file2"},{"photo_id":"1398504536","filename":"file4"},{"photo_id":"1398504528","filename":"file1"},{"photo_id":"1398504525","filename":"file0"},{"photo_id":"1398504534","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504536":["hashtag1","hashtag2"]},{"1398504538":["hashtag1","hashtag2"]},{"1398504534":["hashtag1","hashtag2"]},{"1398504528":["hashtag1","hashtag2"]},{"1398504531":["hashtag1","hashtag2"]},{"1398504525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504536, 1398504538, 1398504534, 1398504528, 1398504531, 1398504525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.778971433639526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:26:02.334515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/29/image_09122025_05_29_54_9668.jpg', '/home/pi/Desktop/images/09122025/05/29/image_09122025_05_30_04_10703.jpg', '/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_14_9658.jpg', '/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_24_9809.jpg', '/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_34_10792.jpg', '/home/pi/Desktop/images/09122025/05/30/image_09122025_05_31_04_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/29/image_09122025_05_29_54_9668.jpg
/home/pi/Desktop/images/09122025/05/29/image_09122025_05_30_04_10703.jpg
/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_14_9658.jpg
/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_24_9809.jpg
/home/pi/Desktop/images/09122025/05/30/image_09122025_05_30_34_10792.jpg
/home/pi/Desktop/images/09122025/05/30/image_09122025_05_31_04_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504571","1398504568","1398504556","1398504564","1398504561","1398504558"],"photo_ids_order":["1398504556","1398504558","1398504561","1398504564","1398504568","1398504571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0596f69317a23bd450ff0c510a3adb9.jpg","text":"TemporaryFile(/tmp/multipartBody1397945024516025350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_31_04_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fe0dcf7bfa19aab47b95c911a9f533a.jpg","text":"TemporaryFile(/tmp/multipartBody6827452610956375026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_30_34_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8deff973bbaa3a51b789ffe9961879ec.jpg","text":"TemporaryFile(/tmp/multipartBody4494160570605780416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_29_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18b119fda9f770e794f27d9925658e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8057048442807176885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_30_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f6afbef43cedd8b4b0d6e6e8371dbe3.jpg","text":"TemporaryFile(/tmp/multipartBody8630831644326526115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_30_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e591d21942ac6cbd04932c81d97d1b5.jpg","text":"TemporaryFile(/tmp/multipartBody1024033142167077224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290423317,"filename":"image_09122025_05_30_04_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504561","file1":"1398504558","file0":"1398504556","file4":"1398504568","file5":"1398504571","file3":"1398504564"},"map_files_photo_id_array":[{"photo_id":"1398504571","filename":"file5"},{"photo_id":"1398504561","filename":"file2"},{"photo_id":"1398504568","filename":"file4"},{"photo_id":"1398504558","filename":"file1"},{"photo_id":"1398504556","filename":"file0"},{"photo_id":"1398504564","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504571":["hashtag1","hashtag2"]},{"1398504568":["hashtag1","hashtag2"]},{"1398504556":["hashtag1","hashtag2"]},{"1398504564":["hashtag1","hashtag2"]},{"1398504561":["hashtag1","hashtag2"]},{"1398504558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504571, 1398504568, 1398504556, 1398504564, 1398504561, 1398504558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67334723472595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:27:02.736398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/31/image_09122025_05_31_44_9812.jpg', '/home/pi/Desktop/images/09122025/05/33/image_09122025_05_34_04_9913.jpg', '/home/pi/Desktop/images/09122025/05/36/image_09122025_05_37_04_10539.jpg', '/home/pi/Desktop/images/09122025/05/37/image_09122025_05_37_24_10765.jpg', '/home/pi/Desktop/images/09122025/05/37/image_09122025_05_37_34_9651.jpg', '/home/pi/Desktop/images/09122025/05/38/image_09122025_05_38_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/31/image_09122025_05_31_44_9812.jpg
/home/pi/Desktop/images/09122025/05/33/image_09122025_05_34_04_9913.jpg
/home/pi/Desktop/images/09122025/05/36/image_09122025_05_37_04_10539.jpg
/home/pi/Desktop/images/09122025/05/37/image_09122025_05_37_24_10765.jpg
/home/pi/Desktop/images/09122025/05/37/image_09122025_05_37_34_9651.jpg
/home/pi/Desktop/images/09122025/05/38/image_09122025_05_38_54_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504610","1398504609","1398504603","1398504593","1398504596","1398504599"],"photo_ids_order":["1398504593","1398504596","1398504599","1398504603","1398504609","1398504610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4b1c19f1b047e2a8ed4de032be1e44bd.jpg","text":"TemporaryFile(/tmp/multipartBody2612731090362681373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_38_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d3d6e474625f484478e06e47064cb20.jpg","text":"TemporaryFile(/tmp/multipartBody1842212592798460915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_37_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/645ad30db736ea58ad0ad5657f7366b1.jpg","text":"TemporaryFile(/tmp/multipartBody6396797773437952315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_37_24_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4805f252a632fe7305e9c5a77b3b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody5110385664939130351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_31_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c46931665862d0de6dcfd058cc2b9539.jpg","text":"TemporaryFile(/tmp/multipartBody1216867704069843804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_34_04_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5fbe79c28f7d0916bce105ac106b6b89.jpg","text":"TemporaryFile(/tmp/multipartBody4521169888076453949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290483695,"filename":"image_09122025_05_37_04_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504599","file1":"1398504596","file0":"1398504593","file4":"1398504609","file5":"1398504610","file3":"1398504603"},"map_files_photo_id_array":[{"photo_id":"1398504610","filename":"file5"},{"photo_id":"1398504599","filename":"file2"},{"photo_id":"1398504609","filename":"file4"},{"photo_id":"1398504596","filename":"file1"},{"photo_id":"1398504593","filename":"file0"},{"photo_id":"1398504603","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504610":["hashtag1","hashtag2"]},{"1398504609":["hashtag1","hashtag2"]},{"1398504603":["hashtag1","hashtag2"]},{"1398504593":["hashtag1","hashtag2"]},{"1398504596":["hashtag1","hashtag2"]},{"1398504599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504610, 1398504609, 1398504603, 1398504593, 1398504596, 1398504599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57638764381409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:28:02.781329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/40/image_09122025_05_40_34_10582.jpg', '/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_24_9664.jpg', '/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_44_10716.jpg', '/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_54_9610.jpg', '/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_14_10664.jpg', '/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_24_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/40/image_09122025_05_40_34_10582.jpg
/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_24_9664.jpg
/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_44_10716.jpg
/home/pi/Desktop/images/09122025/05/41/image_09122025_05_41_54_9610.jpg
/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_14_10664.jpg
/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_24_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504641","1398504652","1398504645","1398504648","1398504657","1398504642"],"photo_ids_order":["1398504641","1398504642","1398504645","1398504648","1398504652","1398504657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/788f44493a9c77f4c820f39d6feb5c03.jpg","text":"TemporaryFile(/tmp/multipartBody18985657785856757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_40_34_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d9d713d101cc8ef262486dc66a8a4335.jpg","text":"TemporaryFile(/tmp/multipartBody2483048201110091478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_42_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8510bcbdf3b72f8ca58031fd65a96d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1402664226013184662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_41_44_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cd8faa9cc9951d7cc02d299023ec267.jpg","text":"TemporaryFile(/tmp/multipartBody684537634613269132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_41_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbf2577c9709c33e3a9d2d5aef91e764.jpg","text":"TemporaryFile(/tmp/multipartBody1319887143527581199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_42_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca38a264644699979330e5e9cec50897.jpg","text":"TemporaryFile(/tmp/multipartBody1234292451557573154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290543615,"filename":"image_09122025_05_41_24_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504645","file1":"1398504642","file0":"1398504641","file4":"1398504652","file5":"1398504657","file3":"1398504648"},"map_files_photo_id_array":[{"photo_id":"1398504657","filename":"file5"},{"photo_id":"1398504645","filename":"file2"},{"photo_id":"1398504652","filename":"file4"},{"photo_id":"1398504642","filename":"file1"},{"photo_id":"1398504641","filename":"file0"},{"photo_id":"1398504648","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504641":["hashtag1","hashtag2"]},{"1398504652":["hashtag1","hashtag2"]},{"1398504645":["hashtag1","hashtag2"]},{"1398504648":["hashtag1","hashtag2"]},{"1398504657":["hashtag1","hashtag2"]},{"1398504642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504641, 1398504652, 1398504645, 1398504648, 1398504657, 1398504642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7259795665741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:29:03.432118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_54_9614.jpg', '/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_14_9711.jpg', '/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_24_9563.jpg', '/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_34_10594.jpg', '/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_44_9537.jpg', '/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/42/image_09122025_05_42_54_9614.jpg
/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_14_9711.jpg
/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_24_9563.jpg
/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_34_10594.jpg
/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_44_9537.jpg
/home/pi/Desktop/images/09122025/05/43/image_09122025_05_43_54_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504688","1398504676","1398504681","1398504678","1398504686","1398504683"],"photo_ids_order":["1398504676","1398504678","1398504681","1398504683","1398504686","1398504688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e295e9f7c55b0fb98e6716619c0de30.jpg","text":"TemporaryFile(/tmp/multipartBody1893053392632171302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_43_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17a33e7da5596a32c0bc3fa67d9aa750.jpg","text":"TemporaryFile(/tmp/multipartBody833242168924817742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_42_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61f2833c2d23de39190414587eb0eea4.jpg","text":"TemporaryFile(/tmp/multipartBody2609646731808494652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_43_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f97bfa82e8fc247f7b2fa0c92347901d.jpg","text":"TemporaryFile(/tmp/multipartBody7924184678176312759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_43_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9b7f5ddd83513c87eb7231b4543a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3674962965299725626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_43_44_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47e487ae16102d9a6fa74218f5c577c5.jpg","text":"TemporaryFile(/tmp/multipartBody6093239272305498946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290604342,"filename":"image_09122025_05_43_34_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504681","file1":"1398504678","file0":"1398504676","file4":"1398504686","file5":"1398504688","file3":"1398504683"},"map_files_photo_id_array":[{"photo_id":"1398504688","filename":"file5"},{"photo_id":"1398504681","filename":"file2"},{"photo_id":"1398504686","filename":"file4"},{"photo_id":"1398504678","filename":"file1"},{"photo_id":"1398504676","filename":"file0"},{"photo_id":"1398504683","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504688":["hashtag1","hashtag2"]},{"1398504676":["hashtag1","hashtag2"]},{"1398504681":["hashtag1","hashtag2"]},{"1398504678":["hashtag1","hashtag2"]},{"1398504686":["hashtag1","hashtag2"]},{"1398504683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504688, 1398504676, 1398504681, 1398504678, 1398504686, 1398504683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15154814720154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:30:02.498181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_14_9658.jpg', '/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_24_9663.jpg', '/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_34_10585.jpg', '/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_44_9592.jpg', '/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_34_9661.jpg', '/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_44_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_14_9658.jpg
/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_24_9663.jpg
/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_34_10585.jpg
/home/pi/Desktop/images/09122025/05/44/image_09122025_05_44_44_9592.jpg
/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_34_9661.jpg
/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_44_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504731","1398504725","1398504713","1398504721","1398504715","1398504718"],"photo_ids_order":["1398504713","1398504715","1398504718","1398504721","1398504725","1398504731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c538698e08cc518455b64316228c01bf.jpg","text":"TemporaryFile(/tmp/multipartBody5891743352371864886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_45_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6832e212733d75b4781eb8053148884b.jpg","text":"TemporaryFile(/tmp/multipartBody2446724990246220078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_45_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04a883f1615caa5694baa1a503a4808d.jpg","text":"TemporaryFile(/tmp/multipartBody7214692716471168397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_44_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b94f697d35147b89dd83e505deb1168.jpg","text":"TemporaryFile(/tmp/multipartBody1574445509140163194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_44_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1464574a7f377ef0ee767dc124aeeab9.jpg","text":"TemporaryFile(/tmp/multipartBody2461397088948579888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_44_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52548f29408097a89634290702a9967a.jpg","text":"TemporaryFile(/tmp/multipartBody1058105594009331576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290663470,"filename":"image_09122025_05_44_34_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504718","file1":"1398504715","file0":"1398504713","file4":"1398504725","file5":"1398504731","file3":"1398504721"},"map_files_photo_id_array":[{"photo_id":"1398504731","filename":"file5"},{"photo_id":"1398504718","filename":"file2"},{"photo_id":"1398504725","filename":"file4"},{"photo_id":"1398504715","filename":"file1"},{"photo_id":"1398504713","filename":"file0"},{"photo_id":"1398504721","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504731":["hashtag1","hashtag2"]},{"1398504725":["hashtag1","hashtag2"]},{"1398504713":["hashtag1","hashtag2"]},{"1398504721":["hashtag1","hashtag2"]},{"1398504715":["hashtag1","hashtag2"]},{"1398504718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504731, 1398504725, 1398504713, 1398504721, 1398504715, 1398504718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56103873252869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:31:02.979679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_54_10563.jpg', '/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_14_10636.jpg', '/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_24_9652.jpg', '/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_54_10578.jpg', '/home/pi/Desktop/images/09122025/05/47/image_09122025_05_47_24_10682.jpg', '/home/pi/Desktop/images/09122025/05/48/image_09122025_05_48_54_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/45/image_09122025_05_45_54_10563.jpg
/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_14_10636.jpg
/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_24_9652.jpg
/home/pi/Desktop/images/09122025/05/46/image_09122025_05_46_54_10578.jpg
/home/pi/Desktop/images/09122025/05/47/image_09122025_05_47_24_10682.jpg
/home/pi/Desktop/images/09122025/05/48/image_09122025_05_48_54_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504763","1398504757","1398504765","1398504747","1398504767","1398504761"],"photo_ids_order":["1398504747","1398504757","1398504761","1398504763","1398504765","1398504767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc8f9fc9d8d3707d1137d97a30912550.jpg","text":"TemporaryFile(/tmp/multipartBody9156529794085711755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_46_54_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6f03140fa86ad1663ccf6a6b96cfd47.jpg","text":"TemporaryFile(/tmp/multipartBody402453554579173288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_46_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/778077ac34060a1f2d5bdf9b58cc4435.jpg","text":"TemporaryFile(/tmp/multipartBody2051857588004193113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_47_24_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a08b175fae116ab9e28d457cacec775.jpg","text":"TemporaryFile(/tmp/multipartBody3364168441187104536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_45_54_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7351130685e933e978e5eb1a7266d984.jpg","text":"TemporaryFile(/tmp/multipartBody1774432382782240369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_48_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb6856765c23001ca706cfe0b6b7e691.jpg","text":"TemporaryFile(/tmp/multipartBody5683628474468670686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290723883,"filename":"image_09122025_05_46_24_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504761","file1":"1398504757","file0":"1398504747","file4":"1398504765","file5":"1398504767","file3":"1398504763"},"map_files_photo_id_array":[{"photo_id":"1398504767","filename":"file5"},{"photo_id":"1398504761","filename":"file2"},{"photo_id":"1398504765","filename":"file4"},{"photo_id":"1398504757","filename":"file1"},{"photo_id":"1398504747","filename":"file0"},{"photo_id":"1398504763","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504763":["hashtag1","hashtag2"]},{"1398504757":["hashtag1","hashtag2"]},{"1398504765":["hashtag1","hashtag2"]},{"1398504747":["hashtag1","hashtag2"]},{"1398504767":["hashtag1","hashtag2"]},{"1398504761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504763, 1398504757, 1398504765, 1398504747, 1398504767, 1398504761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.858954191207886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:32:02.984121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/48/image_09122025_05_49_04_9548.jpg', '/home/pi/Desktop/images/09122025/05/50/image_09122025_05_50_54_9542.jpg', '/home/pi/Desktop/images/09122025/05/50/image_09122025_05_51_04_9976.jpg', '/home/pi/Desktop/images/09122025/05/51/image_09122025_05_51_14_9650.jpg', '/home/pi/Desktop/images/09122025/05/51/image_09122025_05_52_04_9597.jpg', '/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_14_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/48/image_09122025_05_49_04_9548.jpg
/home/pi/Desktop/images/09122025/05/50/image_09122025_05_50_54_9542.jpg
/home/pi/Desktop/images/09122025/05/50/image_09122025_05_51_04_9976.jpg
/home/pi/Desktop/images/09122025/05/51/image_09122025_05_51_14_9650.jpg
/home/pi/Desktop/images/09122025/05/51/image_09122025_05_52_04_9597.jpg
/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_14_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504800","1398504790","1398504793","1398504795","1398504791","1398504797"],"photo_ids_order":["1398504790","1398504791","1398504793","1398504795","1398504797","1398504800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c08c34258f5b6f882b902a21b32e12f.jpg","text":"TemporaryFile(/tmp/multipartBody3306236894727653588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_52_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/416747bbaee62818fd22340e49031286.jpg","text":"TemporaryFile(/tmp/multipartBody825411899817371467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_49_04_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61351659917db8608d686a2e794ba96d.jpg","text":"TemporaryFile(/tmp/multipartBody6940497780031893459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_51_04_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70dcdc80595f1eadd44f16a2a88b5673.jpg","text":"TemporaryFile(/tmp/multipartBody6478371548801269977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_51_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acac9685277d1c984603c018636c31e7.jpg","text":"TemporaryFile(/tmp/multipartBody5590727781591068180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_50_54_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/accb390e373b5a77f141134f44d87c57.jpg","text":"TemporaryFile(/tmp/multipartBody1247907541723201930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290783851,"filename":"image_09122025_05_52_04_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504793","file1":"1398504791","file0":"1398504790","file4":"1398504797","file5":"1398504800","file3":"1398504795"},"map_files_photo_id_array":[{"photo_id":"1398504800","filename":"file5"},{"photo_id":"1398504793","filename":"file2"},{"photo_id":"1398504797","filename":"file4"},{"photo_id":"1398504791","filename":"file1"},{"photo_id":"1398504790","filename":"file0"},{"photo_id":"1398504795","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504800":["hashtag1","hashtag2"]},{"1398504790":["hashtag1","hashtag2"]},{"1398504793":["hashtag1","hashtag2"]},{"1398504795":["hashtag1","hashtag2"]},{"1398504791":["hashtag1","hashtag2"]},{"1398504797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504800, 1398504790, 1398504793, 1398504795, 1398504791, 1398504797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08036255836487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:33:03.265687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_24_10608.jpg', '/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_44_9775.jpg', '/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_54_10639.jpg', '/home/pi/Desktop/images/09122025/05/52/image_09122025_05_53_04_9724.jpg', '/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_24_9645.jpg', '/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_34_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_24_10608.jpg
/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_44_9775.jpg
/home/pi/Desktop/images/09122025/05/52/image_09122025_05_52_54_10639.jpg
/home/pi/Desktop/images/09122025/05/52/image_09122025_05_53_04_9724.jpg
/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_24_9645.jpg
/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_34_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504845","1398504850","1398504847","1398504832","1398504835","1398504848"],"photo_ids_order":["1398504832","1398504835","1398504845","1398504847","1398504848","1398504850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb0827ba94187755a529633a3d77a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1200008244313241221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_52_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54421c085725017f35e60bc5e619111d.jpg","text":"TemporaryFile(/tmp/multipartBody1811311381260671741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_53_34_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/951b5b7961ce4d25122ffa624993251b.jpg","text":"TemporaryFile(/tmp/multipartBody5580882178472212071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_53_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/551feee5d5342a5ef1a9404177eceb38.jpg","text":"TemporaryFile(/tmp/multipartBody2489270224626231995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_52_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/530fc183f60bee42f99d8191878eba81.jpg","text":"TemporaryFile(/tmp/multipartBody635060168844445444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_52_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92a79f9b8457d0dcae1aa1bfbf094662.jpg","text":"TemporaryFile(/tmp/multipartBody4084943088300576966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290843978,"filename":"image_09122025_05_53_24_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504845","file1":"1398504835","file0":"1398504832","file4":"1398504848","file5":"1398504850","file3":"1398504847"},"map_files_photo_id_array":[{"photo_id":"1398504850","filename":"file5"},{"photo_id":"1398504845","filename":"file2"},{"photo_id":"1398504848","filename":"file4"},{"photo_id":"1398504835","filename":"file1"},{"photo_id":"1398504832","filename":"file0"},{"photo_id":"1398504847","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504845":["hashtag1","hashtag2"]},{"1398504850":["hashtag1","hashtag2"]},{"1398504847":["hashtag1","hashtag2"]},{"1398504832":["hashtag1","hashtag2"]},{"1398504835":["hashtag1","hashtag2"]},{"1398504848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504845, 1398504850, 1398504847, 1398504832, 1398504835, 1398504848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98440766334534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:34:02.594010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_44_9593.jpg', '/home/pi/Desktop/images/09122025/05/54/image_09122025_05_55_04_9664.jpg', '/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_14_9832.jpg', '/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_24_10688.jpg', '/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_34_9621.jpg', '/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_44_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/53/image_09122025_05_53_44_9593.jpg
/home/pi/Desktop/images/09122025/05/54/image_09122025_05_55_04_9664.jpg
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_14_9832.jpg
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_24_10688.jpg
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_34_9621.jpg
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_44_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504874","1398504882","1398504876","1398504885","1398504879","1398504875"],"photo_ids_order":["1398504874","1398504875","1398504876","1398504879","1398504882","1398504885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3340efdcb4000654e361a27b97b0ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5484883219212404012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_53_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43952faffd22062691f59a4a4fc3f6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4849866547628213228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_55_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b0fcb20374680fe081757cf250f9a22.jpg","text":"TemporaryFile(/tmp/multipartBody733257646330331944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_55_14_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b76bce0d8c6adc1e92876ebd092a86e6.jpg","text":"TemporaryFile(/tmp/multipartBody1268672973460456586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_55_44_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b7fbd28b080453ec25db81d597fb431.jpg","text":"TemporaryFile(/tmp/multipartBody7672065470395883136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_55_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f7f34cea110131fdecf5b92cf6abb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7270908012175136822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290903627,"filename":"image_09122025_05_55_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504876","file1":"1398504875","file0":"1398504874","file4":"1398504882","file5":"1398504885","file3":"1398504879"},"map_files_photo_id_array":[{"photo_id":"1398504885","filename":"file5"},{"photo_id":"1398504876","filename":"file2"},{"photo_id":"1398504882","filename":"file4"},{"photo_id":"1398504875","filename":"file1"},{"photo_id":"1398504874","filename":"file0"},{"photo_id":"1398504879","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504874":["hashtag1","hashtag2"]},{"1398504882":["hashtag1","hashtag2"]},{"1398504876":["hashtag1","hashtag2"]},{"1398504885":["hashtag1","hashtag2"]},{"1398504879":["hashtag1","hashtag2"]},{"1398504875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504874, 1398504882, 1398504876, 1398504885, 1398504879, 1398504875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46774363517761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:35:02.925291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_54_9688.jpg', '/home/pi/Desktop/images/09122025/05/55/image_09122025_05_56_03_9870.jpg', '/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_14_10564.jpg', '/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_24_9626.jpg', '/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_34_10656.jpg', '/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_55_54_9688.jpg
/home/pi/Desktop/images/09122025/05/55/image_09122025_05_56_03_9870.jpg
/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_14_10564.jpg
/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_24_9626.jpg
/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_34_10656.jpg
/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504923","1398504926","1398504922","1398504918","1398504915","1398504920"],"photo_ids_order":["1398504915","1398504918","1398504920","1398504922","1398504923","1398504926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f3fd91c5ee016396b24cbf3673772a8.jpg","text":"TemporaryFile(/tmp/multipartBody8214264878650232754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_56_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1212b05dee861a591ea195b81adc39b6.jpg","text":"TemporaryFile(/tmp/multipartBody1589698096255466740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_56_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d1a4ead804fb459ffdefa915996fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody8299293266037471311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_56_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/756deb5c965a12d9efe5e350c1a903fe.jpg","text":"TemporaryFile(/tmp/multipartBody4964173288288683909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_56_03_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd05c7e34ff61e2b48c390db3ce47462.jpg","text":"TemporaryFile(/tmp/multipartBody7575112264755143590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_55_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a620de6bfe5fb60e5c378e3f2a7728d9.jpg","text":"TemporaryFile(/tmp/multipartBody3051660694703737665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765290963834,"filename":"image_09122025_05_56_14_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504920","file1":"1398504918","file0":"1398504915","file4":"1398504923","file5":"1398504926","file3":"1398504922"},"map_files_photo_id_array":[{"photo_id":"1398504926","filename":"file5"},{"photo_id":"1398504920","filename":"file2"},{"photo_id":"1398504923","filename":"file4"},{"photo_id":"1398504918","filename":"file1"},{"photo_id":"1398504915","filename":"file0"},{"photo_id":"1398504922","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504923":["hashtag1","hashtag2"]},{"1398504926":["hashtag1","hashtag2"]},{"1398504922":["hashtag1","hashtag2"]},{"1398504918":["hashtag1","hashtag2"]},{"1398504915":["hashtag1","hashtag2"]},{"1398504920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504923, 1398504926, 1398504922, 1398504918, 1398504915, 1398504920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95192193984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:36:02.904402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_54_9622.jpg', '/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_14_9672.jpg', '/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_24_9707.jpg', '/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_34_10755.jpg', '/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_54_9675.jpg', '/home/pi/Desktop/images/09122025/05/57/image_09122025_05_58_04_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/56/image_09122025_05_56_54_9622.jpg
/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_14_9672.jpg
/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_24_9707.jpg
/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_34_10755.jpg
/home/pi/Desktop/images/09122025/05/57/image_09122025_05_57_54_9675.jpg
/home/pi/Desktop/images/09122025/05/57/image_09122025_05_58_04_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398504958","1398504952","1398504961","1398504955","1398504951","1398504953"],"photo_ids_order":["1398504951","1398504952","1398504953","1398504955","1398504958","1398504961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/435e88dce762ea08a04dc6063857f3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3162499608314886672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_57_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94b7026cbb7e0c0cfb2888d6ce253889.jpg","text":"TemporaryFile(/tmp/multipartBody3356199898944697925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_57_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/397fdb2bb88fb63dff4a350ff3c61010.jpg","text":"TemporaryFile(/tmp/multipartBody2386009464416913829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_58_04_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f14427c03be8d2b04b81691a00d2be90.jpg","text":"TemporaryFile(/tmp/multipartBody3004150613604716526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_57_34_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fddb961038fdec6dea9257d727807d2.jpg","text":"TemporaryFile(/tmp/multipartBody3515670833525932421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_56_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a95dcd58cc78593c17f7244cd3d9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2416760279520119379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291023807,"filename":"image_09122025_05_57_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398504953","file1":"1398504952","file0":"1398504951","file4":"1398504958","file5":"1398504961","file3":"1398504955"},"map_files_photo_id_array":[{"photo_id":"1398504961","filename":"file5"},{"photo_id":"1398504953","filename":"file2"},{"photo_id":"1398504958","filename":"file4"},{"photo_id":"1398504952","filename":"file1"},{"photo_id":"1398504951","filename":"file0"},{"photo_id":"1398504955","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398504958":["hashtag1","hashtag2"]},{"1398504952":["hashtag1","hashtag2"]},{"1398504961":["hashtag1","hashtag2"]},{"1398504955":["hashtag1","hashtag2"]},{"1398504951":["hashtag1","hashtag2"]},{"1398504953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398504958, 1398504952, 1398504961, 1398504955, 1398504951, 1398504953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62546110153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:37:03.432649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/05/58/image_09122025_05_59_04_9628.jpg', '/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_14_10836.jpg', '/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_24_9707.jpg', '/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_34_9540.jpg', '/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_44_10599.jpg', '/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_54_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/05/58/image_09122025_05_59_04_9628.jpg
/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_14_10836.jpg
/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_24_9707.jpg
/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_34_9540.jpg
/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_44_10599.jpg
/home/pi/Desktop/images/09122025/05/59/image_09122025_05_59_54_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505027","1398505024","1398505029","1398504992","1398505010","1398505004"],"photo_ids_order":["1398504992","1398505004","1398505010","1398505024","1398505027","1398505029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d272553b90286380d1be6807c0cca9fb.jpg","text":"TemporaryFile(/tmp/multipartBody3951199348847899583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_44_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d274418de0372558c92b569250e923b.jpg","text":"TemporaryFile(/tmp/multipartBody6589163953324282836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_34_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a32d39cfeb228684dff19b3c729d5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5630492468835892415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b06647e84f8dc56c2a2f10286fae2bc5.jpg","text":"TemporaryFile(/tmp/multipartBody4799315389763013860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd39fe2da73dd5fcdd2bc33113746fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5965742018588202766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da7d0f5b0fc53550bb96382210a5542d.jpg","text":"TemporaryFile(/tmp/multipartBody6603342328547945815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291084330,"filename":"image_09122025_05_59_14_10836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505010","file1":"1398505004","file0":"1398504992","file4":"1398505027","file5":"1398505029","file3":"1398505024"},"map_files_photo_id_array":[{"photo_id":"1398505029","filename":"file5"},{"photo_id":"1398505010","filename":"file2"},{"photo_id":"1398505027","filename":"file4"},{"photo_id":"1398505004","filename":"file1"},{"photo_id":"1398504992","filename":"file0"},{"photo_id":"1398505024","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505027":["hashtag1","hashtag2"]},{"1398505024":["hashtag1","hashtag2"]},{"1398505029":["hashtag1","hashtag2"]},{"1398504992":["hashtag1","hashtag2"]},{"1398505010":["hashtag1","hashtag2"]},{"1398505004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505027, 1398505024, 1398505029, 1398504992, 1398505010, 1398505004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52383899688721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:38:02.334798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_14_10843.jpg', '/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_24_9734.jpg', '/home/pi/Desktop/images/09122025/06/02/image_09122025_06_02_44_9683.jpg', '/home/pi/Desktop/images/09122025/06/02/image_09122025_06_03_04_9763.jpg', '/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_24_10629.jpg', '/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_34_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_14_10843.jpg
/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_24_9734.jpg
/home/pi/Desktop/images/09122025/06/02/image_09122025_06_02_44_9683.jpg
/home/pi/Desktop/images/09122025/06/02/image_09122025_06_03_04_9763.jpg
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_24_10629.jpg
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_34_9712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5215392112731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 15:38:11.921341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_36_10637.jpg', '/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_45_9803.jpg', '/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_55_9747.jpg', '/home/pi/Desktop/images/08122025/12/43/image_08122025_12_44_05_9602.jpg', '/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_15_10709.jpg', '/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_25_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_36_10637.jpg
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_45_9803.jpg
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_43_55_9747.jpg
/home/pi/Desktop/images/08122025/12/43/image_08122025_12_44_05_9602.jpg
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_15_10709.jpg
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_25_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505066","1398505048","1398505062","1398505059","1398505052","1398505055"],"photo_ids_order":["1398505048","1398505052","1398505055","1398505059","1398505062","1398505066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0a901a18f5098b7610e6d9ceeca3087.jpg","text":"TemporaryFile(/tmp/multipartBody7373583382342781427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_44_25_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eda3980391bbc5c99dbaa0d9d6b7f193.jpg","text":"TemporaryFile(/tmp/multipartBody7105264649008346177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_43_36_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3a720b83f17466ce5626cd22df181d4.jpg","text":"TemporaryFile(/tmp/multipartBody7195943000834158164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_44_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/325640190dd947b2cd9c3ed6f84d4e44.jpg","text":"TemporaryFile(/tmp/multipartBody6773033339235889161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_44_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9259618cc6280c236e3cbecc078ff467.jpg","text":"TemporaryFile(/tmp/multipartBody2849756738469480960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_43_45_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5adcd284aacfd9460f2718d2751522f.jpg","text":"TemporaryFile(/tmp/multipartBody3627810359823454783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291153970,"filename":"image_08122025_12_43_55_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505055","file1":"1398505052","file0":"1398505048","file4":"1398505062","file5":"1398505066","file3":"1398505059"},"map_files_photo_id_array":[{"photo_id":"1398505066","filename":"file5"},{"photo_id":"1398505055","filename":"file2"},{"photo_id":"1398505062","filename":"file4"},{"photo_id":"1398505052","filename":"file1"},{"photo_id":"1398505048","filename":"file0"},{"photo_id":"1398505059","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398505066":["hashtag1","hashtag2"]},{"1398505048":["hashtag1","hashtag2"]},{"1398505062":["hashtag1","hashtag2"]},{"1398505059":["hashtag1","hashtag2"]},{"1398505052":["hashtag1","hashtag2"]},{"1398505055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398505066, 1398505048, 1398505062, 1398505059, 1398505052, 1398505055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95569467544556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:39:03.194033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_14_10843.jpg', '/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_24_9734.jpg', '/home/pi/Desktop/images/09122025/06/02/image_09122025_06_02_44_9683.jpg', '/home/pi/Desktop/images/09122025/06/02/image_09122025_06_03_04_9763.jpg', '/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_24_10629.jpg', '/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_34_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_14_10843.jpg
/home/pi/Desktop/images/09122025/06/00/image_09122025_06_00_24_9734.jpg
/home/pi/Desktop/images/09122025/06/02/image_09122025_06_02_44_9683.jpg
/home/pi/Desktop/images/09122025/06/02/image_09122025_06_03_04_9763.jpg
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_24_10629.jpg
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_34_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505106","1398505099","1398505104","1398505097","1398505101","1398505087"],"photo_ids_order":["1398505087","1398505097","1398505099","1398505101","1398505104","1398505106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c63d5af0c884171b189cdc01a98eb26.jpg","text":"TemporaryFile(/tmp/multipartBody1391135919758750705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_03_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcc13fb4a824a4a7f6bfe37135f9e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3936422109042988352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_02_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/303e560aca7fbaf57af36b454807779d.jpg","text":"TemporaryFile(/tmp/multipartBody9023698583515649966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_03_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bf73aabc9dbd47a065aaa493ef6a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody7743418954667974188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_00_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62a1d66128e301314fa5df997527ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody4206497235464582315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_03_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad03cf724f7cf55ed79033c5f7153cda.jpg","text":"TemporaryFile(/tmp/multipartBody769666909044071636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291204089,"filename":"image_09122025_06_00_14_10843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505099","file1":"1398505097","file0":"1398505087","file4":"1398505104","file5":"1398505106","file3":"1398505101"},"map_files_photo_id_array":[{"photo_id":"1398505106","filename":"file5"},{"photo_id":"1398505099","filename":"file2"},{"photo_id":"1398505104","filename":"file4"},{"photo_id":"1398505097","filename":"file1"},{"photo_id":"1398505087","filename":"file0"},{"photo_id":"1398505101","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505106":["hashtag1","hashtag2"]},{"1398505099":["hashtag1","hashtag2"]},{"1398505104":["hashtag1","hashtag2"]},{"1398505097":["hashtag1","hashtag2"]},{"1398505101":["hashtag1","hashtag2"]},{"1398505087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505106, 1398505099, 1398505104, 1398505097, 1398505101, 1398505087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.081578731536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:40:02.801944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_53_9566.jpg', '/home/pi/Desktop/images/09122025/06/03/image_09122025_06_04_04_10647.jpg', '/home/pi/Desktop/images/09122025/06/05/image_09122025_06_05_54_9844.jpg', '/home/pi/Desktop/images/09122025/06/05/image_09122025_06_06_04_9648.jpg', '/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_14_10765.jpg', '/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_24_9554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_03_53_9566.jpg
/home/pi/Desktop/images/09122025/06/03/image_09122025_06_04_04_10647.jpg
/home/pi/Desktop/images/09122025/06/05/image_09122025_06_05_54_9844.jpg
/home/pi/Desktop/images/09122025/06/05/image_09122025_06_06_04_9648.jpg
/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_14_10765.jpg
/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_24_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505123","1398505134","1398505125","1398505127","1398505130","1398505124"],"photo_ids_order":["1398505123","1398505124","1398505125","1398505127","1398505130","1398505134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b1e1a3994ed7874ce5846a3471fcd42.jpg","text":"TemporaryFile(/tmp/multipartBody8112852001502591754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_03_53_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a46cf2177997696c3b1a68bdca163a5.jpg","text":"TemporaryFile(/tmp/multipartBody560245288207703734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_06_24_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e087dde06baac6ce541ce4e5cdf1875d.jpg","text":"TemporaryFile(/tmp/multipartBody348543317124326674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_05_54_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e81a08f65a332110ee0ed397ce46d15.jpg","text":"TemporaryFile(/tmp/multipartBody6654950806630762129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_06_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8946f5343150798fc2255c57e5abe9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5043782845519736601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_06_14_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa8830a122ea3266eed2e00281e28abc.jpg","text":"TemporaryFile(/tmp/multipartBody1191778125518438824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291263687,"filename":"image_09122025_06_04_04_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505125","file1":"1398505124","file0":"1398505123","file4":"1398505130","file5":"1398505134","file3":"1398505127"},"map_files_photo_id_array":[{"photo_id":"1398505134","filename":"file5"},{"photo_id":"1398505125","filename":"file2"},{"photo_id":"1398505130","filename":"file4"},{"photo_id":"1398505124","filename":"file1"},{"photo_id":"1398505123","filename":"file0"},{"photo_id":"1398505127","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505123":["hashtag1","hashtag2"]},{"1398505134":["hashtag1","hashtag2"]},{"1398505125":["hashtag1","hashtag2"]},{"1398505127":["hashtag1","hashtag2"]},{"1398505130":["hashtag1","hashtag2"]},{"1398505124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505123, 1398505134, 1398505125, 1398505127, 1398505130, 1398505124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58660054206848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:41:03.309666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_54_9751.jpg', '/home/pi/Desktop/images/09122025/06/07/image_09122025_06_07_14_10632.jpg', '/home/pi/Desktop/images/09122025/06/08/image_09122025_06_08_54_10731.jpg', '/home/pi/Desktop/images/09122025/06/08/image_09122025_06_09_04_9578.jpg', '/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_14_9591.jpg', '/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/06/image_09122025_06_06_54_9751.jpg
/home/pi/Desktop/images/09122025/06/07/image_09122025_06_07_14_10632.jpg
/home/pi/Desktop/images/09122025/06/08/image_09122025_06_08_54_10731.jpg
/home/pi/Desktop/images/09122025/06/08/image_09122025_06_09_04_9578.jpg
/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_14_9591.jpg
/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_34_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505162","1398505164","1398505166","1398505169","1398505160","1398505157"],"photo_ids_order":["1398505157","1398505160","1398505162","1398505164","1398505166","1398505169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/789044cd25f59a4bd47a2a3c0fa734ab.jpg","text":"TemporaryFile(/tmp/multipartBody5834259048885002370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_08_54_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c59d186813ffb509048719d59267553c.jpg","text":"TemporaryFile(/tmp/multipartBody6502589368724158434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_09_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/523d1cc8323564b5e339e9ca8b200396.jpg","text":"TemporaryFile(/tmp/multipartBody5900981344764627319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_10_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f56ed0ab1234d9f9e26e067afc7bc202.jpg","text":"TemporaryFile(/tmp/multipartBody8157525616777073930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_10_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6e2107fc52681fef4f1773a2a704134.jpg","text":"TemporaryFile(/tmp/multipartBody5657814345520427099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_07_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb8335ae991aeefb89b48a3f5747db8b.jpg","text":"TemporaryFile(/tmp/multipartBody7458403247092954669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291323979,"filename":"image_09122025_06_06_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505162","file1":"1398505160","file0":"1398505157","file4":"1398505166","file5":"1398505169","file3":"1398505164"},"map_files_photo_id_array":[{"photo_id":"1398505169","filename":"file5"},{"photo_id":"1398505162","filename":"file2"},{"photo_id":"1398505166","filename":"file4"},{"photo_id":"1398505160","filename":"file1"},{"photo_id":"1398505157","filename":"file0"},{"photo_id":"1398505164","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505162":["hashtag1","hashtag2"]},{"1398505164":["hashtag1","hashtag2"]},{"1398505166":["hashtag1","hashtag2"]},{"1398505169":["hashtag1","hashtag2"]},{"1398505160":["hashtag1","hashtag2"]},{"1398505157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505162, 1398505164, 1398505166, 1398505169, 1398505160, 1398505157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0745894908905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:42:03.167720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_54_10693.jpg', '/home/pi/Desktop/images/09122025/06/10/image_09122025_06_11_04_9759.jpg', '/home/pi/Desktop/images/09122025/06/11/image_09122025_06_11_34_9649.jpg', '/home/pi/Desktop/images/09122025/06/11/image_09122025_06_12_04_9655.jpg', '/home/pi/Desktop/images/09122025/06/12/image_09122025_06_12_14_9588.jpg', '/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_14_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/10/image_09122025_06_10_54_10693.jpg
/home/pi/Desktop/images/09122025/06/10/image_09122025_06_11_04_9759.jpg
/home/pi/Desktop/images/09122025/06/11/image_09122025_06_11_34_9649.jpg
/home/pi/Desktop/images/09122025/06/11/image_09122025_06_12_04_9655.jpg
/home/pi/Desktop/images/09122025/06/12/image_09122025_06_12_14_9588.jpg
/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_14_9900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505189","1398505188","1398505196","1398505190","1398505193","1398505186"],"photo_ids_order":["1398505186","1398505188","1398505189","1398505190","1398505193","1398505196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33fa8afd20e164f0851f6258c82226ea.jpg","text":"TemporaryFile(/tmp/multipartBody1687882518805289492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_11_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21ef7b004289c1b1a04aecdb7e447af0.jpg","text":"TemporaryFile(/tmp/multipartBody6182096846635309248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_11_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b6fba044e040d8a1fa0805c5a59fcde.jpg","text":"TemporaryFile(/tmp/multipartBody2962439823177296537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_13_14_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78edcb7ead683554571e67ecdc2e70e6.jpg","text":"TemporaryFile(/tmp/multipartBody1362356031524301085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_12_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f54b8493492138c93159e325a4b4424.jpg","text":"TemporaryFile(/tmp/multipartBody850190586325393912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_12_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00e3db28fc6a5e32ef3fb9418ebf27a9.jpg","text":"TemporaryFile(/tmp/multipartBody2336635995513692255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291384189,"filename":"image_09122025_06_10_54_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505189","file1":"1398505188","file0":"1398505186","file4":"1398505193","file5":"1398505196","file3":"1398505190"},"map_files_photo_id_array":[{"photo_id":"1398505196","filename":"file5"},{"photo_id":"1398505189","filename":"file2"},{"photo_id":"1398505193","filename":"file4"},{"photo_id":"1398505188","filename":"file1"},{"photo_id":"1398505186","filename":"file0"},{"photo_id":"1398505190","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505189":["hashtag1","hashtag2"]},{"1398505188":["hashtag1","hashtag2"]},{"1398505196":["hashtag1","hashtag2"]},{"1398505190":["hashtag1","hashtag2"]},{"1398505193":["hashtag1","hashtag2"]},{"1398505186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505189, 1398505188, 1398505196, 1398505190, 1398505193, 1398505186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.194018602371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:43:02.611633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_24_9728.jpg', '/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_44_9661.jpg', '/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_54_9685.jpg', '/home/pi/Desktop/images/09122025/06/13/image_09122025_06_14_04_10631.jpg', '/home/pi/Desktop/images/09122025/06/14/image_09122025_06_14_14_9860.jpg', '/home/pi/Desktop/images/09122025/06/15/image_09122025_06_15_44_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_24_9728.jpg
/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_44_9661.jpg
/home/pi/Desktop/images/09122025/06/13/image_09122025_06_13_54_9685.jpg
/home/pi/Desktop/images/09122025/06/13/image_09122025_06_14_04_10631.jpg
/home/pi/Desktop/images/09122025/06/14/image_09122025_06_14_14_9860.jpg
/home/pi/Desktop/images/09122025/06/15/image_09122025_06_15_44_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505243","1398505237","1398505246","1398505241","1398505235","1398505238"],"photo_ids_order":["1398505235","1398505237","1398505238","1398505241","1398505243","1398505246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b94a9c495c0bc180d8513a61187e2bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4085882793607691818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_14_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2683270a4d80f29997adb03db60c55ec.jpg","text":"TemporaryFile(/tmp/multipartBody8948568003803915436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_13_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17b1a9c388f06d0ca79c316a77f13a33.jpg","text":"TemporaryFile(/tmp/multipartBody7208025635484112922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_15_44_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a08f8cc8a5c8a6b9d69157fc1f7fe1a.jpg","text":"TemporaryFile(/tmp/multipartBody5759160197047413422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_14_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a21374beedff83cbba7dfb515d263fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8253832736127362138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_13_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d8dc56976edf662b185da2cd5744ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3225899804059480985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291443498,"filename":"image_09122025_06_13_54_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505238","file1":"1398505237","file0":"1398505235","file4":"1398505243","file5":"1398505246","file3":"1398505241"},"map_files_photo_id_array":[{"photo_id":"1398505246","filename":"file5"},{"photo_id":"1398505238","filename":"file2"},{"photo_id":"1398505243","filename":"file4"},{"photo_id":"1398505237","filename":"file1"},{"photo_id":"1398505235","filename":"file0"},{"photo_id":"1398505241","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505243":["hashtag1","hashtag2"]},{"1398505237":["hashtag1","hashtag2"]},{"1398505246":["hashtag1","hashtag2"]},{"1398505241":["hashtag1","hashtag2"]},{"1398505235":["hashtag1","hashtag2"]},{"1398505238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505243, 1398505237, 1398505246, 1398505241, 1398505235, 1398505238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11481499671936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:44:03.035473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/15/image_09122025_06_16_04_9630.jpg', '/home/pi/Desktop/images/09122025/06/16/image_09122025_06_16_34_9824.jpg', '/home/pi/Desktop/images/09122025/06/17/image_09122025_06_17_14_9640.jpg', '/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_14_9674.jpg', '/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_24_9726.jpg', '/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_44_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/15/image_09122025_06_16_04_9630.jpg
/home/pi/Desktop/images/09122025/06/16/image_09122025_06_16_34_9824.jpg
/home/pi/Desktop/images/09122025/06/17/image_09122025_06_17_14_9640.jpg
/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_14_9674.jpg
/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_24_9726.jpg
/home/pi/Desktop/images/09122025/06/18/image_09122025_06_18_44_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505273","1398505267","1398505270","1398505264","1398505262","1398505268"],"photo_ids_order":["1398505262","1398505264","1398505267","1398505268","1398505270","1398505273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e8c40e718397602588bcf1070e68744.jpg","text":"TemporaryFile(/tmp/multipartBody8368392718108305511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_18_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b23feb5569d5f1e106ee3745a0eb65a.jpg","text":"TemporaryFile(/tmp/multipartBody2018581659348647652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_17_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c10c6fb80defc705aeeb2885678ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody7848034588277003618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_18_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f59770859c170fb5b3a763b80f012a3.jpg","text":"TemporaryFile(/tmp/multipartBody3045868941388124021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_16_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b236d31c2fb01805dbad5cd51ef63bed.jpg","text":"TemporaryFile(/tmp/multipartBody1966337322999778219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_16_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc4626cc8f237b94e995e62b1f71aadf.jpg","text":"TemporaryFile(/tmp/multipartBody7204379786450630527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291504089,"filename":"image_09122025_06_18_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505267","file1":"1398505264","file0":"1398505262","file4":"1398505270","file5":"1398505273","file3":"1398505268"},"map_files_photo_id_array":[{"photo_id":"1398505273","filename":"file5"},{"photo_id":"1398505267","filename":"file2"},{"photo_id":"1398505270","filename":"file4"},{"photo_id":"1398505264","filename":"file1"},{"photo_id":"1398505262","filename":"file0"},{"photo_id":"1398505268","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505273":["hashtag1","hashtag2"]},{"1398505267":["hashtag1","hashtag2"]},{"1398505270":["hashtag1","hashtag2"]},{"1398505264":["hashtag1","hashtag2"]},{"1398505262":["hashtag1","hashtag2"]},{"1398505268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505273, 1398505267, 1398505270, 1398505264, 1398505262, 1398505268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15996503829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:45:03.157104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_24_9567.jpg', '/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_34_10666.jpg', '/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_54_9597.jpg', '/home/pi/Desktop/images/09122025/06/21/image_09122025_06_21_54_9717.jpg', '/home/pi/Desktop/images/09122025/06/22/image_09122025_06_22_34_9637.jpg', '/home/pi/Desktop/images/09122025/06/22/image_09122025_06_23_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_24_9567.jpg
/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_34_10666.jpg
/home/pi/Desktop/images/09122025/06/19/image_09122025_06_19_54_9597.jpg
/home/pi/Desktop/images/09122025/06/21/image_09122025_06_21_54_9717.jpg
/home/pi/Desktop/images/09122025/06/22/image_09122025_06_22_34_9637.jpg
/home/pi/Desktop/images/09122025/06/22/image_09122025_06_23_04_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505341","1398505343","1398505346","1398505319","1398505349","1398505334"],"photo_ids_order":["1398505319","1398505334","1398505341","1398505343","1398505346","1398505349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d652beded727c1e2870d9dc3118b403.jpg","text":"TemporaryFile(/tmp/multipartBody3314178673102591730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_19_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c57686bdae0acf829fba56fe17fcfe6d.jpg","text":"TemporaryFile(/tmp/multipartBody3561446884764523914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_21_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/597c507cb6066e3170962422d0219710.jpg","text":"TemporaryFile(/tmp/multipartBody8210651828670968512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_22_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/95a5b7eb5c0941499c9be712f6aa694f.jpg","text":"TemporaryFile(/tmp/multipartBody3450188643727193353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_19_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f42d3abb6e265ec6c9b263a695d31144.jpg","text":"TemporaryFile(/tmp/multipartBody7503009557239981847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_23_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a6cae1f50f00a744ed5e98547e36a05.jpg","text":"TemporaryFile(/tmp/multipartBody6420092529861942382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291564102,"filename":"image_09122025_06_19_34_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505341","file1":"1398505334","file0":"1398505319","file4":"1398505346","file5":"1398505349","file3":"1398505343"},"map_files_photo_id_array":[{"photo_id":"1398505349","filename":"file5"},{"photo_id":"1398505341","filename":"file2"},{"photo_id":"1398505346","filename":"file4"},{"photo_id":"1398505334","filename":"file1"},{"photo_id":"1398505319","filename":"file0"},{"photo_id":"1398505343","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505341":["hashtag1","hashtag2"]},{"1398505343":["hashtag1","hashtag2"]},{"1398505346":["hashtag1","hashtag2"]},{"1398505319":["hashtag1","hashtag2"]},{"1398505349":["hashtag1","hashtag2"]},{"1398505334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505341, 1398505343, 1398505346, 1398505319, 1398505349, 1398505334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49375557899475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:46:03.052773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/23/image_09122025_06_23_24_9649.jpg', '/home/pi/Desktop/images/09122025/06/23/image_09122025_06_24_04_9639.jpg', '/home/pi/Desktop/images/09122025/06/24/image_09122025_06_24_24_10702.jpg', '/home/pi/Desktop/images/09122025/06/24/image_09122025_06_25_04_9598.jpg', '/home/pi/Desktop/images/09122025/06/26/image_09122025_06_26_14_9720.jpg', '/home/pi/Desktop/images/09122025/06/26/image_09122025_06_26_24_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/23/image_09122025_06_23_24_9649.jpg
/home/pi/Desktop/images/09122025/06/23/image_09122025_06_24_04_9639.jpg
/home/pi/Desktop/images/09122025/06/24/image_09122025_06_24_24_10702.jpg
/home/pi/Desktop/images/09122025/06/24/image_09122025_06_25_04_9598.jpg
/home/pi/Desktop/images/09122025/06/26/image_09122025_06_26_14_9720.jpg
/home/pi/Desktop/images/09122025/06/26/image_09122025_06_26_24_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505369","1398505378","1398505377","1398505371","1398505374","1398505382"],"photo_ids_order":["1398505369","1398505371","1398505374","1398505377","1398505378","1398505382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6b11c24b3de4784eae066bde9283bd93.jpg","text":"TemporaryFile(/tmp/multipartBody3618035347387001819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_23_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1e9e46a3d1efbf973f244ef28dc83f3.jpg","text":"TemporaryFile(/tmp/multipartBody3357763841872305575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_26_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc72fae39b65366e45bcf0408e997460.jpg","text":"TemporaryFile(/tmp/multipartBody7638642029818883360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_25_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7f09409e643673009249148444d4be7.jpg","text":"TemporaryFile(/tmp/multipartBody5602432118677382342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_24_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/041d450881bc1a0b979317a37d4867e3.jpg","text":"TemporaryFile(/tmp/multipartBody7677771654844438176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_24_24_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c181b384dcd780e404a8c8879a403f1.jpg","text":"TemporaryFile(/tmp/multipartBody8467069456025704591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291623971,"filename":"image_09122025_06_26_24_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505374","file1":"1398505371","file0":"1398505369","file4":"1398505378","file5":"1398505382","file3":"1398505377"},"map_files_photo_id_array":[{"photo_id":"1398505382","filename":"file5"},{"photo_id":"1398505374","filename":"file2"},{"photo_id":"1398505378","filename":"file4"},{"photo_id":"1398505371","filename":"file1"},{"photo_id":"1398505369","filename":"file0"},{"photo_id":"1398505377","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505369":["hashtag1","hashtag2"]},{"1398505378":["hashtag1","hashtag2"]},{"1398505377":["hashtag1","hashtag2"]},{"1398505371":["hashtag1","hashtag2"]},{"1398505374":["hashtag1","hashtag2"]},{"1398505382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505369, 1398505378, 1398505377, 1398505371, 1398505374, 1398505382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24909949302673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:47:03.215339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_24_10769.jpg', '/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_34_9675.jpg', '/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_44_9733.jpg', '/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_54_10565.jpg', '/home/pi/Desktop/images/09122025/06/28/image_09122025_06_28_14_9802.jpg', '/home/pi/Desktop/images/09122025/06/28/image_09122025_06_28_24_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_24_10769.jpg
/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_34_9675.jpg
/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_44_9733.jpg
/home/pi/Desktop/images/09122025/06/27/image_09122025_06_27_54_10565.jpg
/home/pi/Desktop/images/09122025/06/28/image_09122025_06_28_14_9802.jpg
/home/pi/Desktop/images/09122025/06/28/image_09122025_06_28_24_10550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505423","1398505408","1398505418","1398505412","1398505421","1398505415"],"photo_ids_order":["1398505408","1398505412","1398505415","1398505418","1398505421","1398505423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16b8380155243fb87a6dd4c61b47d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6402548440672523643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_28_24_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d249a924e94a3d2b4e7efc23aa332c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2038986925526094574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_27_24_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbf9e9abe9664acaddc63bbf847cd5c0.jpg","text":"TemporaryFile(/tmp/multipartBody689301292796053920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_27_54_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ee8da5720273d556bad8ca9869bdd29.jpg","text":"TemporaryFile(/tmp/multipartBody4616137593423452646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_27_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c0f448512d65e27b422f2897575961a.jpg","text":"TemporaryFile(/tmp/multipartBody6221966585220412545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_28_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/876738b1603e73abff207f7d86254693.jpg","text":"TemporaryFile(/tmp/multipartBody7770503980152491360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291684280,"filename":"image_09122025_06_27_44_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505415","file1":"1398505412","file0":"1398505408","file4":"1398505421","file5":"1398505423","file3":"1398505418"},"map_files_photo_id_array":[{"photo_id":"1398505423","filename":"file5"},{"photo_id":"1398505415","filename":"file2"},{"photo_id":"1398505421","filename":"file4"},{"photo_id":"1398505412","filename":"file1"},{"photo_id":"1398505408","filename":"file0"},{"photo_id":"1398505418","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505423":["hashtag1","hashtag2"]},{"1398505408":["hashtag1","hashtag2"]},{"1398505418":["hashtag1","hashtag2"]},{"1398505412":["hashtag1","hashtag2"]},{"1398505421":["hashtag1","hashtag2"]},{"1398505415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505423, 1398505408, 1398505418, 1398505412, 1398505421, 1398505415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.337565660476685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:48:03.243299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_14_9538.jpg', '/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_24_10694.jpg', '/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_34_9666.jpg', '/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_44_9739.jpg', '/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_54_10540.jpg', '/home/pi/Desktop/images/09122025/06/30/image_09122025_06_30_14_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_14_9538.jpg
/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_24_10694.jpg
/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_34_9666.jpg
/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_44_9739.jpg
/home/pi/Desktop/images/09122025/06/29/image_09122025_06_29_54_10540.jpg
/home/pi/Desktop/images/09122025/06/30/image_09122025_06_30_14_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505447","1398505450","1398505440","1398505443","1398505437","1398505445"],"photo_ids_order":["1398505437","1398505440","1398505443","1398505445","1398505447","1398505450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f37f38b6f739f91457b87c558ccd8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5756505300312500437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_29_54_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8e4c6ec07956d09a63730fffe72359b.jpg","text":"TemporaryFile(/tmp/multipartBody4409604635038900132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_30_14_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89a11d1a83a9dcc7915b6cd47c03029c.jpg","text":"TemporaryFile(/tmp/multipartBody5275791468092051401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_29_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2917735d04b9c2e0a82a643c887e2bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7295134765757085496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_29_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da9dbf8e073164c1ef37df1de559e82e.jpg","text":"TemporaryFile(/tmp/multipartBody6317731081033852980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_29_14_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a55749045a3e07165e7140160b04394a.jpg","text":"TemporaryFile(/tmp/multipartBody4581436983829979212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291744087,"filename":"image_09122025_06_29_44_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505443","file1":"1398505440","file0":"1398505437","file4":"1398505447","file5":"1398505450","file3":"1398505445"},"map_files_photo_id_array":[{"photo_id":"1398505450","filename":"file5"},{"photo_id":"1398505443","filename":"file2"},{"photo_id":"1398505447","filename":"file4"},{"photo_id":"1398505440","filename":"file1"},{"photo_id":"1398505437","filename":"file0"},{"photo_id":"1398505445","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505447":["hashtag1","hashtag2"]},{"1398505450":["hashtag1","hashtag2"]},{"1398505440":["hashtag1","hashtag2"]},{"1398505443":["hashtag1","hashtag2"]},{"1398505437":["hashtag1","hashtag2"]},{"1398505445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505447, 1398505450, 1398505440, 1398505443, 1398505437, 1398505445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49413585662842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:49:02.836159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/30/image_09122025_06_30_44_10576.jpg', '/home/pi/Desktop/images/09122025/06/31/image_09122025_06_32_04_10722.jpg', '/home/pi/Desktop/images/09122025/06/32/image_09122025_06_32_24_9640.jpg', '/home/pi/Desktop/images/09122025/06/32/image_09122025_06_33_04_10746.jpg', '/home/pi/Desktop/images/09122025/06/33/image_09122025_06_33_54_9595.jpg', '/home/pi/Desktop/images/09122025/06/34/image_09122025_06_34_54_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/30/image_09122025_06_30_44_10576.jpg
/home/pi/Desktop/images/09122025/06/31/image_09122025_06_32_04_10722.jpg
/home/pi/Desktop/images/09122025/06/32/image_09122025_06_32_24_9640.jpg
/home/pi/Desktop/images/09122025/06/32/image_09122025_06_33_04_10746.jpg
/home/pi/Desktop/images/09122025/06/33/image_09122025_06_33_54_9595.jpg
/home/pi/Desktop/images/09122025/06/34/image_09122025_06_34_54_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505472","1398505481","1398505475","1398505469","1398505484","1398505478"],"photo_ids_order":["1398505469","1398505472","1398505475","1398505478","1398505481","1398505484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4312a8fea1902f3cb51e3df31118f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3761258200104232321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_32_04_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a9e7f1aaab718cd676f48d31a3a0b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3157055870846658668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_33_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c2b68e5aea3c9310243d4543a7188ba.jpg","text":"TemporaryFile(/tmp/multipartBody3760215474163806337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_32_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/606f6a7d1d58e4703832fbd9e21f40dc.jpg","text":"TemporaryFile(/tmp/multipartBody7227887979477218555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_30_44_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e64ad778054e71596111b0e8d853a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody4622592615425695971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_34_54_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f116c5e3b61b74c14555249c0184c0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8743264803173323040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291803862,"filename":"image_09122025_06_33_04_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505475","file1":"1398505472","file0":"1398505469","file4":"1398505481","file5":"1398505484","file3":"1398505478"},"map_files_photo_id_array":[{"photo_id":"1398505484","filename":"file5"},{"photo_id":"1398505475","filename":"file2"},{"photo_id":"1398505481","filename":"file4"},{"photo_id":"1398505472","filename":"file1"},{"photo_id":"1398505469","filename":"file0"},{"photo_id":"1398505478","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505472":["hashtag1","hashtag2"]},{"1398505481":["hashtag1","hashtag2"]},{"1398505475":["hashtag1","hashtag2"]},{"1398505469":["hashtag1","hashtag2"]},{"1398505484":["hashtag1","hashtag2"]},{"1398505478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505472, 1398505481, 1398505475, 1398505469, 1398505484, 1398505478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50812101364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:50:02.651185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_24_9579.jpg', '/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_34_10693.jpg', '/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_44_9716.jpg', '/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_54_9677.jpg', '/home/pi/Desktop/images/09122025/06/36/image_09122025_06_36_24_10839.jpg', '/home/pi/Desktop/images/09122025/06/36/image_09122025_06_36_34_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_24_9579.jpg
/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_34_10693.jpg
/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_44_9716.jpg
/home/pi/Desktop/images/09122025/06/35/image_09122025_06_35_54_9677.jpg
/home/pi/Desktop/images/09122025/06/36/image_09122025_06_36_24_10839.jpg
/home/pi/Desktop/images/09122025/06/36/image_09122025_06_36_34_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505510","1398505507","1398505497","1398505500","1398505503","1398505505"],"photo_ids_order":["1398505497","1398505500","1398505503","1398505505","1398505507","1398505510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b0c885771ee30283db9e02cd7390f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5658052962060893767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_36_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0603dec7e448aa00c6d3af4cae92d3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3359478074422416198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_36_24_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/288afaefa57b9dbc1b611a0b4161994a.jpg","text":"TemporaryFile(/tmp/multipartBody8677000362310825795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_35_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a722dfa7855e683a526d4050b5da596.jpg","text":"TemporaryFile(/tmp/multipartBody1088204064580895393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_35_34_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7906647332d410ef27c4fd12114c1ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7758871126080360217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_35_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e9023dec8ab66ffa799efa0abfd7be1.jpg","text":"TemporaryFile(/tmp/multipartBody5684338663546472648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291863570,"filename":"image_09122025_06_35_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505503","file1":"1398505500","file0":"1398505497","file4":"1398505507","file5":"1398505510","file3":"1398505505"},"map_files_photo_id_array":[{"photo_id":"1398505510","filename":"file5"},{"photo_id":"1398505503","filename":"file2"},{"photo_id":"1398505507","filename":"file4"},{"photo_id":"1398505500","filename":"file1"},{"photo_id":"1398505497","filename":"file0"},{"photo_id":"1398505505","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505510":["hashtag1","hashtag2"]},{"1398505507":["hashtag1","hashtag2"]},{"1398505497":["hashtag1","hashtag2"]},{"1398505500":["hashtag1","hashtag2"]},{"1398505503":["hashtag1","hashtag2"]},{"1398505505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505510, 1398505507, 1398505497, 1398505500, 1398505503, 1398505505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.701091289520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:51:03.033276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/36/image_09122025_06_37_04_9609.jpg', '/home/pi/Desktop/images/09122025/06/37/image_09122025_06_37_34_9575.jpg', '/home/pi/Desktop/images/09122025/06/37/image_09122025_06_37_54_10694.jpg', '/home/pi/Desktop/images/09122025/06/37/image_09122025_06_38_04_9830.jpg', '/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_24_10625.jpg', '/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_34_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/36/image_09122025_06_37_04_9609.jpg
/home/pi/Desktop/images/09122025/06/37/image_09122025_06_37_34_9575.jpg
/home/pi/Desktop/images/09122025/06/37/image_09122025_06_37_54_10694.jpg
/home/pi/Desktop/images/09122025/06/37/image_09122025_06_38_04_9830.jpg
/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_24_10625.jpg
/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_34_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505553","1398505541","1398505550","1398505544","1398505538","1398505547"],"photo_ids_order":["1398505538","1398505541","1398505544","1398505547","1398505550","1398505553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1bfa212bf66ae6019211108bcf490b07.jpg","text":"TemporaryFile(/tmp/multipartBody6936983940555006113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_38_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afd29f3d9ff884becf64ec4850539d66.jpg","text":"TemporaryFile(/tmp/multipartBody2548331825408607885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_37_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/130e32c8f275e92c03290482bfa0392d.jpg","text":"TemporaryFile(/tmp/multipartBody7499994256653347868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_38_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/936bf20cf4d91226a7d161ba96867f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1201227213946049817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_37_54_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c76787533a253554b343e14eab1d56e.jpg","text":"TemporaryFile(/tmp/multipartBody8227630685502504842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_37_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7cb8145e8df722a3b01266f35b0e035.jpg","text":"TemporaryFile(/tmp/multipartBody2118841275246138364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291923848,"filename":"image_09122025_06_38_04_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505544","file1":"1398505541","file0":"1398505538","file4":"1398505550","file5":"1398505553","file3":"1398505547"},"map_files_photo_id_array":[{"photo_id":"1398505553","filename":"file5"},{"photo_id":"1398505544","filename":"file2"},{"photo_id":"1398505550","filename":"file4"},{"photo_id":"1398505541","filename":"file1"},{"photo_id":"1398505538","filename":"file0"},{"photo_id":"1398505547","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505553":["hashtag1","hashtag2"]},{"1398505541":["hashtag1","hashtag2"]},{"1398505550":["hashtag1","hashtag2"]},{"1398505544":["hashtag1","hashtag2"]},{"1398505538":["hashtag1","hashtag2"]},{"1398505547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505553, 1398505541, 1398505550, 1398505544, 1398505538, 1398505547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08867859840393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:52:02.944061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_44_9568.jpg', '/home/pi/Desktop/images/09122025/06/39/image_09122025_06_40_04_9684.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_13_9645.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_24_10683.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_44_9899.jpg', '/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_04_9165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_44_9568.jpg
/home/pi/Desktop/images/09122025/06/39/image_09122025_06_40_04_9684.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_13_9645.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_24_10683.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_44_9899.jpg
/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_04_9165.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.516742467880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 15:52:12.636347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_36_10627.jpg', '/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_45_9622.jpg', '/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_55_9521.jpg', '/home/pi/Desktop/images/08122025/12/44/image_08122025_12_45_05_10613.jpg', '/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_15_9547.jpg', '/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_25_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_36_10627.jpg
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_45_9622.jpg
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_44_55_9521.jpg
/home/pi/Desktop/images/08122025/12/44/image_08122025_12_45_05_10613.jpg
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_15_9547.jpg
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_25_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505575","1398505578","1398505572","1398505592","1398505586","1398505582"],"photo_ids_order":["1398505572","1398505575","1398505578","1398505582","1398505586","1398505592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f53b073d6e2462775c309a7f4c49560f.jpg","text":"TemporaryFile(/tmp/multipartBody1355806079236253140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_44_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21464923126da2c03cf48e0eec4e775b.jpg","text":"TemporaryFile(/tmp/multipartBody5004621635728091138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_44_55_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a102b77475c697e846742a7f4ceef05.jpg","text":"TemporaryFile(/tmp/multipartBody5809238682841705543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_44_36_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ea5ace385d25e7d0ec45a24e2690e41.jpg","text":"TemporaryFile(/tmp/multipartBody2501017629659112614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_45_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/847adbf3470ee256c345da8f3b2ca61f.jpg","text":"TemporaryFile(/tmp/multipartBody3315408875924753799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_45_15_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/923698557d9ba6984cabd18d8e462fe6.jpg","text":"TemporaryFile(/tmp/multipartBody189008607895668606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765291994647,"filename":"image_08122025_12_45_05_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505578","file1":"1398505575","file0":"1398505572","file4":"1398505586","file5":"1398505592","file3":"1398505582"},"map_files_photo_id_array":[{"photo_id":"1398505592","filename":"file5"},{"photo_id":"1398505578","filename":"file2"},{"photo_id":"1398505586","filename":"file4"},{"photo_id":"1398505575","filename":"file1"},{"photo_id":"1398505572","filename":"file0"},{"photo_id":"1398505582","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398505575":["hashtag1","hashtag2"]},{"1398505578":["hashtag1","hashtag2"]},{"1398505572":["hashtag1","hashtag2"]},{"1398505592":["hashtag1","hashtag2"]},{"1398505586":["hashtag1","hashtag2"]},{"1398505582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398505575, 1398505578, 1398505572, 1398505592, 1398505586, 1398505582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.138577461242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:53:03.405486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_44_9568.jpg', '/home/pi/Desktop/images/09122025/06/39/image_09122025_06_40_04_9684.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_13_9645.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_24_10683.jpg', '/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_44_9899.jpg', '/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_04_9165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/38/image_09122025_06_38_44_9568.jpg
/home/pi/Desktop/images/09122025/06/39/image_09122025_06_40_04_9684.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_13_9645.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_24_10683.jpg
/home/pi/Desktop/images/09122025/06/40/image_09122025_06_40_44_9899.jpg
/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_04_9165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505615","1398505618","1398505623","1398505626","1398505620","1398505608"],"photo_ids_order":["1398505608","1398505615","1398505618","1398505620","1398505623","1398505626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e02eb274c3e8d671086f275715ef47e5.jpg","text":"TemporaryFile(/tmp/multipartBody7128871616479324300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_40_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dbe8e737d49b3a29c7e3dee0ce979d4.jpg","text":"TemporaryFile(/tmp/multipartBody5094177616682820467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_40_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e75a74d2eefb73659d3102a21dafbdbe.jpg","text":"TemporaryFile(/tmp/multipartBody3408364844061690529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_40_44_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79bcaacbeb478b25a37efad2cda5d5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7381372473772984199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_41_04_9165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c4759b6d5726d7a9cf4731145369728.jpg","text":"TemporaryFile(/tmp/multipartBody5351607785829203776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_40_24_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a396e04f266c80885b99e0064378a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody1783026488569506743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292044325,"filename":"image_09122025_06_38_44_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505618","file1":"1398505615","file0":"1398505608","file4":"1398505623","file5":"1398505626","file3":"1398505620"},"map_files_photo_id_array":[{"photo_id":"1398505626","filename":"file5"},{"photo_id":"1398505618","filename":"file2"},{"photo_id":"1398505623","filename":"file4"},{"photo_id":"1398505615","filename":"file1"},{"photo_id":"1398505608","filename":"file0"},{"photo_id":"1398505620","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505615":["hashtag1","hashtag2"]},{"1398505618":["hashtag1","hashtag2"]},{"1398505623":["hashtag1","hashtag2"]},{"1398505626":["hashtag1","hashtag2"]},{"1398505620":["hashtag1","hashtag2"]},{"1398505608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505615, 1398505618, 1398505623, 1398505626, 1398505620, 1398505608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.808037757873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:54:02.534356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_24_9812.jpg', '/home/pi/Desktop/images/09122025/06/41/image_09122025_06_42_04_10552.jpg', '/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_24_9723.jpg', '/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_34_10679.jpg', '/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_44_9594.jpg', '/home/pi/Desktop/images/09122025/06/42/image_09122025_06_43_04_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/41/image_09122025_06_41_24_9812.jpg
/home/pi/Desktop/images/09122025/06/41/image_09122025_06_42_04_10552.jpg
/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_24_9723.jpg
/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_34_10679.jpg
/home/pi/Desktop/images/09122025/06/42/image_09122025_06_42_44_9594.jpg
/home/pi/Desktop/images/09122025/06/42/image_09122025_06_43_04_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505651","1398505642","1398505652","1398505655","1398505649","1398505646"],"photo_ids_order":["1398505642","1398505646","1398505649","1398505651","1398505652","1398505655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9af11330d6ffb274bd96ee320c3feba.jpg","text":"TemporaryFile(/tmp/multipartBody483515656571920407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_42_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f11b3320225974ecb07ca1550453a798.jpg","text":"TemporaryFile(/tmp/multipartBody5700522775973536196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_41_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52f39980c248f0e3115223dd329963b9.jpg","text":"TemporaryFile(/tmp/multipartBody8327301323105374019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_42_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/772826414adcab095a2a0b1f83cbc434.jpg","text":"TemporaryFile(/tmp/multipartBody1482319030563712068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_43_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3415ee57824789ff436d87d85f2a922c.jpg","text":"TemporaryFile(/tmp/multipartBody8007315342386100827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_42_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db18c88de89f609600513f8ba24f7a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3594388374515044389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292103428,"filename":"image_09122025_06_42_04_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505649","file1":"1398505646","file0":"1398505642","file4":"1398505652","file5":"1398505655","file3":"1398505651"},"map_files_photo_id_array":[{"photo_id":"1398505655","filename":"file5"},{"photo_id":"1398505649","filename":"file2"},{"photo_id":"1398505652","filename":"file4"},{"photo_id":"1398505646","filename":"file1"},{"photo_id":"1398505642","filename":"file0"},{"photo_id":"1398505651","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505651":["hashtag1","hashtag2"]},{"1398505642":["hashtag1","hashtag2"]},{"1398505652":["hashtag1","hashtag2"]},{"1398505655":["hashtag1","hashtag2"]},{"1398505649":["hashtag1","hashtag2"]},{"1398505646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505651, 1398505642, 1398505652, 1398505655, 1398505649, 1398505646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34440851211548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:55:02.991937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_14_9636.jpg', '/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_24_9664.jpg', '/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_44_9648.jpg', '/home/pi/Desktop/images/09122025/06/44/image_09122025_06_44_54_9690.jpg', '/home/pi/Desktop/images/09122025/06/44/image_09122025_06_45_04_10682.jpg', '/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_14_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_14_9636.jpg
/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_24_9664.jpg
/home/pi/Desktop/images/09122025/06/43/image_09122025_06_43_44_9648.jpg
/home/pi/Desktop/images/09122025/06/44/image_09122025_06_44_54_9690.jpg
/home/pi/Desktop/images/09122025/06/44/image_09122025_06_45_04_10682.jpg
/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_14_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505684","1398505695","1398505674","1398505668","1398505677","1398505671"],"photo_ids_order":["1398505668","1398505671","1398505674","1398505677","1398505684","1398505695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e2bcd427312c9be1ab1ff8f2d9fd4d6.jpg","text":"TemporaryFile(/tmp/multipartBody6447416161900705162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_45_04_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2af4b62fd758e7669843c61a953c82b9.jpg","text":"TemporaryFile(/tmp/multipartBody6516356470000404013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_45_14_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0d420350988763c9666669b3710e713.jpg","text":"TemporaryFile(/tmp/multipartBody607073083218648958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_43_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76348c44fe013f1b9aa1a9b37d2e2762.jpg","text":"TemporaryFile(/tmp/multipartBody1081758082487224112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_43_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65713aabcbf4c36a2bf768ba0ee8da40.jpg","text":"TemporaryFile(/tmp/multipartBody1194147330516271082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_44_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7935b0100c5d6df1ad00067b9e396e3.jpg","text":"TemporaryFile(/tmp/multipartBody4481213988169131024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292163894,"filename":"image_09122025_06_43_24_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505674","file1":"1398505671","file0":"1398505668","file4":"1398505684","file5":"1398505695","file3":"1398505677"},"map_files_photo_id_array":[{"photo_id":"1398505695","filename":"file5"},{"photo_id":"1398505674","filename":"file2"},{"photo_id":"1398505684","filename":"file4"},{"photo_id":"1398505671","filename":"file1"},{"photo_id":"1398505668","filename":"file0"},{"photo_id":"1398505677","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505684":["hashtag1","hashtag2"]},{"1398505695":["hashtag1","hashtag2"]},{"1398505674":["hashtag1","hashtag2"]},{"1398505668":["hashtag1","hashtag2"]},{"1398505677":["hashtag1","hashtag2"]},{"1398505671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505684, 1398505695, 1398505674, 1398505668, 1398505677, 1398505671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90374422073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:56:02.945832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_24_9566.jpg', '/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_44_10553.jpg', '/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_54_9760.jpg', '/home/pi/Desktop/images/09122025/06/46/image_09122025_06_46_14_10659.jpg', '/home/pi/Desktop/images/09122025/06/46/image_09122025_06_47_04_9747.jpg', '/home/pi/Desktop/images/09122025/06/47/image_09122025_06_47_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_24_9566.jpg
/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_44_10553.jpg
/home/pi/Desktop/images/09122025/06/45/image_09122025_06_45_54_9760.jpg
/home/pi/Desktop/images/09122025/06/46/image_09122025_06_46_14_10659.jpg
/home/pi/Desktop/images/09122025/06/46/image_09122025_06_47_04_9747.jpg
/home/pi/Desktop/images/09122025/06/47/image_09122025_06_47_44_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505722","1398505725","1398505719","1398505716","1398505721","1398505712"],"photo_ids_order":["1398505712","1398505716","1398505719","1398505721","1398505722","1398505725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37b7bf9cc7a0beb5608600c972b433ef.jpg","text":"TemporaryFile(/tmp/multipartBody6289312854824973901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_47_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11324a3d2ec7ddec3d34e1880ebe2c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6973095826818330057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_47_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/60c3cd14e163053127d53e6874970a27.jpg","text":"TemporaryFile(/tmp/multipartBody5495065030807362709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_45_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cdd3278cbd0b4c93113e22c818ca2986.jpg","text":"TemporaryFile(/tmp/multipartBody6597567613405969032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_45_44_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c8e08f42f66c4ad4a033db7a8e397d18.jpg","text":"TemporaryFile(/tmp/multipartBody6714245094475162422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_46_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ee1a7d65b82fd88fe13a2007531476b.jpg","text":"TemporaryFile(/tmp/multipartBody8884121500319829868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292223733,"filename":"image_09122025_06_45_24_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505719","file1":"1398505716","file0":"1398505712","file4":"1398505722","file5":"1398505725","file3":"1398505721"},"map_files_photo_id_array":[{"photo_id":"1398505725","filename":"file5"},{"photo_id":"1398505719","filename":"file2"},{"photo_id":"1398505722","filename":"file4"},{"photo_id":"1398505716","filename":"file1"},{"photo_id":"1398505712","filename":"file0"},{"photo_id":"1398505721","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505722":["hashtag1","hashtag2"]},{"1398505725":["hashtag1","hashtag2"]},{"1398505719":["hashtag1","hashtag2"]},{"1398505716":["hashtag1","hashtag2"]},{"1398505721":["hashtag1","hashtag2"]},{"1398505712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505722, 1398505725, 1398505719, 1398505716, 1398505721, 1398505712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18230414390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:57:03.390580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/47/image_09122025_06_47_54_10667.jpg', '/home/pi/Desktop/images/09122025/06/47/image_09122025_06_48_04_9679.jpg', '/home/pi/Desktop/images/09122025/06/48/image_09122025_06_48_54_10712.jpg', '/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_14_9657.jpg', '/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_24_10585.jpg', '/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/47/image_09122025_06_47_54_10667.jpg
/home/pi/Desktop/images/09122025/06/47/image_09122025_06_48_04_9679.jpg
/home/pi/Desktop/images/09122025/06/48/image_09122025_06_48_54_10712.jpg
/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_14_9657.jpg
/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_24_10585.jpg
/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_34_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505755","1398505749","1398505740","1398505743","1398505752","1398505745"],"photo_ids_order":["1398505740","1398505743","1398505745","1398505749","1398505752","1398505755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb435b28e89028954fc344398d0dc9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3556179593915030098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_49_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/766d90723e5429d8b0051a48cd8fff0c.jpg","text":"TemporaryFile(/tmp/multipartBody4670172950329746631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_49_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23b4c1c15f9b521e404864cfa0df55d0.jpg","text":"TemporaryFile(/tmp/multipartBody6540035835758296511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_47_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90df02f178babd57919367f51b1fa746.jpg","text":"TemporaryFile(/tmp/multipartBody7719913495934591622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_48_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c9e02c8772ef320a2d4026f3453cb64.jpg","text":"TemporaryFile(/tmp/multipartBody94438547579547781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_49_24_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37382bb174498ab48a5b3b0f184181ca.jpg","text":"TemporaryFile(/tmp/multipartBody9005574447047569783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292284182,"filename":"image_09122025_06_48_54_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505745","file1":"1398505743","file0":"1398505740","file4":"1398505752","file5":"1398505755","file3":"1398505749"},"map_files_photo_id_array":[{"photo_id":"1398505755","filename":"file5"},{"photo_id":"1398505745","filename":"file2"},{"photo_id":"1398505752","filename":"file4"},{"photo_id":"1398505743","filename":"file1"},{"photo_id":"1398505740","filename":"file0"},{"photo_id":"1398505749","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505755":["hashtag1","hashtag2"]},{"1398505749":["hashtag1","hashtag2"]},{"1398505740":["hashtag1","hashtag2"]},{"1398505743":["hashtag1","hashtag2"]},{"1398505752":["hashtag1","hashtag2"]},{"1398505745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505755, 1398505749, 1398505740, 1398505743, 1398505752, 1398505745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73708152770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 15:59:03.140962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_44_9613.jpg', '/home/pi/Desktop/images/09122025/06/51/image_09122025_06_51_44_9520.jpg', '/home/pi/Desktop/images/09122025/06/51/image_09122025_06_52_04_9816.jpg', '/home/pi/Desktop/images/09122025/06/52/image_09122025_06_52_34_9505.jpg', '/home/pi/Desktop/images/09122025/06/52/image_09122025_06_52_44_9763.jpg', '/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_44_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/49/image_09122025_06_49_44_9613.jpg
/home/pi/Desktop/images/09122025/06/51/image_09122025_06_51_44_9520.jpg
/home/pi/Desktop/images/09122025/06/51/image_09122025_06_52_04_9816.jpg
/home/pi/Desktop/images/09122025/06/52/image_09122025_06_52_34_9505.jpg
/home/pi/Desktop/images/09122025/06/52/image_09122025_06_52_44_9763.jpg
/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_44_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398505798","1398506040","1398505836","1398505911","1398506105","1398505979"],"photo_ids_order":["1398505798","1398505836","1398505911","1398505979","1398506040","1398506105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb2c2dbcd119c16bd6099ef164c96974.jpg","text":"TemporaryFile(/tmp/multipartBody2757063996738889143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_49_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2ee1d5fc7278a476fbd5d3153928dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6281462219915768637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_52_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7057c15fe6253a54b874ea83dc450c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1496318448822903565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_51_44_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7b7b1975e6ea98dbc85d5897482ab33.jpg","text":"TemporaryFile(/tmp/multipartBody2999740514889096205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_52_04_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcf9ea5b5f942c45b4a9680944e0a759.jpg","text":"TemporaryFile(/tmp/multipartBody5734947372895675771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_53_44_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fadad8d20b42831c49722e078bd256e6.jpg","text":"TemporaryFile(/tmp/multipartBody6743883452387609844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292404091,"filename":"image_09122025_06_52_34_9505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398505911","file1":"1398505836","file0":"1398505798","file4":"1398506040","file5":"1398506105","file3":"1398505979"},"map_files_photo_id_array":[{"photo_id":"1398506105","filename":"file5"},{"photo_id":"1398505911","filename":"file2"},{"photo_id":"1398506040","filename":"file4"},{"photo_id":"1398505836","filename":"file1"},{"photo_id":"1398505798","filename":"file0"},{"photo_id":"1398505979","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398505798":["hashtag1","hashtag2"]},{"1398506040":["hashtag1","hashtag2"]},{"1398505836":["hashtag1","hashtag2"]},{"1398505911":["hashtag1","hashtag2"]},{"1398506105":["hashtag1","hashtag2"]},{"1398505979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398505798, 1398506040, 1398505836, 1398505911, 1398506105, 1398505979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.613561391830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:00:02.639912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg', '/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg
/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5148158073425293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:00:12.278541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_35_10586.jpg', '/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_45_9579.jpg', '/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_55_10530.jpg', '/home/pi/Desktop/images/08122025/12/45/image_08122025_12_46_05_9749.jpg', '/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_15_9573.jpg', '/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_26_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_35_10586.jpg
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_45_9579.jpg
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_45_55_10530.jpg
/home/pi/Desktop/images/08122025/12/45/image_08122025_12_46_05_9749.jpg
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_15_9573.jpg
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_26_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398506647","1398506712","1398506576","1398506771","1398506609","1398506674"],"photo_ids_order":["1398506576","1398506609","1398506647","1398506674","1398506712","1398506771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2866c0c98ccacae975323e8540a0daa3.jpg","text":"TemporaryFile(/tmp/multipartBody6653019765493804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_45_55_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36155c610d4fa1fefb9d269083a6294f.jpg","text":"TemporaryFile(/tmp/multipartBody2545194788133318671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_46_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e08ffa40139d766c88cc5a832776a051.jpg","text":"TemporaryFile(/tmp/multipartBody7479923437468347803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_45_35_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffd342e86c1c47ac61a7231b67a3bc73.jpg","text":"TemporaryFile(/tmp/multipartBody3094858342255395141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_46_26_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f327f3276838b3ed60b0026f6d53f095.jpg","text":"TemporaryFile(/tmp/multipartBody4305379373957194837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_45_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d705ea97e547bfed0e8050d6513d42a.jpg","text":"TemporaryFile(/tmp/multipartBody4832000962910081033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292474280,"filename":"image_08122025_12_46_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398506647","file1":"1398506609","file0":"1398506576","file4":"1398506712","file5":"1398506771","file3":"1398506674"},"map_files_photo_id_array":[{"photo_id":"1398506771","filename":"file5"},{"photo_id":"1398506647","filename":"file2"},{"photo_id":"1398506712","filename":"file4"},{"photo_id":"1398506609","filename":"file1"},{"photo_id":"1398506576","filename":"file0"},{"photo_id":"1398506674","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398506647":["hashtag1","hashtag2"]},{"1398506712":["hashtag1","hashtag2"]},{"1398506576":["hashtag1","hashtag2"]},{"1398506771":["hashtag1","hashtag2"]},{"1398506609":["hashtag1","hashtag2"]},{"1398506674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398506647, 1398506712, 1398506576, 1398506771, 1398506609, 1398506674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.89315366744995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:01:03.034666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg', '/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg
/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5914590358734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:01:12.391230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_35_9489.jpg', '/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_46_10573.jpg', '/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_55_9763.jpg', '/home/pi/Desktop/images/08122025/12/46/image_08122025_12_47_05_9624.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_15_9706.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_25_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_35_9489.jpg
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_46_10573.jpg
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_46_55_9763.jpg
/home/pi/Desktop/images/08122025/12/46/image_08122025_12_47_05_9624.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_15_9706.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_25_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398507106","1398507077","1398507056","1398507116","1398507119","1398507121"],"photo_ids_order":["1398507056","1398507077","1398507106","1398507116","1398507119","1398507121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eeb53ea378332fafb5ce9c06a381b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody6288603048907546137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_46_55_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22e1630ca4d9d0012d3122db95ff0bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8816666305791623141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_46_46_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46354253142549cb8790286cedf4944c.jpg","text":"TemporaryFile(/tmp/multipartBody7189225233081449630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_46_35_9489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac6d804926031e2f9fae4fd0ca30f0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4708931978852070122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_47_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2f5032cf4fef04e1ef6c55c5f23ee20.jpg","text":"TemporaryFile(/tmp/multipartBody5180861697047219574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_47_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1fb84c7d2edb787a6c243053cb1a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6214217871482664339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292534350,"filename":"image_08122025_12_47_25_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398507106","file1":"1398507077","file0":"1398507056","file4":"1398507119","file5":"1398507121","file3":"1398507116"},"map_files_photo_id_array":[{"photo_id":"1398507121","filename":"file5"},{"photo_id":"1398507106","filename":"file2"},{"photo_id":"1398507119","filename":"file4"},{"photo_id":"1398507077","filename":"file1"},{"photo_id":"1398507056","filename":"file0"},{"photo_id":"1398507116","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398507106":["hashtag1","hashtag2"]},{"1398507077":["hashtag1","hashtag2"]},{"1398507056":["hashtag1","hashtag2"]},{"1398507116":["hashtag1","hashtag2"]},{"1398507119":["hashtag1","hashtag2"]},{"1398507121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398507106, 1398507077, 1398507056, 1398507116, 1398507119, 1398507121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.139899492263794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:02:03.046575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg', '/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg', '/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg', '/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/53/image_09122025_06_53_54_10600.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_34_9517.jpg
/home/pi/Desktop/images/09122025/06/54/image_09122025_06_54_44_10597.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_44_9646.jpg
/home/pi/Desktop/images/09122025/06/55/image_09122025_06_55_54_10643.jpg
/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_14_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398507381","1398507315","1398507440","1398507221","1398507481","1398507250"],"photo_ids_order":["1398507221","1398507250","1398507315","1398507381","1398507440","1398507481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb4caa49712bdec6067ec6d37c6c5387.jpg","text":"TemporaryFile(/tmp/multipartBody2909098520176260924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_55_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c46a61fbc54a6863c790fb393519baf9.jpg","text":"TemporaryFile(/tmp/multipartBody6039760199698245684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_54_44_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c94b22a370e5a9fd10ab001233f2b1cb.jpg","text":"TemporaryFile(/tmp/multipartBody886691519138709721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_55_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30e180eaa508a8c7189f08d3737a93f1.jpg","text":"TemporaryFile(/tmp/multipartBody5682260647344427246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_53_54_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c67b2a3ff4a3d90ed641ccc5bff4dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3385080904440422785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_56_14_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b7fbf75098736b532261883dd47c074.jpg","text":"TemporaryFile(/tmp/multipartBody9027666535373197692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292583986,"filename":"image_09122025_06_54_34_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398507315","file1":"1398507250","file0":"1398507221","file4":"1398507440","file5":"1398507481","file3":"1398507381"},"map_files_photo_id_array":[{"photo_id":"1398507481","filename":"file5"},{"photo_id":"1398507315","filename":"file2"},{"photo_id":"1398507440","filename":"file4"},{"photo_id":"1398507250","filename":"file1"},{"photo_id":"1398507221","filename":"file0"},{"photo_id":"1398507381","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398507381":["hashtag1","hashtag2"]},{"1398507315":["hashtag1","hashtag2"]},{"1398507440":["hashtag1","hashtag2"]},{"1398507221":["hashtag1","hashtag2"]},{"1398507481":["hashtag1","hashtag2"]},{"1398507250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398507381, 1398507315, 1398507440, 1398507221, 1398507481, 1398507250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.774901151657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:03:02.515998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_24_10537.jpg', '/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_34_9627.jpg', '/home/pi/Desktop/images/09122025/06/57/image_09122025_06_57_14_9680.jpg', '/home/pi/Desktop/images/09122025/06/57/image_09122025_06_57_24_10741.jpg', '/home/pi/Desktop/images/09122025/06/57/image_09122025_06_58_04_9667.jpg', '/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_13_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_24_10537.jpg
/home/pi/Desktop/images/09122025/06/56/image_09122025_06_56_34_9627.jpg
/home/pi/Desktop/images/09122025/06/57/image_09122025_06_57_14_9680.jpg
/home/pi/Desktop/images/09122025/06/57/image_09122025_06_57_24_10741.jpg
/home/pi/Desktop/images/09122025/06/57/image_09122025_06_58_04_9667.jpg
/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_13_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398507813","1398507903","1398508006","1398507958","1398507844","1398507780"],"photo_ids_order":["1398507780","1398507813","1398507844","1398507903","1398507958","1398508006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b1048b7312bd1956cdf7370342460aef.jpg","text":"TemporaryFile(/tmp/multipartBody2238069814950112981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_56_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26ee0facd1d76a6154ae293b6a5e4347.jpg","text":"TemporaryFile(/tmp/multipartBody2134531656110103257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_57_24_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0145f22e7c52b570c8236ca8aa1fc298.jpg","text":"TemporaryFile(/tmp/multipartBody3274612314168545173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_58_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f581670789bc998fa1819dd78d58a60d.jpg","text":"TemporaryFile(/tmp/multipartBody2253079816603909159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_58_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85d98c7c4ab1f2699ba39ead1cd4c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6767927893858461015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_57_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9daa364041b16427e25baa020a0dca3d.jpg","text":"TemporaryFile(/tmp/multipartBody604886019597421290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292643482,"filename":"image_09122025_06_56_24_10537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398507844","file1":"1398507813","file0":"1398507780","file4":"1398507958","file5":"1398508006","file3":"1398507903"},"map_files_photo_id_array":[{"photo_id":"1398508006","filename":"file5"},{"photo_id":"1398507844","filename":"file2"},{"photo_id":"1398507958","filename":"file4"},{"photo_id":"1398507813","filename":"file1"},{"photo_id":"1398507780","filename":"file0"},{"photo_id":"1398507903","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398507813":["hashtag1","hashtag2"]},{"1398507903":["hashtag1","hashtag2"]},{"1398508006":["hashtag1","hashtag2"]},{"1398507958":["hashtag1","hashtag2"]},{"1398507844":["hashtag1","hashtag2"]},{"1398507780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398507813, 1398507903, 1398508006, 1398507958, 1398507844, 1398507780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.500450134277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:04:02.918099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_24_10739.jpg', '/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_34_9763.jpg', '/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_44_9655.jpg', '/home/pi/Desktop/images/09122025/06/58/image_09122025_06_59_04_9644.jpg', '/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_14_9703.jpg', '/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_24_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_24_10739.jpg
/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_34_9763.jpg
/home/pi/Desktop/images/09122025/06/58/image_09122025_06_58_44_9655.jpg
/home/pi/Desktop/images/09122025/06/58/image_09122025_06_59_04_9644.jpg
/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_14_9703.jpg
/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_24_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398508341","1398508221","1398508280","1398508192","1398508249","1398508309"],"photo_ids_order":["1398508192","1398508221","1398508249","1398508280","1398508309","1398508341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c520a0b748e54a5900d8140caa60cd85.jpg","text":"TemporaryFile(/tmp/multipartBody682576462067561245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_59_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/51e224ad52352670480145f78ae8d665.jpg","text":"TemporaryFile(/tmp/multipartBody7217511464735029463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_58_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1ec9cf0a5bafa497d71a2d4aca7c74f.jpg","text":"TemporaryFile(/tmp/multipartBody516041197795629319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_59_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/974a68e941d358d1ea4bad24a3b02db2.jpg","text":"TemporaryFile(/tmp/multipartBody2970065078078489799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_58_24_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2526a179fd82fd796aa5d32091d2c161.jpg","text":"TemporaryFile(/tmp/multipartBody5396255982223083507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_58_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bd8bc8dcad14f4980d0fd684272b689.jpg","text":"TemporaryFile(/tmp/multipartBody4334894578371738316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292703831,"filename":"image_09122025_06_59_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398508249","file1":"1398508221","file0":"1398508192","file4":"1398508309","file5":"1398508341","file3":"1398508280"},"map_files_photo_id_array":[{"photo_id":"1398508341","filename":"file5"},{"photo_id":"1398508249","filename":"file2"},{"photo_id":"1398508309","filename":"file4"},{"photo_id":"1398508221","filename":"file1"},{"photo_id":"1398508192","filename":"file0"},{"photo_id":"1398508280","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398508341":["hashtag1","hashtag2"]},{"1398508221":["hashtag1","hashtag2"]},{"1398508280":["hashtag1","hashtag2"]},{"1398508192":["hashtag1","hashtag2"]},{"1398508249":["hashtag1","hashtag2"]},{"1398508309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398508341, 1398508221, 1398508280, 1398508192, 1398508249, 1398508309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7251341342926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:05:03.031112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_44_9705.jpg', '/home/pi/Desktop/images/09122025/06/59/image_09122025_07_00_04_9631.jpg', '/home/pi/Desktop/images/09122025/07/00/image_09122025_07_01_04_9661.jpg', '/home/pi/Desktop/images/09122025/07/05/image_09122025_07_05_24_10658.jpg', '/home/pi/Desktop/images/09122025/07/05/image_09122025_07_05_34_9679.jpg', '/home/pi/Desktop/images/09122025/07/06/image_09122025_07_06_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/06/59/image_09122025_06_59_44_9705.jpg
/home/pi/Desktop/images/09122025/06/59/image_09122025_07_00_04_9631.jpg
/home/pi/Desktop/images/09122025/07/00/image_09122025_07_01_04_9661.jpg
/home/pi/Desktop/images/09122025/07/05/image_09122025_07_05_24_10658.jpg
/home/pi/Desktop/images/09122025/07/05/image_09122025_07_05_34_9679.jpg
/home/pi/Desktop/images/09122025/07/06/image_09122025_07_06_54_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398508605","1398508664","1398508694","1398508634","1398508573","1398508537"],"photo_ids_order":["1398508537","1398508573","1398508605","1398508634","1398508664","1398508694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e997807a284939149eeda9d7ff8b6a48.jpg","text":"TemporaryFile(/tmp/multipartBody5248051872684536051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_07_01_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff4eb81b76b57ab655a786d2cd05f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody4634246628046460424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_07_05_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5bdd3c6e10b04feec403e4bff526baf5.jpg","text":"TemporaryFile(/tmp/multipartBody4568001379610817931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_07_06_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c89c34a04ed6b2f50ae5a40c69ac982.jpg","text":"TemporaryFile(/tmp/multipartBody5775888872729395933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_07_05_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d918680da69cba5e18f7bccb9cdb9964.jpg","text":"TemporaryFile(/tmp/multipartBody2730892637181122674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_07_00_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6697674201be9a6aadacf392991e5696.jpg","text":"TemporaryFile(/tmp/multipartBody4121314013375082405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292763938,"filename":"image_09122025_06_59_44_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398508605","file1":"1398508573","file0":"1398508537","file4":"1398508664","file5":"1398508694","file3":"1398508634"},"map_files_photo_id_array":[{"photo_id":"1398508694","filename":"file5"},{"photo_id":"1398508605","filename":"file2"},{"photo_id":"1398508664","filename":"file4"},{"photo_id":"1398508573","filename":"file1"},{"photo_id":"1398508537","filename":"file0"},{"photo_id":"1398508634","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398508605":["hashtag1","hashtag2"]},{"1398508664":["hashtag1","hashtag2"]},{"1398508694":["hashtag1","hashtag2"]},{"1398508634":["hashtag1","hashtag2"]},{"1398508573":["hashtag1","hashtag2"]},{"1398508537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398508605, 1398508664, 1398508694, 1398508634, 1398508573, 1398508537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9038941860199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:06:03.031339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/06/image_09122025_07_07_04_9731.jpg', '/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_14_10729.jpg', '/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_24_9754.jpg', '/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_34_9612.jpg', '/home/pi/Desktop/images/09122025/07/08/image_09122025_07_08_14_9710.jpg', '/home/pi/Desktop/images/09122025/07/08/image_09122025_07_08_24_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/06/image_09122025_07_07_04_9731.jpg
/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_14_10729.jpg
/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_24_9754.jpg
/home/pi/Desktop/images/09122025/07/07/image_09122025_07_07_34_9612.jpg
/home/pi/Desktop/images/09122025/07/08/image_09122025_07_08_14_9710.jpg
/home/pi/Desktop/images/09122025/07/08/image_09122025_07_08_24_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398508748","1398508808","1398508744","1398508741","1398508776","1398508737"],"photo_ids_order":["1398508737","1398508741","1398508744","1398508748","1398508776","1398508808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e62aef1ee246ecfb2d3e31b14f467cff.jpg","text":"TemporaryFile(/tmp/multipartBody8455977443378221151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_07_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c5c59a799176972c5997956137ae285.jpg","text":"TemporaryFile(/tmp/multipartBody4035409829858433242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_08_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/539146083d240be2c01881b03f4442fb.jpg","text":"TemporaryFile(/tmp/multipartBody8167845743001088455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_07_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c294ca91881d2cbcdbcc408450cf3036.jpg","text":"TemporaryFile(/tmp/multipartBody7059696836086893740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_07_14_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c61591b222776c1c7cc964ae0bd74902.jpg","text":"TemporaryFile(/tmp/multipartBody1599985166845094794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_08_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fdb4d5a5108ec1fdc86a5554f899df6.jpg","text":"TemporaryFile(/tmp/multipartBody7036818230528394909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292823897,"filename":"image_09122025_07_07_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398508744","file1":"1398508741","file0":"1398508737","file4":"1398508776","file5":"1398508808","file3":"1398508748"},"map_files_photo_id_array":[{"photo_id":"1398508808","filename":"file5"},{"photo_id":"1398508744","filename":"file2"},{"photo_id":"1398508776","filename":"file4"},{"photo_id":"1398508741","filename":"file1"},{"photo_id":"1398508737","filename":"file0"},{"photo_id":"1398508748","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398508748":["hashtag1","hashtag2"]},{"1398508808":["hashtag1","hashtag2"]},{"1398508744":["hashtag1","hashtag2"]},{"1398508741":["hashtag1","hashtag2"]},{"1398508776":["hashtag1","hashtag2"]},{"1398508737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398508748, 1398508808, 1398508744, 1398508741, 1398508776, 1398508737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18599224090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:07:02.562235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/08/image_09122025_07_09_04_10791.jpg', '/home/pi/Desktop/images/09122025/07/09/image_09122025_07_09_44_9690.jpg', '/home/pi/Desktop/images/09122025/07/09/image_09122025_07_09_54_9806.jpg', '/home/pi/Desktop/images/09122025/07/10/image_09122025_07_10_24_9611.jpg', '/home/pi/Desktop/images/09122025/07/11/image_09122025_07_11_44_10638.jpg', '/home/pi/Desktop/images/09122025/07/12/image_09122025_07_12_14_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/08/image_09122025_07_09_04_10791.jpg
/home/pi/Desktop/images/09122025/07/09/image_09122025_07_09_44_9690.jpg
/home/pi/Desktop/images/09122025/07/09/image_09122025_07_09_54_9806.jpg
/home/pi/Desktop/images/09122025/07/10/image_09122025_07_10_24_9611.jpg
/home/pi/Desktop/images/09122025/07/11/image_09122025_07_11_44_10638.jpg
/home/pi/Desktop/images/09122025/07/12/image_09122025_07_12_14_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398509210","1398509271","1398509031","1398509061","1398509142","1398509093"],"photo_ids_order":["1398509031","1398509061","1398509093","1398509142","1398509210","1398509271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f2ae494aab73fe31cf551051c349d80.jpg","text":"TemporaryFile(/tmp/multipartBody5538665821771862593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_11_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e924e59a0cb88a03fcd944ca283e130f.jpg","text":"TemporaryFile(/tmp/multipartBody6638148070488912531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_12_14_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be260b01b3ada14d59f1615266f56ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7318995888972599230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_09_04_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/110537a280ee3874478f739cc7910e10.jpg","text":"TemporaryFile(/tmp/multipartBody2692328691873723580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_09_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2fd9170d5165bcc20c8588e44559ec78.jpg","text":"TemporaryFile(/tmp/multipartBody2424402008120483897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_10_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e272f774017dc43fedee43f32b366ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2990016502184908917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292883492,"filename":"image_09122025_07_09_54_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398509093","file1":"1398509061","file0":"1398509031","file4":"1398509210","file5":"1398509271","file3":"1398509142"},"map_files_photo_id_array":[{"photo_id":"1398509271","filename":"file5"},{"photo_id":"1398509093","filename":"file2"},{"photo_id":"1398509210","filename":"file4"},{"photo_id":"1398509061","filename":"file1"},{"photo_id":"1398509031","filename":"file0"},{"photo_id":"1398509142","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398509210":["hashtag1","hashtag2"]},{"1398509271":["hashtag1","hashtag2"]},{"1398509031":["hashtag1","hashtag2"]},{"1398509061":["hashtag1","hashtag2"]},{"1398509142":["hashtag1","hashtag2"]},{"1398509093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398509210, 1398509271, 1398509031, 1398509061, 1398509142, 1398509093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.130300998687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:08:02.770944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/12/image_09122025_07_12_44_9653.jpg', '/home/pi/Desktop/images/09122025/07/13/image_09122025_07_13_14_10642.jpg', '/home/pi/Desktop/images/09122025/07/14/image_09122025_07_14_34_9603.jpg', '/home/pi/Desktop/images/09122025/07/14/image_09122025_07_14_44_10607.jpg', '/home/pi/Desktop/images/09122025/07/15/image_09122025_07_15_34_10578.jpg', '/home/pi/Desktop/images/09122025/07/15/image_09122025_07_15_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/12/image_09122025_07_12_44_9653.jpg
/home/pi/Desktop/images/09122025/07/13/image_09122025_07_13_14_10642.jpg
/home/pi/Desktop/images/09122025/07/14/image_09122025_07_14_34_9603.jpg
/home/pi/Desktop/images/09122025/07/14/image_09122025_07_14_44_10607.jpg
/home/pi/Desktop/images/09122025/07/15/image_09122025_07_15_34_10578.jpg
/home/pi/Desktop/images/09122025/07/15/image_09122025_07_15_54_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398509954","1398509771","1398509824","1398509713","1398509649","1398509894"],"photo_ids_order":["1398509649","1398509713","1398509771","1398509824","1398509894","1398509954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98bb1499c55b4cba364fc00fc1a2417a.jpg","text":"TemporaryFile(/tmp/multipartBody4055212864544956052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_15_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a63b4351196aaae63b5f24db36252bb.jpg","text":"TemporaryFile(/tmp/multipartBody3330558289759881588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_14_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4bada505110f912a8963be6d3d6bad76.jpg","text":"TemporaryFile(/tmp/multipartBody1854930153825500644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_14_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cde43095feee9dd3c79b199c71371549.jpg","text":"TemporaryFile(/tmp/multipartBody2161821382754339257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_13_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40d86537c000bace6880bc99b3afd226.jpg","text":"TemporaryFile(/tmp/multipartBody1171604902445856543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_12_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/10f4339bc384fbd6367e4d59e9409d86.jpg","text":"TemporaryFile(/tmp/multipartBody7344812243822899397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765292943627,"filename":"image_09122025_07_15_34_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398509771","file1":"1398509713","file0":"1398509649","file4":"1398509894","file5":"1398509954","file3":"1398509824"},"map_files_photo_id_array":[{"photo_id":"1398509954","filename":"file5"},{"photo_id":"1398509771","filename":"file2"},{"photo_id":"1398509894","filename":"file4"},{"photo_id":"1398509713","filename":"file1"},{"photo_id":"1398509649","filename":"file0"},{"photo_id":"1398509824","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398509954":["hashtag1","hashtag2"]},{"1398509771":["hashtag1","hashtag2"]},{"1398509824":["hashtag1","hashtag2"]},{"1398509713":["hashtag1","hashtag2"]},{"1398509649":["hashtag1","hashtag2"]},{"1398509894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398509954, 1398509771, 1398509824, 1398509713, 1398509649, 1398509894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.387221813201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:09:03.120842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/16/image_09122025_07_16_34_10638.jpg', '/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_14_9894.jpg', '/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_24_9641.jpg', '/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_44_9716.jpg', '/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_54_9701.jpg', '/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/16/image_09122025_07_16_34_10638.jpg
/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_14_9894.jpg
/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_24_9641.jpg
/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_44_9716.jpg
/home/pi/Desktop/images/09122025/07/17/image_09122025_07_17_54_9701.jpg
/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_14_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398510272","1398510530","1398510605","1398510418","1398510346","1398510700"],"photo_ids_order":["1398510272","1398510346","1398510418","1398510530","1398510605","1398510700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5a958f4c0293c44a339130091c9a052.jpg","text":"TemporaryFile(/tmp/multipartBody1014065927366616441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_16_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0460a4c3d6c48fd0a039e51c70cdc10.jpg","text":"TemporaryFile(/tmp/multipartBody4988976407368540847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_17_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5f738c793934c4cf7471478633e32d6.jpg","text":"TemporaryFile(/tmp/multipartBody7467950462723930578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_17_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06f7d6b6b36d71fdd5399c5710434695.jpg","text":"TemporaryFile(/tmp/multipartBody4956418006398047707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_17_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08e34438794ca2660fa0c965c897f652.jpg","text":"TemporaryFile(/tmp/multipartBody3652244418034138472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_17_14_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/879ade23ab9d5e6fefaa025a396153c8.jpg","text":"TemporaryFile(/tmp/multipartBody5552964430452072683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293003799,"filename":"image_09122025_07_18_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398510418","file1":"1398510346","file0":"1398510272","file4":"1398510605","file5":"1398510700","file3":"1398510530"},"map_files_photo_id_array":[{"photo_id":"1398510700","filename":"file5"},{"photo_id":"1398510418","filename":"file2"},{"photo_id":"1398510605","filename":"file4"},{"photo_id":"1398510346","filename":"file1"},{"photo_id":"1398510272","filename":"file0"},{"photo_id":"1398510530","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398510272":["hashtag1","hashtag2"]},{"1398510530":["hashtag1","hashtag2"]},{"1398510605":["hashtag1","hashtag2"]},{"1398510418":["hashtag1","hashtag2"]},{"1398510346":["hashtag1","hashtag2"]},{"1398510700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398510272, 1398510530, 1398510605, 1398510418, 1398510346, 1398510700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15528988838196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:10:02.937755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_24_9552.jpg', '/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_44_9589.jpg', '/home/pi/Desktop/images/09122025/07/18/image_09122025_07_19_04_10789.jpg', '/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_14_9654.jpg', '/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_44_9582.jpg', '/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_54_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_24_9552.jpg
/home/pi/Desktop/images/09122025/07/18/image_09122025_07_18_44_9589.jpg
/home/pi/Desktop/images/09122025/07/18/image_09122025_07_19_04_10789.jpg
/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_14_9654.jpg
/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_44_9582.jpg
/home/pi/Desktop/images/09122025/07/19/image_09122025_07_19_54_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398511229","1398511273","1398511177","1398511141","1398511080","1398511305"],"photo_ids_order":["1398511080","1398511141","1398511177","1398511229","1398511273","1398511305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/168d499b43a37c805b1bed0ee76f3cfc.jpg","text":"TemporaryFile(/tmp/multipartBody47403251753147614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_19_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/350c82119297e28c1e01336ffcb5c85f.jpg","text":"TemporaryFile(/tmp/multipartBody8161936152650422472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_19_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b08f71490b69d5016fb4f8508020c96a.jpg","text":"TemporaryFile(/tmp/multipartBody6316611737686635208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_19_04_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bf25dc57d237ddb9dbc2ea62ab073b9.jpg","text":"TemporaryFile(/tmp/multipartBody7113399407781659187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_18_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24f06f6ee6615e4a2e510fa8aabee2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1804412496593683145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_18_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92314023fc010569e6e32075c01c7eef.jpg","text":"TemporaryFile(/tmp/multipartBody4123747421991195460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293063714,"filename":"image_09122025_07_19_54_10567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398511177","file1":"1398511141","file0":"1398511080","file4":"1398511273","file5":"1398511305","file3":"1398511229"},"map_files_photo_id_array":[{"photo_id":"1398511305","filename":"file5"},{"photo_id":"1398511177","filename":"file2"},{"photo_id":"1398511273","filename":"file4"},{"photo_id":"1398511141","filename":"file1"},{"photo_id":"1398511080","filename":"file0"},{"photo_id":"1398511229","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398511229":["hashtag1","hashtag2"]},{"1398511273":["hashtag1","hashtag2"]},{"1398511177":["hashtag1","hashtag2"]},{"1398511141":["hashtag1","hashtag2"]},{"1398511080":["hashtag1","hashtag2"]},{"1398511305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398511229, 1398511273, 1398511177, 1398511141, 1398511080, 1398511305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17004346847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:11:02.460220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_24_10706.jpg', '/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_34_9574.jpg', '/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_44_9616.jpg', '/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_54_10721.jpg', '/home/pi/Desktop/images/09122025/07/20/image_09122025_07_21_04_9580.jpg', '/home/pi/Desktop/images/09122025/07/22/image_09122025_07_22_44_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_24_10706.jpg
/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_34_9574.jpg
/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_44_9616.jpg
/home/pi/Desktop/images/09122025/07/20/image_09122025_07_20_54_10721.jpg
/home/pi/Desktop/images/09122025/07/20/image_09122025_07_21_04_9580.jpg
/home/pi/Desktop/images/09122025/07/22/image_09122025_07_22_44_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398511496","1398511337","1398511366","1398511432","1398511332","1398511335"],"photo_ids_order":["1398511332","1398511335","1398511337","1398511366","1398511432","1398511496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/31bd068c3af9a92d815762f589468168.jpg","text":"TemporaryFile(/tmp/multipartBody1884114334870176066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_22_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc698cef20ef42f2f945bc333c8247ad.jpg","text":"TemporaryFile(/tmp/multipartBody2851701543610935402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_20_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c897e02552dd1696d9d45b52ea7080fa.jpg","text":"TemporaryFile(/tmp/multipartBody1262045136849870917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_20_54_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c68a9418821c9d5e1c1c9e6a9353dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7346021288231680701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_21_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a638915494d5f44744f77d7f576f3bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3629086180468234124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_20_24_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac157cd00f54a05922bd031cc5020179.jpg","text":"TemporaryFile(/tmp/multipartBody646782434844003002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293123412,"filename":"image_09122025_07_20_34_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398511337","file1":"1398511335","file0":"1398511332","file4":"1398511432","file5":"1398511496","file3":"1398511366"},"map_files_photo_id_array":[{"photo_id":"1398511496","filename":"file5"},{"photo_id":"1398511337","filename":"file2"},{"photo_id":"1398511432","filename":"file4"},{"photo_id":"1398511335","filename":"file1"},{"photo_id":"1398511332","filename":"file0"},{"photo_id":"1398511366","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398511496":["hashtag1","hashtag2"]},{"1398511337":["hashtag1","hashtag2"]},{"1398511366":["hashtag1","hashtag2"]},{"1398511432":["hashtag1","hashtag2"]},{"1398511332":["hashtag1","hashtag2"]},{"1398511335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398511496, 1398511337, 1398511366, 1398511432, 1398511332, 1398511335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35965347290039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:12:02.630489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/22/image_09122025_07_22_54_9669.jpg', '/home/pi/Desktop/images/09122025/07/23/image_09122025_07_23_14_9679.jpg', '/home/pi/Desktop/images/09122025/07/23/image_09122025_07_23_54_9659.jpg', '/home/pi/Desktop/images/09122025/07/24/image_09122025_07_25_04_10711.jpg', '/home/pi/Desktop/images/09122025/07/25/image_09122025_07_25_14_9722.jpg', '/home/pi/Desktop/images/09122025/07/27/image_09122025_07_27_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/22/image_09122025_07_22_54_9669.jpg
/home/pi/Desktop/images/09122025/07/23/image_09122025_07_23_14_9679.jpg
/home/pi/Desktop/images/09122025/07/23/image_09122025_07_23_54_9659.jpg
/home/pi/Desktop/images/09122025/07/24/image_09122025_07_25_04_10711.jpg
/home/pi/Desktop/images/09122025/07/25/image_09122025_07_25_14_9722.jpg
/home/pi/Desktop/images/09122025/07/27/image_09122025_07_27_14_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398511874","1398511808","1398511904","1398512031","1398511950","1398512001"],"photo_ids_order":["1398511808","1398511874","1398511904","1398511950","1398512001","1398512031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81d849bfeb392d1dc9f3dffd285a714f.jpg","text":"TemporaryFile(/tmp/multipartBody6367795668787295124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_23_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a59a30ca1d24a6fadb33921a13d2442.jpg","text":"TemporaryFile(/tmp/multipartBody2161186184791064855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_22_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a585a941d98a6fc29b24d73441dcb83.jpg","text":"TemporaryFile(/tmp/multipartBody5229335222054022872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_23_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/069c026830ffa4d005e68f941de13414.jpg","text":"TemporaryFile(/tmp/multipartBody2750550312012967372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_27_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c8a8d848bfa6b6c51f21e0233a43016.jpg","text":"TemporaryFile(/tmp/multipartBody4030354390228852851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_25_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0948df2bce27c4226db0bd23da32ce04.jpg","text":"TemporaryFile(/tmp/multipartBody3005497966476720160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293183331,"filename":"image_09122025_07_25_14_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398511904","file1":"1398511874","file0":"1398511808","file4":"1398512001","file5":"1398512031","file3":"1398511950"},"map_files_photo_id_array":[{"photo_id":"1398512031","filename":"file5"},{"photo_id":"1398511904","filename":"file2"},{"photo_id":"1398512001","filename":"file4"},{"photo_id":"1398511874","filename":"file1"},{"photo_id":"1398511808","filename":"file0"},{"photo_id":"1398511950","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398511874":["hashtag1","hashtag2"]},{"1398511808":["hashtag1","hashtag2"]},{"1398511904":["hashtag1","hashtag2"]},{"1398512031":["hashtag1","hashtag2"]},{"1398511950":["hashtag1","hashtag2"]},{"1398512001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398511874, 1398511808, 1398511904, 1398512031, 1398511950, 1398512001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01885914802551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:13:03.214290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/27/image_09122025_07_27_24_10579.jpg', '/home/pi/Desktop/images/09122025/07/28/image_09122025_07_28_44_9655.jpg', '/home/pi/Desktop/images/09122025/07/29/image_09122025_07_29_14_9546.jpg', '/home/pi/Desktop/images/09122025/07/29/image_09122025_07_29_24_10638.jpg', '/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_34_10511.jpg', '/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/27/image_09122025_07_27_24_10579.jpg
/home/pi/Desktop/images/09122025/07/28/image_09122025_07_28_44_9655.jpg
/home/pi/Desktop/images/09122025/07/29/image_09122025_07_29_14_9546.jpg
/home/pi/Desktop/images/09122025/07/29/image_09122025_07_29_24_10638.jpg
/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_34_10511.jpg
/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_44_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512219","1398512207","1398512178","1398512124","1398512222","1398512216"],"photo_ids_order":["1398512124","1398512178","1398512207","1398512216","1398512219","1398512222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/241d8913145514540b08dfcf705a6e6d.jpg","text":"TemporaryFile(/tmp/multipartBody964010927713660948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_30_34_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/471f38fdb4cde8f18fe21d3723ce7523.jpg","text":"TemporaryFile(/tmp/multipartBody2031892423769206105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_29_14_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ec79e3bbdd2d2f2170cb934ff89b066.jpg","text":"TemporaryFile(/tmp/multipartBody2660139393438295631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_28_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccd1b337ea8d010b3caf75877ea643f3.jpg","text":"TemporaryFile(/tmp/multipartBody5474553383087710129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_27_24_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf6d7a54dce9de790fff84a6bd01db8a.jpg","text":"TemporaryFile(/tmp/multipartBody3770387348542715130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_30_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73504188d755a134c7fc95b2ab01c36d.jpg","text":"TemporaryFile(/tmp/multipartBody191307403565225057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293244169,"filename":"image_09122025_07_29_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512207","file1":"1398512178","file0":"1398512124","file4":"1398512219","file5":"1398512222","file3":"1398512216"},"map_files_photo_id_array":[{"photo_id":"1398512222","filename":"file5"},{"photo_id":"1398512207","filename":"file2"},{"photo_id":"1398512219","filename":"file4"},{"photo_id":"1398512178","filename":"file1"},{"photo_id":"1398512124","filename":"file0"},{"photo_id":"1398512216","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512219":["hashtag1","hashtag2"]},{"1398512207":["hashtag1","hashtag2"]},{"1398512178":["hashtag1","hashtag2"]},{"1398512124":["hashtag1","hashtag2"]},{"1398512222":["hashtag1","hashtag2"]},{"1398512216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512219, 1398512207, 1398512178, 1398512124, 1398512222, 1398512216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29426288604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:14:03.410610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_54_9651.jpg', '/home/pi/Desktop/images/09122025/07/30/image_09122025_07_31_04_10693.jpg', '/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_14_9558.jpg', '/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_24_9852.jpg', '/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_54_9560.jpg', '/home/pi/Desktop/images/09122025/07/31/image_09122025_07_32_04_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/30/image_09122025_07_30_54_9651.jpg
/home/pi/Desktop/images/09122025/07/30/image_09122025_07_31_04_10693.jpg
/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_14_9558.jpg
/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_24_9852.jpg
/home/pi/Desktop/images/09122025/07/31/image_09122025_07_31_54_9560.jpg
/home/pi/Desktop/images/09122025/07/31/image_09122025_07_32_04_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512350","1398512368","1398512356","1398512364","1398512352","1398512360"],"photo_ids_order":["1398512350","1398512352","1398512356","1398512360","1398512364","1398512368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/857c6d3b15a3bd3c69d77128ce4d3e59.jpg","text":"TemporaryFile(/tmp/multipartBody943078227305119349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_30_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/702496d74e2a9842f2b504520e40ad8c.jpg","text":"TemporaryFile(/tmp/multipartBody2548099388151668378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_32_04_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d71c47b35145e62cab0c67436938e530.jpg","text":"TemporaryFile(/tmp/multipartBody6850705893095690039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_31_14_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb329ed19916d9694230b89ebad76584.jpg","text":"TemporaryFile(/tmp/multipartBody3231654560144133985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_31_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc7278f266c817f9226c4aa449b025b4.jpg","text":"TemporaryFile(/tmp/multipartBody2308538689318718197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_31_04_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42758cb58e087c2adae2d3994fdf067a.jpg","text":"TemporaryFile(/tmp/multipartBody4193661873350742608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293304269,"filename":"image_09122025_07_31_24_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512356","file1":"1398512352","file0":"1398512350","file4":"1398512364","file5":"1398512368","file3":"1398512360"},"map_files_photo_id_array":[{"photo_id":"1398512368","filename":"file5"},{"photo_id":"1398512356","filename":"file2"},{"photo_id":"1398512364","filename":"file4"},{"photo_id":"1398512352","filename":"file1"},{"photo_id":"1398512350","filename":"file0"},{"photo_id":"1398512360","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512350":["hashtag1","hashtag2"]},{"1398512368":["hashtag1","hashtag2"]},{"1398512356":["hashtag1","hashtag2"]},{"1398512364":["hashtag1","hashtag2"]},{"1398512352":["hashtag1","hashtag2"]},{"1398512360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512350, 1398512368, 1398512356, 1398512364, 1398512352, 1398512360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91416549682617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:15:02.666320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_14_9553.jpg', '/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_24_9657.jpg', '/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_44_9637.jpg', '/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_54_9804.jpg', '/home/pi/Desktop/images/09122025/07/32/image_09122025_07_33_04_10640.jpg', '/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_14_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_14_9553.jpg
/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_24_9657.jpg
/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_44_9637.jpg
/home/pi/Desktop/images/09122025/07/32/image_09122025_07_32_54_9804.jpg
/home/pi/Desktop/images/09122025/07/32/image_09122025_07_33_04_10640.jpg
/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_14_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512407","1398512401","1398512412","1398512406","1398512396","1398512409"],"photo_ids_order":["1398512396","1398512401","1398512406","1398512407","1398512409","1398512412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83be8b10ce0d8201b0137f678c5f1b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7934561097580659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_32_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fed5ae5ba215736002984bae6953ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6755160245573189112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_32_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d7368ce2e1994efa7ab7bb24ad02b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7973447760144498406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_33_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a51884a0e071a3fb04e453ce33b927f.jpg","text":"TemporaryFile(/tmp/multipartBody5101247868714545113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_32_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0bfd596331c33951d83f665064188b01.jpg","text":"TemporaryFile(/tmp/multipartBody4597418676867445258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_32_14_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e00cf2174bc893ba77834d2c55b2791.jpg","text":"TemporaryFile(/tmp/multipartBody2432454004693461322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293363560,"filename":"image_09122025_07_33_04_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512406","file1":"1398512401","file0":"1398512396","file4":"1398512409","file5":"1398512412","file3":"1398512407"},"map_files_photo_id_array":[{"photo_id":"1398512412","filename":"file5"},{"photo_id":"1398512406","filename":"file2"},{"photo_id":"1398512409","filename":"file4"},{"photo_id":"1398512401","filename":"file1"},{"photo_id":"1398512396","filename":"file0"},{"photo_id":"1398512407","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512407":["hashtag1","hashtag2"]},{"1398512401":["hashtag1","hashtag2"]},{"1398512412":["hashtag1","hashtag2"]},{"1398512406":["hashtag1","hashtag2"]},{"1398512396":["hashtag1","hashtag2"]},{"1398512409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512407, 1398512401, 1398512412, 1398512406, 1398512396, 1398512409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52670168876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:16:02.544016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_24_9547.jpg', '/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_54_9671.jpg', '/home/pi/Desktop/images/09122025/07/33/image_09122025_07_34_04_10614.jpg', '/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_14_9581.jpg', '/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_24_10644.jpg', '/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_54_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_24_9547.jpg
/home/pi/Desktop/images/09122025/07/33/image_09122025_07_33_54_9671.jpg
/home/pi/Desktop/images/09122025/07/33/image_09122025_07_34_04_10614.jpg
/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_14_9581.jpg
/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_24_10644.jpg
/home/pi/Desktop/images/09122025/07/34/image_09122025_07_34_54_9908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512440","1398512434","1398512428","1398512437","1398512430","1398512432"],"photo_ids_order":["1398512428","1398512430","1398512432","1398512434","1398512437","1398512440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d12b058a7fb632cf3aabb6e0580e41f8.jpg","text":"TemporaryFile(/tmp/multipartBody9099767690733502168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_34_54_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5b243673e144930f7851ceeefbe0061.jpg","text":"TemporaryFile(/tmp/multipartBody2371532015474447350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_34_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15926332eb0dbb10d5f3a310bc1b10f7.jpg","text":"TemporaryFile(/tmp/multipartBody604557991639736702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_33_24_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac5eacc43d5e41d5917b9dc84d296a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2548344219936916585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_34_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/449aa5d72d2ed1b9a9e76ed09e87d815.jpg","text":"TemporaryFile(/tmp/multipartBody5398990259084973856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_33_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71676acc1024cbfa08e21f4c8e7df568.jpg","text":"TemporaryFile(/tmp/multipartBody8740221137591205842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293423379,"filename":"image_09122025_07_34_04_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512432","file1":"1398512430","file0":"1398512428","file4":"1398512437","file5":"1398512440","file3":"1398512434"},"map_files_photo_id_array":[{"photo_id":"1398512440","filename":"file5"},{"photo_id":"1398512432","filename":"file2"},{"photo_id":"1398512437","filename":"file4"},{"photo_id":"1398512430","filename":"file1"},{"photo_id":"1398512428","filename":"file0"},{"photo_id":"1398512434","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512440":["hashtag1","hashtag2"]},{"1398512434":["hashtag1","hashtag2"]},{"1398512428":["hashtag1","hashtag2"]},{"1398512437":["hashtag1","hashtag2"]},{"1398512430":["hashtag1","hashtag2"]},{"1398512432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512440, 1398512434, 1398512428, 1398512437, 1398512430, 1398512432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04972004890442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:17:03.211775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/34/image_09122025_07_35_04_10629.jpg', '/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_14_9668.jpg', '/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_24_9834.jpg', '/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_34_9696.jpg', '/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_14_10726.jpg', '/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_24_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/34/image_09122025_07_35_04_10629.jpg
/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_14_9668.jpg
/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_24_9834.jpg
/home/pi/Desktop/images/09122025/07/35/image_09122025_07_35_34_9696.jpg
/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_14_10726.jpg
/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_24_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512473","1398512475","1398512478","1398512483","1398512477","1398512480"],"photo_ids_order":["1398512473","1398512475","1398512477","1398512478","1398512480","1398512483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f86b29762ea748d29190e90e27ee2cce.jpg","text":"TemporaryFile(/tmp/multipartBody3488254357210446948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_35_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccfddfcc37049fdaa386bc682a09f398.jpg","text":"TemporaryFile(/tmp/multipartBody8505323775069060436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_35_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/711a4c50af6a6c13293dde85c4a6f053.jpg","text":"TemporaryFile(/tmp/multipartBody2103353536494335908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_35_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29f870e95e7c29d4406c3f998f864b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4598114710578706360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_36_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f6cd524340d7fd6e686d58af487a4aa.jpg","text":"TemporaryFile(/tmp/multipartBody5900263780554271413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_35_24_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/102e23563fff0c1c991b0fc6db2945ee.jpg","text":"TemporaryFile(/tmp/multipartBody1964299729913227557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293484132,"filename":"image_09122025_07_36_14_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512477","file1":"1398512475","file0":"1398512473","file4":"1398512480","file5":"1398512483","file3":"1398512478"},"map_files_photo_id_array":[{"photo_id":"1398512483","filename":"file5"},{"photo_id":"1398512477","filename":"file2"},{"photo_id":"1398512480","filename":"file4"},{"photo_id":"1398512475","filename":"file1"},{"photo_id":"1398512473","filename":"file0"},{"photo_id":"1398512478","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512473":["hashtag1","hashtag2"]},{"1398512475":["hashtag1","hashtag2"]},{"1398512478":["hashtag1","hashtag2"]},{"1398512483":["hashtag1","hashtag2"]},{"1398512477":["hashtag1","hashtag2"]},{"1398512480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512473, 1398512475, 1398512478, 1398512483, 1398512477, 1398512480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50228214263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:18:03.094351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_34_9536.jpg', '/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_44_10610.jpg', '/home/pi/Desktop/images/09122025/07/36/image_09122025_07_37_04_9751.jpg', '/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_14_10688.jpg', '/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_24_9592.jpg', '/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_34_9536.jpg
/home/pi/Desktop/images/09122025/07/36/image_09122025_07_36_44_10610.jpg
/home/pi/Desktop/images/09122025/07/36/image_09122025_07_37_04_9751.jpg
/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_14_10688.jpg
/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_24_9592.jpg
/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_34_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512510","1398512504","1398512506","1398512500","1398512502","1398512508"],"photo_ids_order":["1398512500","1398512502","1398512504","1398512506","1398512508","1398512510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ceed5071eaa4f3527e5c100ef7091b82.jpg","text":"TemporaryFile(/tmp/multipartBody7644145610077785326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_37_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15aad8f912b582a01143e7b680d81ac4.jpg","text":"TemporaryFile(/tmp/multipartBody3192047153218239155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_37_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f994edadee7d5513cf5f8bc8e9d9ea4e.jpg","text":"TemporaryFile(/tmp/multipartBody3324779986670714114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_37_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7af374f4d64d3c157f2a545a89cdd893.jpg","text":"TemporaryFile(/tmp/multipartBody6800404393723411249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_36_34_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/28addb5edf387e9c30329f9ac99fab8b.jpg","text":"TemporaryFile(/tmp/multipartBody4397242079049374585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_36_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d4656cc911734a4696e23a90900f484.jpg","text":"TemporaryFile(/tmp/multipartBody1872091850636507298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293544197,"filename":"image_09122025_07_37_24_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512504","file1":"1398512502","file0":"1398512500","file4":"1398512508","file5":"1398512510","file3":"1398512506"},"map_files_photo_id_array":[{"photo_id":"1398512510","filename":"file5"},{"photo_id":"1398512504","filename":"file2"},{"photo_id":"1398512508","filename":"file4"},{"photo_id":"1398512502","filename":"file1"},{"photo_id":"1398512500","filename":"file0"},{"photo_id":"1398512506","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512510":["hashtag1","hashtag2"]},{"1398512504":["hashtag1","hashtag2"]},{"1398512506":["hashtag1","hashtag2"]},{"1398512500":["hashtag1","hashtag2"]},{"1398512502":["hashtag1","hashtag2"]},{"1398512508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512510, 1398512504, 1398512506, 1398512500, 1398512502, 1398512508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79827404022217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 16:18:42.689159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_39_2583.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_43_3619.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_46_2886.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_49_2560.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_51_2727.jpg', '/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_58_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_39_2583.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_43_3619.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_46_2886.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_49_2560.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_51_2727.jpg
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_11_58_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512543","1398512530","1398512541","1398512538","1398512523","1398512534"],"photo_ids_order":["1398512523","1398512530","1398512534","1398512538","1398512541","1398512543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1abb47cdd76c73f022d0ea814c523db0.jpg","text":"TemporaryFile(/tmp/multipartBody432686534034736816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_58_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b5f6a1026f1bc5fb2a056c7ec7a3285.jpg","text":"TemporaryFile(/tmp/multipartBody3964200056216933796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_43_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ca94e854182d6495fa80b655ab1b769.jpg","text":"TemporaryFile(/tmp/multipartBody207407971403524224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_51_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cbb932b6061b84f0087d2f851ae0aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1910388408530171742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_49_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d9b53b4815c314f53ae160817c266c5.jpg","text":"TemporaryFile(/tmp/multipartBody2655410823054569009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_39_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c535c5357dbfacbadbb421f7b7afd3d.jpg","text":"TemporaryFile(/tmp/multipartBody6072517031552688133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293583801,"filename":"image_01112025_19_11_46_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512534","file1":"1398512530","file0":"1398512523","file4":"1398512541","file5":"1398512543","file3":"1398512538"},"map_files_photo_id_array":[{"photo_id":"1398512543","filename":"file5"},{"photo_id":"1398512534","filename":"file2"},{"photo_id":"1398512541","filename":"file4"},{"photo_id":"1398512530","filename":"file1"},{"photo_id":"1398512523","filename":"file0"},{"photo_id":"1398512538","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398512543":["hashtag1","hashtag2"]},{"1398512530":["hashtag1","hashtag2"]},{"1398512541":["hashtag1","hashtag2"]},{"1398512538":["hashtag1","hashtag2"]},{"1398512523":["hashtag1","hashtag2"]},{"1398512534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398512543, 1398512530, 1398512541, 1398512538, 1398512523, 1398512534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.237244606018066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:19:31.955513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_35_9770.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_45_9705.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_55_10666.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_48_05_9709.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_15_9693.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_25_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_35_9770.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_45_9705.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_55_10666.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_48_05_9709.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_15_9693.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_25_10537.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7658538818359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 16:19:41.919830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/11/image_01112025_19_12_00_2731.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_07_2597.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_09_2720.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_16_2707.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_18_2647.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_22_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/11/image_01112025_19_12_00_2731.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_07_2597.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_09_2720.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_16_2707.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_18_2647.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_22_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512593","1398512590","1398512584","1398512572","1398512577","1398512588"],"photo_ids_order":["1398512572","1398512577","1398512584","1398512588","1398512590","1398512593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19c08411259b60cf296b83ae23d2c09c.jpg","text":"TemporaryFile(/tmp/multipartBody5719605117402101767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_22_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cef77c51101d7283e674f05c9cb56ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7156231754817961464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_18_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ece6e1a0b838646d3e580461f33a25aa.jpg","text":"TemporaryFile(/tmp/multipartBody2713007649341731282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_09_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/708ff0a91039b1011297929f325951fc.jpg","text":"TemporaryFile(/tmp/multipartBody8240003347233263108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_00_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/452d8309d15b411ba9d87743270701b9.jpg","text":"TemporaryFile(/tmp/multipartBody2054912535619606067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_07_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f62979b4356d7fe284748ff7243bd63.jpg","text":"TemporaryFile(/tmp/multipartBody7330201682983294153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293643188,"filename":"image_01112025_19_12_16_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512584","file1":"1398512577","file0":"1398512572","file4":"1398512590","file5":"1398512593","file3":"1398512588"},"map_files_photo_id_array":[{"photo_id":"1398512593","filename":"file5"},{"photo_id":"1398512584","filename":"file2"},{"photo_id":"1398512590","filename":"file4"},{"photo_id":"1398512577","filename":"file1"},{"photo_id":"1398512572","filename":"file0"},{"photo_id":"1398512588","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398512593":["hashtag1","hashtag2"]},{"1398512590":["hashtag1","hashtag2"]},{"1398512584":["hashtag1","hashtag2"]},{"1398512572":["hashtag1","hashtag2"]},{"1398512577":["hashtag1","hashtag2"]},{"1398512588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398512593, 1398512590, 1398512584, 1398512572, 1398512577, 1398512588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4060001373291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:20:32.149341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_35_9770.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_45_9705.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_55_10666.jpg', '/home/pi/Desktop/images/08122025/12/47/image_08122025_12_48_05_9709.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_15_9693.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_25_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_35_9770.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_45_9705.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_47_55_10666.jpg
/home/pi/Desktop/images/08122025/12/47/image_08122025_12_48_05_9709.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_15_9693.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_25_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512615","1398512600","1398512618","1398512603","1398512626","1398512622"],"photo_ids_order":["1398512600","1398512603","1398512615","1398512618","1398512622","1398512626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2abff1429d2dff59d80f03aa23196ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6374170383396311492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_47_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/656b7ee589d07f32cacdd49c07d7233a.jpg","text":"TemporaryFile(/tmp/multipartBody6552261732556918750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_47_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be7698488e9793063be9a8bc714bf931.jpg","text":"TemporaryFile(/tmp/multipartBody161208669963387754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_48_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23567e1d6085a190ec9a6461922fc199.jpg","text":"TemporaryFile(/tmp/multipartBody3521924150348641492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_47_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73f0802f09070eded437b61b8472f2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5726974291519105460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_48_25_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ea48f2d3f2031d0ba9913d98df7e520.jpg","text":"TemporaryFile(/tmp/multipartBody1692802111044909777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293694116,"filename":"image_08122025_12_48_15_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512615","file1":"1398512603","file0":"1398512600","file4":"1398512622","file5":"1398512626","file3":"1398512618"},"map_files_photo_id_array":[{"photo_id":"1398512626","filename":"file5"},{"photo_id":"1398512615","filename":"file2"},{"photo_id":"1398512622","filename":"file4"},{"photo_id":"1398512603","filename":"file1"},{"photo_id":"1398512600","filename":"file0"},{"photo_id":"1398512618","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398512615":["hashtag1","hashtag2"]},{"1398512600":["hashtag1","hashtag2"]},{"1398512618":["hashtag1","hashtag2"]},{"1398512603":["hashtag1","hashtag2"]},{"1398512626":["hashtag1","hashtag2"]},{"1398512622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398512615, 1398512600, 1398512618, 1398512603, 1398512626, 1398512622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23216128349304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 16:21:22.436294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_44_10501.jpg', '/home/pi/Desktop/images/09122025/07/37/image_09122025_07_38_04_10660.jpg', '/home/pi/Desktop/images/09122025/07/38/image_09122025_07_38_24_9620.jpg', '/home/pi/Desktop/images/09122025/07/38/image_09122025_07_38_44_10732.jpg', '/home/pi/Desktop/images/09122025/07/39/image_09122025_07_39_14_10602.jpg', '/home/pi/Desktop/images/09122025/07/39/image_09122025_07_40_04_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/37/image_09122025_07_37_44_10501.jpg
/home/pi/Desktop/images/09122025/07/37/image_09122025_07_38_04_10660.jpg
/home/pi/Desktop/images/09122025/07/38/image_09122025_07_38_24_9620.jpg
/home/pi/Desktop/images/09122025/07/38/image_09122025_07_38_44_10732.jpg
/home/pi/Desktop/images/09122025/07/39/image_09122025_07_39_14_10602.jpg
/home/pi/Desktop/images/09122025/07/39/image_09122025_07_40_04_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512656","1398512644","1398512652","1398512640","1398512639","1398512648"],"photo_ids_order":["1398512639","1398512640","1398512644","1398512648","1398512652","1398512656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/10e56155ee53b8fb8f4ead30c9e0d43e.jpg","text":"TemporaryFile(/tmp/multipartBody3950538674035925738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_40_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fff5f64da0f7474431ef99fdbb8819f.jpg","text":"TemporaryFile(/tmp/multipartBody6406224750696413065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_38_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5a27b242a1b864c13063a52a2eadc4a.jpg","text":"TemporaryFile(/tmp/multipartBody17160752058760841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_39_14_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a12a4b6759d6f8370be9727d81bc762.jpg","text":"TemporaryFile(/tmp/multipartBody5602398823146605091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_38_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd2ce184454ddaeaae26add7d3aedabd.jpg","text":"TemporaryFile(/tmp/multipartBody7725039302239188387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_37_44_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb97908dd13fdee1012993f7e4a9a653.jpg","text":"TemporaryFile(/tmp/multipartBody369115411147195921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293743221,"filename":"image_09122025_07_38_44_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512644","file1":"1398512640","file0":"1398512639","file4":"1398512652","file5":"1398512656","file3":"1398512648"},"map_files_photo_id_array":[{"photo_id":"1398512656","filename":"file5"},{"photo_id":"1398512644","filename":"file2"},{"photo_id":"1398512652","filename":"file4"},{"photo_id":"1398512640","filename":"file1"},{"photo_id":"1398512639","filename":"file0"},{"photo_id":"1398512648","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512656":["hashtag1","hashtag2"]},{"1398512644":["hashtag1","hashtag2"]},{"1398512652":["hashtag1","hashtag2"]},{"1398512640":["hashtag1","hashtag2"]},{"1398512639":["hashtag1","hashtag2"]},{"1398512648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512656, 1398512644, 1398512652, 1398512640, 1398512639, 1398512648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98157358169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:22:12.832079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_35_9644.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_45_9761.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_55_10567.jpg', '/home/pi/Desktop/images/08122025/12/48/image_08122025_12_49_05_9651.jpg', '/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_15_9714.jpg', '/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_26_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_35_9644.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_45_9761.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_48_55_10567.jpg
/home/pi/Desktop/images/08122025/12/48/image_08122025_12_49_05_9651.jpg
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_15_9714.jpg
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_26_10805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512687","1398512681","1398512675","1398512690","1398512678","1398512672"],"photo_ids_order":["1398512672","1398512675","1398512678","1398512681","1398512687","1398512690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56630a08459479ab4fa5258d01c3a6af.jpg","text":"TemporaryFile(/tmp/multipartBody1284722489202871399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_49_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04ea4ea42c03cddfea7cc82de6c238e1.jpg","text":"TemporaryFile(/tmp/multipartBody2782267032377109084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_49_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55d4f3a08aa32cf0db4691511039f513.jpg","text":"TemporaryFile(/tmp/multipartBody1529395382053954761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_48_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f072a4411b7e87865eed30bb6b33446.jpg","text":"TemporaryFile(/tmp/multipartBody7538811861710957011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_49_26_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3cf892cbcdc5a6cc18e2c4c65f86ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody3505186208785089316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_48_55_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f7ae3f789f0250b831cb0f43ffa61c3.jpg","text":"TemporaryFile(/tmp/multipartBody3118960655810044863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293794900,"filename":"image_08122025_12_48_35_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512678","file1":"1398512675","file0":"1398512672","file4":"1398512687","file5":"1398512690","file3":"1398512681"},"map_files_photo_id_array":[{"photo_id":"1398512690","filename":"file5"},{"photo_id":"1398512678","filename":"file2"},{"photo_id":"1398512687","filename":"file4"},{"photo_id":"1398512675","filename":"file1"},{"photo_id":"1398512672","filename":"file0"},{"photo_id":"1398512681","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398512687":["hashtag1","hashtag2"]},{"1398512681":["hashtag1","hashtag2"]},{"1398512675":["hashtag1","hashtag2"]},{"1398512690":["hashtag1","hashtag2"]},{"1398512678":["hashtag1","hashtag2"]},{"1398512672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398512687, 1398512681, 1398512675, 1398512690, 1398512678, 1398512672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42472052574158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:23:02.667061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/40/image_09122025_07_40_14_10631.jpg', '/home/pi/Desktop/images/09122025/07/40/image_09122025_07_40_54_9605.jpg', '/home/pi/Desktop/images/09122025/07/41/image_09122025_07_41_24_9699.jpg', '/home/pi/Desktop/images/09122025/07/41/image_09122025_07_41_44_9615.jpg', '/home/pi/Desktop/images/09122025/07/41/image_09122025_07_42_04_9644.jpg', '/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_14_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/40/image_09122025_07_40_14_10631.jpg
/home/pi/Desktop/images/09122025/07/40/image_09122025_07_40_54_9605.jpg
/home/pi/Desktop/images/09122025/07/41/image_09122025_07_41_24_9699.jpg
/home/pi/Desktop/images/09122025/07/41/image_09122025_07_41_44_9615.jpg
/home/pi/Desktop/images/09122025/07/41/image_09122025_07_42_04_9644.jpg
/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_14_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512714","1398512717","1398512719","1398512721","1398512703","1398512711"],"photo_ids_order":["1398512703","1398512711","1398512714","1398512717","1398512719","1398512721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50235499c6dd3defc46bd1beac30e879.jpg","text":"TemporaryFile(/tmp/multipartBody1089695181841610459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_41_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a412d92e548d5429f131b3224c25a91c.jpg","text":"TemporaryFile(/tmp/multipartBody1857476675619392010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_41_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/958d529b32555a06cb75f99812e77690.jpg","text":"TemporaryFile(/tmp/multipartBody6501886724039649426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_42_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23c98b14b499344dca215d311cacdba4.jpg","text":"TemporaryFile(/tmp/multipartBody7491825470206006169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_42_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f60b8d06f1f20ef839991b7d983916b3.jpg","text":"TemporaryFile(/tmp/multipartBody2059294350455108275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_40_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f50937b336e1416567190499d3dc0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8038982116589255440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293843676,"filename":"image_09122025_07_40_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512714","file1":"1398512711","file0":"1398512703","file4":"1398512719","file5":"1398512721","file3":"1398512717"},"map_files_photo_id_array":[{"photo_id":"1398512721","filename":"file5"},{"photo_id":"1398512714","filename":"file2"},{"photo_id":"1398512719","filename":"file4"},{"photo_id":"1398512711","filename":"file1"},{"photo_id":"1398512703","filename":"file0"},{"photo_id":"1398512717","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512714":["hashtag1","hashtag2"]},{"1398512717":["hashtag1","hashtag2"]},{"1398512719":["hashtag1","hashtag2"]},{"1398512721":["hashtag1","hashtag2"]},{"1398512703":["hashtag1","hashtag2"]},{"1398512711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512714, 1398512717, 1398512719, 1398512721, 1398512703, 1398512711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73788905143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:24:02.846858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_34_9794.jpg', '/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_44_9597.jpg', '/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_54_9845.jpg', '/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_24_9729.jpg', '/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_44_9626.jpg', '/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_34_9794.jpg
/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_44_9597.jpg
/home/pi/Desktop/images/09122025/07/42/image_09122025_07_42_54_9845.jpg
/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_24_9729.jpg
/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_44_9626.jpg
/home/pi/Desktop/images/09122025/07/43/image_09122025_07_43_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512755","1398512758","1398512751","1398512748","1398512744","1398512747"],"photo_ids_order":["1398512744","1398512747","1398512748","1398512751","1398512755","1398512758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f74a7724c5b1ef6273148d1622bda6f.jpg","text":"TemporaryFile(/tmp/multipartBody8196428533847198534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_43_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e188f2b7488cbe5e1ae2ddb6f6065ce.jpg","text":"TemporaryFile(/tmp/multipartBody5389656629791652366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_43_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6c6265bd383437dbe2204a67e2eeafb.jpg","text":"TemporaryFile(/tmp/multipartBody6388268335709367368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_43_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d549b52da4ae3e49be789bb804ad3b6.jpg","text":"TemporaryFile(/tmp/multipartBody5068816475773734316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_42_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9267c0f880da43db95f556943c1c9d04.jpg","text":"TemporaryFile(/tmp/multipartBody5313634516547765358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_42_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/732f26ae97d24a98d1583978499a5f0f.jpg","text":"TemporaryFile(/tmp/multipartBody3214726263000128941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293903695,"filename":"image_09122025_07_42_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512748","file1":"1398512747","file0":"1398512744","file4":"1398512755","file5":"1398512758","file3":"1398512751"},"map_files_photo_id_array":[{"photo_id":"1398512758","filename":"file5"},{"photo_id":"1398512748","filename":"file2"},{"photo_id":"1398512755","filename":"file4"},{"photo_id":"1398512747","filename":"file1"},{"photo_id":"1398512744","filename":"file0"},{"photo_id":"1398512751","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512755":["hashtag1","hashtag2"]},{"1398512758":["hashtag1","hashtag2"]},{"1398512751":["hashtag1","hashtag2"]},{"1398512748":["hashtag1","hashtag2"]},{"1398512744":["hashtag1","hashtag2"]},{"1398512747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512755, 1398512758, 1398512751, 1398512748, 1398512744, 1398512747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7636342048645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:25:03.045146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_14_10798.jpg', '/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_24_9866.jpg', '/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_44_9794.jpg', '/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_54_10565.jpg', '/home/pi/Desktop/images/09122025/07/48/image_09122025_07_48_24_9621.jpg', '/home/pi/Desktop/images/09122025/07/48/image_09122025_07_48_54_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_14_10798.jpg
/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_24_9866.jpg
/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_44_9794.jpg
/home/pi/Desktop/images/09122025/07/45/image_09122025_07_45_54_10565.jpg
/home/pi/Desktop/images/09122025/07/48/image_09122025_07_48_24_9621.jpg
/home/pi/Desktop/images/09122025/07/48/image_09122025_07_48_54_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512791","1398512785","1398512796","1398512778","1398512795","1398512789"],"photo_ids_order":["1398512778","1398512785","1398512789","1398512791","1398512795","1398512796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e399f53d7d44826c7900c0031250858d.jpg","text":"TemporaryFile(/tmp/multipartBody2281235447055004135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_45_54_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bda4e85207a6c8568f858560c706b1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2763722893562411622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_45_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b597e027b1b10d4a8aad8dd15bf6b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody7816479573864924078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_48_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/099a3fa1cc7b57459810fc1228fa6b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3264377728906473348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_45_14_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/376a4c476b44673225cbbdc9cb1649ee.jpg","text":"TemporaryFile(/tmp/multipartBody2089850651916955903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_48_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bac74592f96ddd15880b8f3d75e39f6.jpg","text":"TemporaryFile(/tmp/multipartBody1719869105731335736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765293963884,"filename":"image_09122025_07_45_44_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512789","file1":"1398512785","file0":"1398512778","file4":"1398512795","file5":"1398512796","file3":"1398512791"},"map_files_photo_id_array":[{"photo_id":"1398512796","filename":"file5"},{"photo_id":"1398512789","filename":"file2"},{"photo_id":"1398512795","filename":"file4"},{"photo_id":"1398512785","filename":"file1"},{"photo_id":"1398512778","filename":"file0"},{"photo_id":"1398512791","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512791":["hashtag1","hashtag2"]},{"1398512785":["hashtag1","hashtag2"]},{"1398512796":["hashtag1","hashtag2"]},{"1398512778":["hashtag1","hashtag2"]},{"1398512795":["hashtag1","hashtag2"]},{"1398512789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512791, 1398512785, 1398512796, 1398512778, 1398512795, 1398512789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.734447717666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:26:03.085103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/48/image_09122025_07_49_04_9715.jpg', '/home/pi/Desktop/images/09122025/07/49/image_09122025_07_49_14_10592.jpg', '/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_24_10694.jpg', '/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_34_9604.jpg', '/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_44_9705.jpg', '/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_24_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/48/image_09122025_07_49_04_9715.jpg
/home/pi/Desktop/images/09122025/07/49/image_09122025_07_49_14_10592.jpg
/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_24_10694.jpg
/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_34_9604.jpg
/home/pi/Desktop/images/09122025/07/50/image_09122025_07_50_44_9705.jpg
/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_24_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512813","1398512821","1398512815","1398512817","1398512811","1398512825"],"photo_ids_order":["1398512811","1398512813","1398512815","1398512817","1398512821","1398512825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d879a0d7f52c311dd89ba96e5d58d258.jpg","text":"TemporaryFile(/tmp/multipartBody850527558072802801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_49_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1bbda943fba6fdea10796eb189623f73.jpg","text":"TemporaryFile(/tmp/multipartBody1922649629209802498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_50_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aae5c62b34900ca9425894a3050646b2.jpg","text":"TemporaryFile(/tmp/multipartBody5692511414552000192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_50_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/721e503399e8fc60d5beaa5bb539fd41.jpg","text":"TemporaryFile(/tmp/multipartBody3912191581667638816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_50_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0aa1608c25e8e3f85c0659f74aca2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8641654050002785586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_49_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2d6d36034cdcc37e8a16c7f53cc1519.jpg","text":"TemporaryFile(/tmp/multipartBody6955021690061274160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294023948,"filename":"image_09122025_07_51_24_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512815","file1":"1398512813","file0":"1398512811","file4":"1398512821","file5":"1398512825","file3":"1398512817"},"map_files_photo_id_array":[{"photo_id":"1398512825","filename":"file5"},{"photo_id":"1398512815","filename":"file2"},{"photo_id":"1398512821","filename":"file4"},{"photo_id":"1398512813","filename":"file1"},{"photo_id":"1398512811","filename":"file0"},{"photo_id":"1398512817","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512813":["hashtag1","hashtag2"]},{"1398512821":["hashtag1","hashtag2"]},{"1398512815":["hashtag1","hashtag2"]},{"1398512817":["hashtag1","hashtag2"]},{"1398512811":["hashtag1","hashtag2"]},{"1398512825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512813, 1398512821, 1398512815, 1398512817, 1398512811, 1398512825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.689260959625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:27:02.636558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_34_9656.jpg', '/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_53_9665.jpg', '/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_24_9680.jpg', '/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_34_10637.jpg', '/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_44_9805.jpg', '/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_34_9656.jpg
/home/pi/Desktop/images/09122025/07/51/image_09122025_07_51_53_9665.jpg
/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_24_9680.jpg
/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_34_10637.jpg
/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_44_9805.jpg
/home/pi/Desktop/images/09122025/07/52/image_09122025_07_52_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512866","1398512860","1398512854","1398512863","1398512856","1398512858"],"photo_ids_order":["1398512854","1398512856","1398512858","1398512860","1398512863","1398512866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85c453a9ec0445494c688a01597b1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8052691350432317892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_52_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d799a611091af0f2266ecd299a1d99a2.jpg","text":"TemporaryFile(/tmp/multipartBody8033652524729954854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_52_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3e17b89ef2071de807f4935e5b964c9.jpg","text":"TemporaryFile(/tmp/multipartBody3543331082918924132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_51_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8dd13b21b665d4cdd26d4f528febf48.jpg","text":"TemporaryFile(/tmp/multipartBody7847869182589773811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_52_44_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68700e65d123931cbe896b2e3c1405c6.jpg","text":"TemporaryFile(/tmp/multipartBody4087931936455009587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_51_53_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d19adafd6fe5bc636fb021a5b8bf5b9.jpg","text":"TemporaryFile(/tmp/multipartBody4214245862026559942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294083524,"filename":"image_09122025_07_52_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512858","file1":"1398512856","file0":"1398512854","file4":"1398512863","file5":"1398512866","file3":"1398512860"},"map_files_photo_id_array":[{"photo_id":"1398512866","filename":"file5"},{"photo_id":"1398512858","filename":"file2"},{"photo_id":"1398512863","filename":"file4"},{"photo_id":"1398512856","filename":"file1"},{"photo_id":"1398512854","filename":"file0"},{"photo_id":"1398512860","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512866":["hashtag1","hashtag2"]},{"1398512860":["hashtag1","hashtag2"]},{"1398512854":["hashtag1","hashtag2"]},{"1398512863":["hashtag1","hashtag2"]},{"1398512856":["hashtag1","hashtag2"]},{"1398512858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512866, 1398512860, 1398512854, 1398512863, 1398512856, 1398512858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67179989814758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:28:02.597473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/52/image_09122025_07_53_04_9804.jpg', '/home/pi/Desktop/images/09122025/07/53/image_09122025_07_53_14_9935.jpg', '/home/pi/Desktop/images/09122025/07/53/image_09122025_07_53_44_9773.jpg', '/home/pi/Desktop/images/09122025/07/53/image_09122025_07_54_04_10601.jpg', '/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_14_9679.jpg', '/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_44_10127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/52/image_09122025_07_53_04_9804.jpg
/home/pi/Desktop/images/09122025/07/53/image_09122025_07_53_14_9935.jpg
/home/pi/Desktop/images/09122025/07/53/image_09122025_07_53_44_9773.jpg
/home/pi/Desktop/images/09122025/07/53/image_09122025_07_54_04_10601.jpg
/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_14_9679.jpg
/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_44_10127.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512881","1398512883","1398512886","1398512891","1398512885","1398512888"],"photo_ids_order":["1398512881","1398512883","1398512885","1398512886","1398512888","1398512891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/331ffe287b66ffa783c6d0ac530ccf4d.jpg","text":"TemporaryFile(/tmp/multipartBody4073835546846424379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_53_04_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a198f79a8ec8184ce733da9527cb6a82.jpg","text":"TemporaryFile(/tmp/multipartBody5955405287145533361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_53_14_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/369bd865828622b633db87f2b1fde5e7.jpg","text":"TemporaryFile(/tmp/multipartBody7688238450115675750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_54_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fbf90ae13acfb19b0ac32fcb9795e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6481468474566443505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_54_44_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ebb63ffe98c99fed6a46c11367fb694.jpg","text":"TemporaryFile(/tmp/multipartBody3097896648727939444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_53_44_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4290cc3296cb1ddfbc1a4681f97d89a.jpg","text":"TemporaryFile(/tmp/multipartBody9118980214666725861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294143602,"filename":"image_09122025_07_54_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512885","file1":"1398512883","file0":"1398512881","file4":"1398512888","file5":"1398512891","file3":"1398512886"},"map_files_photo_id_array":[{"photo_id":"1398512891","filename":"file5"},{"photo_id":"1398512885","filename":"file2"},{"photo_id":"1398512888","filename":"file4"},{"photo_id":"1398512883","filename":"file1"},{"photo_id":"1398512881","filename":"file0"},{"photo_id":"1398512886","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512881":["hashtag1","hashtag2"]},{"1398512883":["hashtag1","hashtag2"]},{"1398512886":["hashtag1","hashtag2"]},{"1398512891":["hashtag1","hashtag2"]},{"1398512885":["hashtag1","hashtag2"]},{"1398512888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512881, 1398512883, 1398512886, 1398512891, 1398512885, 1398512888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84026765823364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:29:03.375920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_54_9537.jpg', '/home/pi/Desktop/images/09122025/07/54/image_09122025_07_55_04_10643.jpg', '/home/pi/Desktop/images/09122025/07/55/image_09122025_07_55_14_9781.jpg', '/home/pi/Desktop/images/09122025/07/57/image_09122025_07_57_01_16603.jpg', '/home/pi/Desktop/images/09122025/07/57/image_09122025_07_57_24_9645.jpg', '/home/pi/Desktop/images/09122025/07/58/image_09122025_07_58_44_8575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/54/image_09122025_07_54_54_9537.jpg
/home/pi/Desktop/images/09122025/07/54/image_09122025_07_55_04_10643.jpg
/home/pi/Desktop/images/09122025/07/55/image_09122025_07_55_14_9781.jpg
/home/pi/Desktop/images/09122025/07/57/image_09122025_07_57_01_16603.jpg
/home/pi/Desktop/images/09122025/07/57/image_09122025_07_57_24_9645.jpg
/home/pi/Desktop/images/09122025/07/58/image_09122025_07_58_44_8575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512912","1398512914","1398512917","1398512919","1398512921","1398512924"],"photo_ids_order":["1398512912","1398512914","1398512917","1398512919","1398512921","1398512924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bf3dc32450f5a84ea15912ceefad728.jpg","text":"TemporaryFile(/tmp/multipartBody2449615965700530948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_54_54_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e8e64fe7bb6484ad1959a27f9834bca.jpg","text":"TemporaryFile(/tmp/multipartBody3069653747835048099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_55_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/754e665bdb67c9cd230b05753373e473.jpg","text":"TemporaryFile(/tmp/multipartBody52027867388227497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_55_14_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34daaffc8fd2f3733c094c9a2572c8ba.jpg","text":"TemporaryFile(/tmp/multipartBody6390926480172794210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_57_01_16603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a16cf947b7d1f1aed1e563654af20810.jpg","text":"TemporaryFile(/tmp/multipartBody262481930535766763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_57_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d13dda5fbfab8e9e58d94cbabfa98b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8237837003864207073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294204249,"filename":"image_09122025_07_58_44_8575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512917","file1":"1398512914","file0":"1398512912","file4":"1398512921","file5":"1398512924","file3":"1398512919"},"map_files_photo_id_array":[{"photo_id":"1398512924","filename":"file5"},{"photo_id":"1398512917","filename":"file2"},{"photo_id":"1398512921","filename":"file4"},{"photo_id":"1398512914","filename":"file1"},{"photo_id":"1398512912","filename":"file0"},{"photo_id":"1398512919","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512912":["hashtag1","hashtag2"]},{"1398512914":["hashtag1","hashtag2"]},{"1398512917":["hashtag1","hashtag2"]},{"1398512919":["hashtag1","hashtag2"]},{"1398512921":["hashtag1","hashtag2"]},{"1398512924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512912, 1398512914, 1398512917, 1398512919, 1398512921, 1398512924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65678334236145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:30:03.044715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/07/58/image_09122025_07_59_04_10734.jpg', '/home/pi/Desktop/images/09122025/07/59/image_09122025_07_59_14_10190.jpg', '/home/pi/Desktop/images/09122025/07/59/image_09122025_07_59_54_9630.jpg', '/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_14_10050.jpg', '/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_25_10719.jpg', '/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_34_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/07/58/image_09122025_07_59_04_10734.jpg
/home/pi/Desktop/images/09122025/07/59/image_09122025_07_59_14_10190.jpg
/home/pi/Desktop/images/09122025/07/59/image_09122025_07_59_54_9630.jpg
/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_14_10050.jpg
/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_25_10719.jpg
/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_34_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512959","1398512958","1398512960","1398512954","1398512957","1398512951"],"photo_ids_order":["1398512951","1398512954","1398512957","1398512958","1398512959","1398512960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b94b7a10bb8b8c9507c1302020dc8a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7797842521133558994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_08_00_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee8f0fe1eaeefe1b6c28a7440a8c3f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2336688924643156608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_08_00_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33644e9d3fb9a50c54389f97b56611c6.jpg","text":"TemporaryFile(/tmp/multipartBody6230998209490461803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_08_00_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd60e43c6756c1af4fee290e103cf231.jpg","text":"TemporaryFile(/tmp/multipartBody6347368916415448907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_07_59_14_10190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21164524725ebec6b70573b8295e3669.jpg","text":"TemporaryFile(/tmp/multipartBody2427156932424107078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_07_59_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c110b8874afe6ee75942f5a20cc7a02.jpg","text":"TemporaryFile(/tmp/multipartBody1493631981315783460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294264033,"filename":"image_09122025_07_59_04_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512957","file1":"1398512954","file0":"1398512951","file4":"1398512959","file5":"1398512960","file3":"1398512958"},"map_files_photo_id_array":[{"photo_id":"1398512960","filename":"file5"},{"photo_id":"1398512957","filename":"file2"},{"photo_id":"1398512959","filename":"file4"},{"photo_id":"1398512954","filename":"file1"},{"photo_id":"1398512951","filename":"file0"},{"photo_id":"1398512958","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512959":["hashtag1","hashtag2"]},{"1398512958":["hashtag1","hashtag2"]},{"1398512960":["hashtag1","hashtag2"]},{"1398512954":["hashtag1","hashtag2"]},{"1398512957":["hashtag1","hashtag2"]},{"1398512951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512959, 1398512958, 1398512960, 1398512954, 1398512957, 1398512951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37639617919922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:31:03.536517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_55_10731.jpg', '/home/pi/Desktop/images/09122025/08/00/image_09122025_08_01_04_9626.jpg', '/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_25_10836.jpg', '/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_34_9617.jpg', '/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_44_9701.jpg', '/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_54_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/00/image_09122025_08_00_55_10731.jpg
/home/pi/Desktop/images/09122025/08/00/image_09122025_08_01_04_9626.jpg
/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_25_10836.jpg
/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_34_9617.jpg
/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_44_9701.jpg
/home/pi/Desktop/images/09122025/08/01/image_09122025_08_01_54_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398512998","1398512992","1398512991","1398512994","1398513000","1398512996"],"photo_ids_order":["1398512991","1398512992","1398512994","1398512996","1398512998","1398513000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54a00f8568986710c8dca2e5751451a6.jpg","text":"TemporaryFile(/tmp/multipartBody6645020901664536363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_01_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cdfd17043f9d858e0bf9f89f9d6bb2cb.jpg","text":"TemporaryFile(/tmp/multipartBody1350846370752771015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_01_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5138a8d271aab5543d7b254525fe45ee.jpg","text":"TemporaryFile(/tmp/multipartBody1240887373759793663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_00_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5c4ac6ecb0457715aaf7245e53783d6.jpg","text":"TemporaryFile(/tmp/multipartBody702909486579750227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_01_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89c6f429edcf598325dc678dea2e3f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7529735108341489417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_01_54_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da82d0425edd7418388a0eb9355cc67a.jpg","text":"TemporaryFile(/tmp/multipartBody253379520160035006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294324437,"filename":"image_09122025_08_01_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398512994","file1":"1398512992","file0":"1398512991","file4":"1398512998","file5":"1398513000","file3":"1398512996"},"map_files_photo_id_array":[{"photo_id":"1398513000","filename":"file5"},{"photo_id":"1398512994","filename":"file2"},{"photo_id":"1398512998","filename":"file4"},{"photo_id":"1398512992","filename":"file1"},{"photo_id":"1398512991","filename":"file0"},{"photo_id":"1398512996","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398512998":["hashtag1","hashtag2"]},{"1398512992":["hashtag1","hashtag2"]},{"1398512991":["hashtag1","hashtag2"]},{"1398512994":["hashtag1","hashtag2"]},{"1398513000":["hashtag1","hashtag2"]},{"1398512996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398512998, 1398512992, 1398512991, 1398512994, 1398513000, 1398512996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.446120738983154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:32:02.439723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/02/image_09122025_08_02_14_9688.jpg', '/home/pi/Desktop/images/09122025/08/02/image_09122025_08_02_24_9575.jpg', '/home/pi/Desktop/images/09122025/08/03/image_09122025_08_03_44_9585.jpg', '/home/pi/Desktop/images/09122025/08/03/image_09122025_08_03_54_9643.jpg', '/home/pi/Desktop/images/09122025/08/03/image_09122025_08_04_05_10616.jpg', '/home/pi/Desktop/images/09122025/08/04/image_09122025_08_04_35_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/02/image_09122025_08_02_14_9688.jpg
/home/pi/Desktop/images/09122025/08/02/image_09122025_08_02_24_9575.jpg
/home/pi/Desktop/images/09122025/08/03/image_09122025_08_03_44_9585.jpg
/home/pi/Desktop/images/09122025/08/03/image_09122025_08_03_54_9643.jpg
/home/pi/Desktop/images/09122025/08/03/image_09122025_08_04_05_10616.jpg
/home/pi/Desktop/images/09122025/08/04/image_09122025_08_04_35_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513034","1398513037","1398513036","1398513029","1398513032","1398513026"],"photo_ids_order":["1398513026","1398513029","1398513032","1398513034","1398513036","1398513037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/104372a58d0e4e02c566981191495492.jpg","text":"TemporaryFile(/tmp/multipartBody5053160005778122165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_03_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e01372dbb10a728e06076a001f4bd606.jpg","text":"TemporaryFile(/tmp/multipartBody8668066869609986580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_04_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7c026efad3c66904c29fa8e8a9931a3.jpg","text":"TemporaryFile(/tmp/multipartBody8450586355026488009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_04_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0ead4f8fe658ebacc82bd7f9f9fce52.jpg","text":"TemporaryFile(/tmp/multipartBody6122343872875641220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_02_24_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fc02d6ee66e84294a2d2b38c4748295.jpg","text":"TemporaryFile(/tmp/multipartBody2168604960783651678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_03_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ad01b20b59897fe04a9605722745098.jpg","text":"TemporaryFile(/tmp/multipartBody8766843151074533066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294383312,"filename":"image_09122025_08_02_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513032","file1":"1398513029","file0":"1398513026","file4":"1398513036","file5":"1398513037","file3":"1398513034"},"map_files_photo_id_array":[{"photo_id":"1398513037","filename":"file5"},{"photo_id":"1398513032","filename":"file2"},{"photo_id":"1398513036","filename":"file4"},{"photo_id":"1398513029","filename":"file1"},{"photo_id":"1398513026","filename":"file0"},{"photo_id":"1398513034","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513034":["hashtag1","hashtag2"]},{"1398513037":["hashtag1","hashtag2"]},{"1398513036":["hashtag1","hashtag2"]},{"1398513029":["hashtag1","hashtag2"]},{"1398513032":["hashtag1","hashtag2"]},{"1398513026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513034, 1398513037, 1398513036, 1398513029, 1398513032, 1398513026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86456918716431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:33:02.871126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/04/image_09122025_08_04_44_9649.jpg', '/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_24_9581.jpg', '/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_34_9693.jpg', '/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_54_9606.jpg', '/home/pi/Desktop/images/09122025/08/05/image_09122025_08_06_05_10653.jpg', '/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_24_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/04/image_09122025_08_04_44_9649.jpg
/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_24_9581.jpg
/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_34_9693.jpg
/home/pi/Desktop/images/09122025/08/05/image_09122025_08_05_54_9606.jpg
/home/pi/Desktop/images/09122025/08/05/image_09122025_08_06_05_10653.jpg
/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_24_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513067","1398513069","1398513063","1398513071","1398513065","1398513062"],"photo_ids_order":["1398513062","1398513063","1398513065","1398513067","1398513069","1398513071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/177ee6c9db83880fbe7235175e7d5aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3113065589178754042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_05_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/28cda948819e56b64ae2e9de0d0f89fe.jpg","text":"TemporaryFile(/tmp/multipartBody6364545806488973528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_06_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eddb6109c1f233c0706cb90a0b2690d1.jpg","text":"TemporaryFile(/tmp/multipartBody6399664385012482900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_05_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecc1cc121ca8d7bba63ce241de443485.jpg","text":"TemporaryFile(/tmp/multipartBody4504198650535956713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_06_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d534d4b5a012d89761d1c2005dbcead.jpg","text":"TemporaryFile(/tmp/multipartBody2564811583553973188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_05_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a0d2afd6fef167d346dfb105842a6c1.jpg","text":"TemporaryFile(/tmp/multipartBody4386745643216860748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294443704,"filename":"image_09122025_08_04_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513065","file1":"1398513063","file0":"1398513062","file4":"1398513069","file5":"1398513071","file3":"1398513067"},"map_files_photo_id_array":[{"photo_id":"1398513071","filename":"file5"},{"photo_id":"1398513065","filename":"file2"},{"photo_id":"1398513069","filename":"file4"},{"photo_id":"1398513063","filename":"file1"},{"photo_id":"1398513062","filename":"file0"},{"photo_id":"1398513067","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513067":["hashtag1","hashtag2"]},{"1398513069":["hashtag1","hashtag2"]},{"1398513063":["hashtag1","hashtag2"]},{"1398513071":["hashtag1","hashtag2"]},{"1398513065":["hashtag1","hashtag2"]},{"1398513062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513067, 1398513069, 1398513063, 1398513071, 1398513065, 1398513062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13741850852966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:34:03.034133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_34_9690.jpg', '/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_45_10538.jpg', '/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_54_9709.jpg', '/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_15_10705.jpg', '/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_25_9831.jpg', '/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_34_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_34_9690.jpg
/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_45_10538.jpg
/home/pi/Desktop/images/09122025/08/06/image_09122025_08_06_54_9709.jpg
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_15_10705.jpg
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_25_9831.jpg
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_34_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513100","1398513087","1398513090","1398513102","1398513094","1398513097"],"photo_ids_order":["1398513087","1398513090","1398513094","1398513097","1398513100","1398513102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb08e80cd170f1d124d9557a7492bee6.jpg","text":"TemporaryFile(/tmp/multipartBody8811848839382852892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_07_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1aae03b36756cb188f6ef345509df34c.jpg","text":"TemporaryFile(/tmp/multipartBody701177498652409388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_06_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f05108f22d9d0ed12f3a5d5e6b77930a.jpg","text":"TemporaryFile(/tmp/multipartBody2212011355990601076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_06_45_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e875835ca4cecf0d92690c6c6d326ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5783250057553190269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_07_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0da63fda7a845b849a0c2ada290b4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7170668167055124586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_06_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/592b3ed47f204b0dceaee1b735188f47.jpg","text":"TemporaryFile(/tmp/multipartBody864839433705720720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294503839,"filename":"image_09122025_08_07_15_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513094","file1":"1398513090","file0":"1398513087","file4":"1398513100","file5":"1398513102","file3":"1398513097"},"map_files_photo_id_array":[{"photo_id":"1398513102","filename":"file5"},{"photo_id":"1398513094","filename":"file2"},{"photo_id":"1398513100","filename":"file4"},{"photo_id":"1398513090","filename":"file1"},{"photo_id":"1398513087","filename":"file0"},{"photo_id":"1398513097","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513100":["hashtag1","hashtag2"]},{"1398513087":["hashtag1","hashtag2"]},{"1398513090":["hashtag1","hashtag2"]},{"1398513102":["hashtag1","hashtag2"]},{"1398513094":["hashtag1","hashtag2"]},{"1398513097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513100, 1398513087, 1398513090, 1398513102, 1398513094, 1398513097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45435428619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:35:03.405704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_45_10717.jpg', '/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_54_9564.jpg', '/home/pi/Desktop/images/09122025/08/07/image_09122025_08_08_04_9682.jpg', '/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_15_10715.jpg', '/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_25_9759.jpg', '/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_45_10717.jpg
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_07_54_9564.jpg
/home/pi/Desktop/images/09122025/08/07/image_09122025_08_08_04_9682.jpg
/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_15_10715.jpg
/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_25_9759.jpg
/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_34_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513135","1398513144","1398513129","1398513140","1398513137","1398513122"],"photo_ids_order":["1398513122","1398513129","1398513135","1398513137","1398513140","1398513144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef36b8d1d598a8b9d1aeae248b19c51e.jpg","text":"TemporaryFile(/tmp/multipartBody4682375028841760229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_08_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35ff20824eb4588c190ec2e0b5341291.jpg","text":"TemporaryFile(/tmp/multipartBody5344948183780345918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_08_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3d4e2a6d3768509c2f5301b411ae907.jpg","text":"TemporaryFile(/tmp/multipartBody613033725391424013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_07_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6fdc5804576169f7b29f5711633621ad.jpg","text":"TemporaryFile(/tmp/multipartBody5441646119423291303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_08_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5538088ae39189beb47dc79c540ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody3846009090850539651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_08_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/681793558e8d613d6c4f360d8c974868.jpg","text":"TemporaryFile(/tmp/multipartBody4630189295130102451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294564326,"filename":"image_09122025_08_07_45_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513135","file1":"1398513129","file0":"1398513122","file4":"1398513140","file5":"1398513144","file3":"1398513137"},"map_files_photo_id_array":[{"photo_id":"1398513144","filename":"file5"},{"photo_id":"1398513135","filename":"file2"},{"photo_id":"1398513140","filename":"file4"},{"photo_id":"1398513129","filename":"file1"},{"photo_id":"1398513122","filename":"file0"},{"photo_id":"1398513137","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513135":["hashtag1","hashtag2"]},{"1398513144":["hashtag1","hashtag2"]},{"1398513129":["hashtag1","hashtag2"]},{"1398513140":["hashtag1","hashtag2"]},{"1398513137":["hashtag1","hashtag2"]},{"1398513122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513135, 1398513144, 1398513129, 1398513140, 1398513137, 1398513122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65113568305969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:36:02.473616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 16:36:21.830554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:36:31.846842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:37:14.259886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:37:43.635272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_35_9647.jpg', '/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_45_9688.jpg', '/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_56_10674.jpg', '/home/pi/Desktop/images/08122025/12/49/image_08122025_12_50_05_9655.jpg', '/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_15_9630.jpg', '/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_25_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_35_9647.jpg
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_45_9688.jpg
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_49_56_10674.jpg
/home/pi/Desktop/images/08122025/12/49/image_08122025_12_50_05_9655.jpg
/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_15_9630.jpg
/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_25_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513211","1398513217","1398513205","1398513222","1398513225","1398513209"],"photo_ids_order":["1398513205","1398513209","1398513211","1398513217","1398513222","1398513225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38466be40ff2502cdf5317a0ab9f97c4.jpg","text":"TemporaryFile(/tmp/multipartBody7281644759130401301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_49_56_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0e447412c8d5f6902b6968dcd5b2bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4590813727675075083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_50_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4a0af264fb88cdb08c3d782493ba9b4.jpg","text":"TemporaryFile(/tmp/multipartBody989116078273864554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_49_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa9d7cdf70959ecd347a63bfe5101c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3032777259887554709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_50_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64fea3dcd76a36d1e2160168201d9879.jpg","text":"TemporaryFile(/tmp/multipartBody3344147610427469458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_50_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71c3e55329f68dcd6b3b0ee58c64aa40.jpg","text":"TemporaryFile(/tmp/multipartBody2888168588745909195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294725686,"filename":"image_08122025_12_49_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513211","file1":"1398513209","file0":"1398513205","file4":"1398513222","file5":"1398513225","file3":"1398513217"},"map_files_photo_id_array":[{"photo_id":"1398513225","filename":"file5"},{"photo_id":"1398513211","filename":"file2"},{"photo_id":"1398513222","filename":"file4"},{"photo_id":"1398513209","filename":"file1"},{"photo_id":"1398513205","filename":"file0"},{"photo_id":"1398513217","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398513211":["hashtag1","hashtag2"]},{"1398513217":["hashtag1","hashtag2"]},{"1398513205":["hashtag1","hashtag2"]},{"1398513222":["hashtag1","hashtag2"]},{"1398513225":["hashtag1","hashtag2"]},{"1398513209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398513211, 1398513217, 1398513205, 1398513222, 1398513225, 1398513209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2064893245697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:38:32.762871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_45_9603.jpg', '/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_55_10633.jpg', '/home/pi/Desktop/images/08122025/12/50/image_08122025_12_51_05_9683.jpg', '/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_15_9797.jpg', '/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_26_10735.jpg', '/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_35_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_45_9603.jpg
/home/pi/Desktop/images/08122025/12/50/image_08122025_12_50_55_10633.jpg
/home/pi/Desktop/images/08122025/12/50/image_08122025_12_51_05_9683.jpg
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_15_9797.jpg
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_26_10735.jpg
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_35_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513238","1398513252","1398513245","1398513248","1398513242","1398513236"],"photo_ids_order":["1398513236","1398513238","1398513242","1398513245","1398513248","1398513252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fe6a55910111b2c78d8b3a832ff765c.jpg","text":"TemporaryFile(/tmp/multipartBody4721079704600277023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_50_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/143afe2cac79039629167f1938e8985e.jpg","text":"TemporaryFile(/tmp/multipartBody8447592316661719501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_51_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a6ac1baab234e461bf17d7ed524dccf.jpg","text":"TemporaryFile(/tmp/multipartBody7320640327755087975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_51_15_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e508ceae315dca811c4a0b6c3b84be5.jpg","text":"TemporaryFile(/tmp/multipartBody3723242544535321976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_51_26_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b8ba400b59d34723ffc739382ec7682.jpg","text":"TemporaryFile(/tmp/multipartBody2385026289036872522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_51_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87be9b1716c1e1c6c2ef0b832be1e180.jpg","text":"TemporaryFile(/tmp/multipartBody6191146312902032394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294775002,"filename":"image_08122025_12_50_45_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513242","file1":"1398513238","file0":"1398513236","file4":"1398513248","file5":"1398513252","file3":"1398513245"},"map_files_photo_id_array":[{"photo_id":"1398513252","filename":"file5"},{"photo_id":"1398513242","filename":"file2"},{"photo_id":"1398513248","filename":"file4"},{"photo_id":"1398513238","filename":"file1"},{"photo_id":"1398513236","filename":"file0"},{"photo_id":"1398513245","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398513238":["hashtag1","hashtag2"]},{"1398513252":["hashtag1","hashtag2"]},{"1398513245":["hashtag1","hashtag2"]},{"1398513248":["hashtag1","hashtag2"]},{"1398513242":["hashtag1","hashtag2"]},{"1398513236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398513238, 1398513252, 1398513245, 1398513248, 1398513242, 1398513236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67550301551819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 16:39:21.942693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_45_10641.jpg', '/home/pi/Desktop/images/09122025/08/08/image_09122025_08_09_04_9760.jpg', '/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_14_9705.jpg', '/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_24_10530.jpg', '/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_34_9769.jpg', '/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_44_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/08/image_09122025_08_08_45_10641.jpg
/home/pi/Desktop/images/09122025/08/08/image_09122025_08_09_04_9760.jpg
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_14_9705.jpg
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_24_10530.jpg
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_34_9769.jpg
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_44_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513291","1398513279","1398513288","1398513281","1398513284","1398513293"],"photo_ids_order":["1398513279","1398513281","1398513284","1398513288","1398513291","1398513293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6f8f5b2ff58477b61a12f9b661eb28d.jpg","text":"TemporaryFile(/tmp/multipartBody7183244077811742292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_09_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/915d5765800422461c27f8439506069f.jpg","text":"TemporaryFile(/tmp/multipartBody8914710383907433966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_08_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a334c66637a10bd692fcc138e0275fe.jpg","text":"TemporaryFile(/tmp/multipartBody7655747354307109028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_09_24_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c9dc8274e1780083072524300e220fa.jpg","text":"TemporaryFile(/tmp/multipartBody7906285686560711408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_09_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd7605f3e98020c830dab1d34290f92a.jpg","text":"TemporaryFile(/tmp/multipartBody6284925861037309194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_09_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b51312cb9d0b92cec408f364d3e69ff.jpg","text":"TemporaryFile(/tmp/multipartBody599619632721770367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294822744,"filename":"image_09122025_08_09_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513284","file1":"1398513281","file0":"1398513279","file4":"1398513291","file5":"1398513293","file3":"1398513288"},"map_files_photo_id_array":[{"photo_id":"1398513293","filename":"file5"},{"photo_id":"1398513284","filename":"file2"},{"photo_id":"1398513291","filename":"file4"},{"photo_id":"1398513281","filename":"file1"},{"photo_id":"1398513279","filename":"file0"},{"photo_id":"1398513288","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513291":["hashtag1","hashtag2"]},{"1398513279":["hashtag1","hashtag2"]},{"1398513288":["hashtag1","hashtag2"]},{"1398513281":["hashtag1","hashtag2"]},{"1398513284":["hashtag1","hashtag2"]},{"1398513293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513291, 1398513279, 1398513288, 1398513281, 1398513284, 1398513293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.187132358551025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:40:12.372741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_45_9450.jpg', '/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_55_10138.jpg', '/home/pi/Desktop/images/08122025/12/51/image_08122025_12_52_05_10174.jpg', '/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_15_9678.jpg', '/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_25_10664.jpg', '/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_35_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_45_9450.jpg
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_51_55_10138.jpg
/home/pi/Desktop/images/08122025/12/51/image_08122025_12_52_05_10174.jpg
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_15_9678.jpg
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_25_10664.jpg
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_35_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513310","1398513318","1398513306","1398513314","1398513317","1398513302"],"photo_ids_order":["1398513302","1398513306","1398513310","1398513314","1398513317","1398513318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/971815aaf268ccbec145555c937e73ff.jpg","text":"TemporaryFile(/tmp/multipartBody6995878131838003498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_52_05_10174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3816d2e8af168092b8751d0e0521b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3284969878795158343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_52_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/557d9269ff1d22991cc100731afbaf92.jpg","text":"TemporaryFile(/tmp/multipartBody374226099006242195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_51_55_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86469fd7f5645bf3c8f537535920bc5e.jpg","text":"TemporaryFile(/tmp/multipartBody3927550244444152595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_52_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e4678373c253cda0f6d8f12ec455dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2503518260354002355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_52_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae71937421a07eb197364e2427e4fbcb.jpg","text":"TemporaryFile(/tmp/multipartBody1290492344052520784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294874349,"filename":"image_08122025_12_51_45_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513310","file1":"1398513306","file0":"1398513302","file4":"1398513317","file5":"1398513318","file3":"1398513314"},"map_files_photo_id_array":[{"photo_id":"1398513318","filename":"file5"},{"photo_id":"1398513310","filename":"file2"},{"photo_id":"1398513317","filename":"file4"},{"photo_id":"1398513306","filename":"file1"},{"photo_id":"1398513302","filename":"file0"},{"photo_id":"1398513314","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398513310":["hashtag1","hashtag2"]},{"1398513318":["hashtag1","hashtag2"]},{"1398513306":["hashtag1","hashtag2"]},{"1398513314":["hashtag1","hashtag2"]},{"1398513317":["hashtag1","hashtag2"]},{"1398513302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398513310, 1398513318, 1398513306, 1398513314, 1398513317, 1398513302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78921413421631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:41:03.277486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_55_10564.jpg', '/home/pi/Desktop/images/09122025/08/09/image_09122025_08_10_04_9857.jpg', '/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_14_9859.jpg', '/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_24_9605.jpg', '/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_44_9695.jpg', '/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_54_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_09_55_10564.jpg
/home/pi/Desktop/images/09122025/08/09/image_09122025_08_10_04_9857.jpg
/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_14_9859.jpg
/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_24_9605.jpg
/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_44_9695.jpg
/home/pi/Desktop/images/09122025/08/10/image_09122025_08_10_54_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513340","1398513358","1398513351","1398513354","1398513348","1398513344"],"photo_ids_order":["1398513340","1398513344","1398513348","1398513351","1398513354","1398513358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15522ac6af4bd7c30148a822cdc770aa.jpg","text":"TemporaryFile(/tmp/multipartBody1960199507466739341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_09_55_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c80598b7c00b6a9c2becdcc41a7dd81.jpg","text":"TemporaryFile(/tmp/multipartBody8877981284132202311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_10_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50563f3d4224312cfd6057d2cff1dd42.jpg","text":"TemporaryFile(/tmp/multipartBody5933251513544890142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_10_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6c4bbe924cbaffdf4f20619ff459669.jpg","text":"TemporaryFile(/tmp/multipartBody9048096067734239341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_10_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33574cb6522c0e693e9b709590d1a414.jpg","text":"TemporaryFile(/tmp/multipartBody7685240219803933332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_10_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1c6cf60f26f2c0b92c3da0695b6d66c.jpg","text":"TemporaryFile(/tmp/multipartBody8586398898270010078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294924194,"filename":"image_09122025_08_10_04_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513348","file1":"1398513344","file0":"1398513340","file4":"1398513354","file5":"1398513358","file3":"1398513351"},"map_files_photo_id_array":[{"photo_id":"1398513358","filename":"file5"},{"photo_id":"1398513348","filename":"file2"},{"photo_id":"1398513354","filename":"file4"},{"photo_id":"1398513344","filename":"file1"},{"photo_id":"1398513340","filename":"file0"},{"photo_id":"1398513351","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513340":["hashtag1","hashtag2"]},{"1398513358":["hashtag1","hashtag2"]},{"1398513351":["hashtag1","hashtag2"]},{"1398513354":["hashtag1","hashtag2"]},{"1398513348":["hashtag1","hashtag2"]},{"1398513344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513340, 1398513358, 1398513351, 1398513354, 1398513348, 1398513344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26671361923218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:42:03.223249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/11/image_09122025_08_12_05_10723.jpg', '/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_15_9796.jpg', '/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_24_9841.jpg', '/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_54_9574.jpg', '/home/pi/Desktop/images/09122025/08/12/image_09122025_08_13_05_10629.jpg', '/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_14_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/11/image_09122025_08_12_05_10723.jpg
/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_15_9796.jpg
/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_24_9841.jpg
/home/pi/Desktop/images/09122025/08/12/image_09122025_08_12_54_9574.jpg
/home/pi/Desktop/images/09122025/08/12/image_09122025_08_13_05_10629.jpg
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_14_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513382","1398513378","1398513393","1398513398","1398513374","1398513388"],"photo_ids_order":["1398513374","1398513378","1398513382","1398513388","1398513393","1398513398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/084f3e047eb84477e8059ea63f10a07f.jpg","text":"TemporaryFile(/tmp/multipartBody8160942670401695642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_12_24_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/edfc40939b00e2fa1d23423b2eb2f04f.jpg","text":"TemporaryFile(/tmp/multipartBody5536021490469427583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_12_15_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26baa07cc426e280a57aa51d02c5e2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5199960475538355322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_13_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c94ebb82b0f309d76ad9e02db60f7b53.jpg","text":"TemporaryFile(/tmp/multipartBody6481490792511767787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_13_14_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/370b76a2715f609966a7d51addb214b3.jpg","text":"TemporaryFile(/tmp/multipartBody2171426061869894174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_12_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64b5e0041d1dea2e701ec49a2bdf5d26.jpg","text":"TemporaryFile(/tmp/multipartBody5092905830798667342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765294984110,"filename":"image_09122025_08_12_54_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513382","file1":"1398513378","file0":"1398513374","file4":"1398513393","file5":"1398513398","file3":"1398513388"},"map_files_photo_id_array":[{"photo_id":"1398513398","filename":"file5"},{"photo_id":"1398513382","filename":"file2"},{"photo_id":"1398513393","filename":"file4"},{"photo_id":"1398513378","filename":"file1"},{"photo_id":"1398513374","filename":"file0"},{"photo_id":"1398513388","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513382":["hashtag1","hashtag2"]},{"1398513378":["hashtag1","hashtag2"]},{"1398513393":["hashtag1","hashtag2"]},{"1398513398":["hashtag1","hashtag2"]},{"1398513374":["hashtag1","hashtag2"]},{"1398513388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513382, 1398513378, 1398513393, 1398513398, 1398513374, 1398513388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.409547328948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:43:02.697080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_24_9615.jpg', '/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_35_10590.jpg', '/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_44_9650.jpg', '/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_54_9596.jpg', '/home/pi/Desktop/images/09122025/08/13/image_09122025_08_14_05_10747.jpg', '/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_24_9615.jpg
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_35_10590.jpg
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_44_9650.jpg
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_13_54_9596.jpg
/home/pi/Desktop/images/09122025/08/13/image_09122025_08_14_05_10747.jpg
/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_14_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513421","1398513417","1398513408","1398513431","1398513425","1398513428"],"photo_ids_order":["1398513408","1398513417","1398513421","1398513425","1398513428","1398513431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a1ce6a6bbabe44e751a9b868c7d5597.jpg","text":"TemporaryFile(/tmp/multipartBody2229666882604282502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_13_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ee2667ee88b7d1d659be1bc913b4652.jpg","text":"TemporaryFile(/tmp/multipartBody3104031090594709391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_13_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/483b912917bbc9929a1ce6895d9b2a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3525813831482418568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_13_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c14c1ddce7a581d7d9f399cf7f994c7.jpg","text":"TemporaryFile(/tmp/multipartBody1208392225742043403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_14_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4cfc45fa8fae114d39d309d7270f3b0.jpg","text":"TemporaryFile(/tmp/multipartBody2134377448351417055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_13_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/daeae5b69025086ba7c755092aa983b7.jpg","text":"TemporaryFile(/tmp/multipartBody6400301677877205604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295043693,"filename":"image_09122025_08_14_05_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513421","file1":"1398513417","file0":"1398513408","file4":"1398513428","file5":"1398513431","file3":"1398513425"},"map_files_photo_id_array":[{"photo_id":"1398513431","filename":"file5"},{"photo_id":"1398513421","filename":"file2"},{"photo_id":"1398513428","filename":"file4"},{"photo_id":"1398513417","filename":"file1"},{"photo_id":"1398513408","filename":"file0"},{"photo_id":"1398513425","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513421":["hashtag1","hashtag2"]},{"1398513417":["hashtag1","hashtag2"]},{"1398513408":["hashtag1","hashtag2"]},{"1398513431":["hashtag1","hashtag2"]},{"1398513425":["hashtag1","hashtag2"]},{"1398513428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513421, 1398513417, 1398513408, 1398513431, 1398513425, 1398513428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2542667388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:44:02.877717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_25_10559.jpg', '/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_55_10714.jpg', '/home/pi/Desktop/images/09122025/08/14/image_09122025_08_15_04_9537.jpg', '/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_14_9786.jpg', '/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_25_10665.jpg', '/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_34_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_25_10559.jpg
/home/pi/Desktop/images/09122025/08/14/image_09122025_08_14_55_10714.jpg
/home/pi/Desktop/images/09122025/08/14/image_09122025_08_15_04_9537.jpg
/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_14_9786.jpg
/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_25_10665.jpg
/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_34_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513469","1398513462","1398513456","1398513452","1398513446","1398513449"],"photo_ids_order":["1398513446","1398513449","1398513452","1398513456","1398513462","1398513469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cee8dabbb39812f93d0ff64e973c824d.jpg","text":"TemporaryFile(/tmp/multipartBody1231710245942692383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_15_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fa772b9f380d58dc30d9ee675d56df1.jpg","text":"TemporaryFile(/tmp/multipartBody2773995818156185785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_15_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9fb247d5acf5fec10a0a44b80271631.jpg","text":"TemporaryFile(/tmp/multipartBody7899918764948580913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_15_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/797f487c2a6b5b87d4b09bcf1101992c.jpg","text":"TemporaryFile(/tmp/multipartBody2837024426884209488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_15_04_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d179266e7da2116436ea8bb9cba9b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody3254009535451658109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_14_25_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa59bc90a21b76711bdbc1ee5421dcf9.jpg","text":"TemporaryFile(/tmp/multipartBody5293973683669181791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295103752,"filename":"image_09122025_08_14_55_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513452","file1":"1398513449","file0":"1398513446","file4":"1398513462","file5":"1398513469","file3":"1398513456"},"map_files_photo_id_array":[{"photo_id":"1398513469","filename":"file5"},{"photo_id":"1398513452","filename":"file2"},{"photo_id":"1398513462","filename":"file4"},{"photo_id":"1398513449","filename":"file1"},{"photo_id":"1398513446","filename":"file0"},{"photo_id":"1398513456","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513469":["hashtag1","hashtag2"]},{"1398513462":["hashtag1","hashtag2"]},{"1398513456":["hashtag1","hashtag2"]},{"1398513452":["hashtag1","hashtag2"]},{"1398513446":["hashtag1","hashtag2"]},{"1398513449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513469, 1398513462, 1398513456, 1398513452, 1398513446, 1398513449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25829863548279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:45:03.318500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_55_10689.jpg', '/home/pi/Desktop/images/09122025/08/15/image_09122025_08_16_04_9642.jpg', '/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_14_9638.jpg', '/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_25_10604.jpg', '/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_34_9682.jpg', '/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_44_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/15/image_09122025_08_15_55_10689.jpg
/home/pi/Desktop/images/09122025/08/15/image_09122025_08_16_04_9642.jpg
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_14_9638.jpg
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_25_10604.jpg
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_34_9682.jpg
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_44_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513511","1398513508","1398513494","1398513499","1398513490","1398513503"],"photo_ids_order":["1398513490","1398513494","1398513499","1398513503","1398513508","1398513511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7de923aadc2527ee8014b5ce9f0fe45.jpg","text":"TemporaryFile(/tmp/multipartBody7870080590236406804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_16_44_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffaabb4409d0eef54b9b3b09c6857b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7634333045333736480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_16_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/004aea78fed0ec21cc50ab492c61c2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3125059501283391673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_16_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24aa3a200dd99df1828d77b5cb1bebb5.jpg","text":"TemporaryFile(/tmp/multipartBody2210391824954313983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_16_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81dcfc28bcf9e45072c7cb4f3dda6562.jpg","text":"TemporaryFile(/tmp/multipartBody6658405945843779630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_15_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37d13413ea823fccdee3d840fc5ee0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8346359734381249375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295164232,"filename":"image_09122025_08_16_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513499","file1":"1398513494","file0":"1398513490","file4":"1398513508","file5":"1398513511","file3":"1398513503"},"map_files_photo_id_array":[{"photo_id":"1398513511","filename":"file5"},{"photo_id":"1398513499","filename":"file2"},{"photo_id":"1398513508","filename":"file4"},{"photo_id":"1398513494","filename":"file1"},{"photo_id":"1398513490","filename":"file0"},{"photo_id":"1398513503","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513511":["hashtag1","hashtag2"]},{"1398513508":["hashtag1","hashtag2"]},{"1398513494":["hashtag1","hashtag2"]},{"1398513499":["hashtag1","hashtag2"]},{"1398513490":["hashtag1","hashtag2"]},{"1398513503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513511, 1398513508, 1398513494, 1398513499, 1398513490, 1398513503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.179410219192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:46:03.270591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_54_9980.jpg', '/home/pi/Desktop/images/09122025/08/16/image_09122025_08_17_05_10698.jpg', '/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_15_9756.jpg', '/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_24_9602.jpg', '/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_34_10154.jpg', '/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_45_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_16_54_9980.jpg
/home/pi/Desktop/images/09122025/08/16/image_09122025_08_17_05_10698.jpg
/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_15_9756.jpg
/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_24_9602.jpg
/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_34_10154.jpg
/home/pi/Desktop/images/09122025/08/17/image_09122025_08_17_45_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513538","1398513526","1398513546","1398513531","1398513542","1398513533"],"photo_ids_order":["1398513526","1398513531","1398513533","1398513538","1398513542","1398513546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0932a91f72dbcd0b40ebfd07550a9ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8082935981690244949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_17_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3d2e5e04379fcd4638c37a39e404dae.jpg","text":"TemporaryFile(/tmp/multipartBody1839834319389254395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_16_54_9980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62988aefb7dc82fc52dcec205f8db0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8683906714092291524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_17_45_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ced801da96b64eda277d800b86c13e93.jpg","text":"TemporaryFile(/tmp/multipartBody7860632465243284327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_17_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7dcf4be6e02a6dfc8077c84fdc180a2.jpg","text":"TemporaryFile(/tmp/multipartBody1132133734053076539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_17_34_10154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d44d88639e768e73f8e925c3dc71f9b.jpg","text":"TemporaryFile(/tmp/multipartBody926346133687678384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295224180,"filename":"image_09122025_08_17_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513533","file1":"1398513531","file0":"1398513526","file4":"1398513542","file5":"1398513546","file3":"1398513538"},"map_files_photo_id_array":[{"photo_id":"1398513546","filename":"file5"},{"photo_id":"1398513533","filename":"file2"},{"photo_id":"1398513542","filename":"file4"},{"photo_id":"1398513531","filename":"file1"},{"photo_id":"1398513526","filename":"file0"},{"photo_id":"1398513538","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513538":["hashtag1","hashtag2"]},{"1398513526":["hashtag1","hashtag2"]},{"1398513546":["hashtag1","hashtag2"]},{"1398513531":["hashtag1","hashtag2"]},{"1398513542":["hashtag1","hashtag2"]},{"1398513533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513538, 1398513526, 1398513546, 1398513531, 1398513542, 1398513533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13850450515747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:47:02.699228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/17/image_09122025_08_18_04_9770.jpg', '/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_14_9739.jpg', '/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_25_10631.jpg', '/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_35_9857.jpg', '/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_44_9647.jpg', '/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_14_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/17/image_09122025_08_18_04_9770.jpg
/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_14_9739.jpg
/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_25_10631.jpg
/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_35_9857.jpg
/home/pi/Desktop/images/09122025/08/18/image_09122025_08_18_44_9647.jpg
/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_14_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513576","1398513579","1398513570","1398513573","1398513581","1398513565"],"photo_ids_order":["1398513565","1398513570","1398513573","1398513576","1398513579","1398513581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca67a9839201458849c0ee396b2c6809.jpg","text":"TemporaryFile(/tmp/multipartBody7262360337747778868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_18_35_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38795ec20e3b28d3010d58e3d07b74af.jpg","text":"TemporaryFile(/tmp/multipartBody7101565010257167499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_18_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af2dfcf1f44f0aff4205d3e5aba5975e.jpg","text":"TemporaryFile(/tmp/multipartBody5124375001955352805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_18_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d81114255e5ab643e3c2955fe01866f.jpg","text":"TemporaryFile(/tmp/multipartBody5469891789352389928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_18_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5b23aed4ca6ab702b47a25d66f1ea58.jpg","text":"TemporaryFile(/tmp/multipartBody6689141014284603693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_20_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e647b126399297c211da5783d317cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3212146623984422300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295283750,"filename":"image_09122025_08_18_04_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513573","file1":"1398513570","file0":"1398513565","file4":"1398513579","file5":"1398513581","file3":"1398513576"},"map_files_photo_id_array":[{"photo_id":"1398513581","filename":"file5"},{"photo_id":"1398513573","filename":"file2"},{"photo_id":"1398513579","filename":"file4"},{"photo_id":"1398513570","filename":"file1"},{"photo_id":"1398513565","filename":"file0"},{"photo_id":"1398513576","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513576":["hashtag1","hashtag2"]},{"1398513579":["hashtag1","hashtag2"]},{"1398513570":["hashtag1","hashtag2"]},{"1398513573":["hashtag1","hashtag2"]},{"1398513581":["hashtag1","hashtag2"]},{"1398513565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513576, 1398513579, 1398513570, 1398513573, 1398513581, 1398513565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37385392189026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:48:02.670098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_35_10694.jpg', '/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_44_9649.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_14_9555.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_24_9782.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_44_9689.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_35_10694.jpg
/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_44_9649.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_14_9555.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_24_9782.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_44_9689.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_54_9688.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.522714376449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:48:12.266631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_45_9703.jpg', '/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_55_10168.jpg', '/home/pi/Desktop/images/08122025/12/52/image_08122025_12_53_05_10610.jpg', '/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_15_9680.jpg', '/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_25_9752.jpg', '/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_35_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_45_9703.jpg
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_52_55_10168.jpg
/home/pi/Desktop/images/08122025/12/52/image_08122025_12_53_05_10610.jpg
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_15_9680.jpg
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_25_9752.jpg
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_35_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513610","1398513621","1398513606","1398513617","1398513614","1398513602"],"photo_ids_order":["1398513602","1398513606","1398513610","1398513614","1398513617","1398513621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/887d25984dab054c5eadb4d29bdcafa4.jpg","text":"TemporaryFile(/tmp/multipartBody7874310747643568266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_53_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a8593580514d1741e39b965df495d13.jpg","text":"TemporaryFile(/tmp/multipartBody3798963013972003567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_53_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/679ad313a9dd0cb458dc2b26549ec531.jpg","text":"TemporaryFile(/tmp/multipartBody3697105787568346491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_52_55_10168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1fbf1cb6931d558651399a9b95dac517.jpg","text":"TemporaryFile(/tmp/multipartBody6924238392862913243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_53_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de8cca770b162c00d3fc1a3abe389f4a.jpg","text":"TemporaryFile(/tmp/multipartBody1951429343779994310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_53_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8777c7b2e1b0524dd140167dbc96544.jpg","text":"TemporaryFile(/tmp/multipartBody6327611537374039599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295354308,"filename":"image_08122025_12_52_45_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513610","file1":"1398513606","file0":"1398513602","file4":"1398513617","file5":"1398513621","file3":"1398513614"},"map_files_photo_id_array":[{"photo_id":"1398513621","filename":"file5"},{"photo_id":"1398513610","filename":"file2"},{"photo_id":"1398513617","filename":"file4"},{"photo_id":"1398513606","filename":"file1"},{"photo_id":"1398513602","filename":"file0"},{"photo_id":"1398513614","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398513610":["hashtag1","hashtag2"]},{"1398513621":["hashtag1","hashtag2"]},{"1398513606":["hashtag1","hashtag2"]},{"1398513617":["hashtag1","hashtag2"]},{"1398513614":["hashtag1","hashtag2"]},{"1398513602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398513610, 1398513621, 1398513606, 1398513617, 1398513614, 1398513602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03399062156677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:49:03.486410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_35_10694.jpg', '/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_44_9649.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_14_9555.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_24_9782.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_44_9689.jpg', '/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_35_10694.jpg
/home/pi/Desktop/images/09122025/08/20/image_09122025_08_20_44_9649.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_14_9555.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_24_9782.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_44_9689.jpg
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_21_54_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513646","1398513643","1398513639","1398513648","1398513636","1398513632"],"photo_ids_order":["1398513632","1398513636","1398513639","1398513643","1398513646","1398513648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd6cc0c9d3a49d8fe0fe2ca753eb3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4974211907246546149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_21_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/523ee9dc13b59377ce32f249e467b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5904238992593174533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_21_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89455b4af7ef15010265de0cdd4851f6.jpg","text":"TemporaryFile(/tmp/multipartBody629650946448672760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_21_14_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d625ed50a9053427d96d27765311929.jpg","text":"TemporaryFile(/tmp/multipartBody755254068912909556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_21_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1ec89ff910a75b918ae3ea19d2357b3.jpg","text":"TemporaryFile(/tmp/multipartBody879344865026773643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_20_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffecf11081ae4e9d4ab6911a37580e55.jpg","text":"TemporaryFile(/tmp/multipartBody5585964401424325403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295404548,"filename":"image_09122025_08_20_35_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513639","file1":"1398513636","file0":"1398513632","file4":"1398513646","file5":"1398513648","file3":"1398513643"},"map_files_photo_id_array":[{"photo_id":"1398513648","filename":"file5"},{"photo_id":"1398513639","filename":"file2"},{"photo_id":"1398513646","filename":"file4"},{"photo_id":"1398513636","filename":"file1"},{"photo_id":"1398513632","filename":"file0"},{"photo_id":"1398513643","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513646":["hashtag1","hashtag2"]},{"1398513643":["hashtag1","hashtag2"]},{"1398513639":["hashtag1","hashtag2"]},{"1398513648":["hashtag1","hashtag2"]},{"1398513636":["hashtag1","hashtag2"]},{"1398513632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513646, 1398513643, 1398513639, 1398513648, 1398513636, 1398513632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58472442626953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:50:03.220640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/21/image_09122025_08_22_05_10572.jpg', '/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_14_9628.jpg', '/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_25_10630.jpg', '/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_34_9595.jpg', '/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_14_9693.jpg', '/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_25_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/21/image_09122025_08_22_05_10572.jpg
/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_14_9628.jpg
/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_25_10630.jpg
/home/pi/Desktop/images/09122025/08/22/image_09122025_08_22_34_9595.jpg
/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_14_9693.jpg
/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_25_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513675","1398513678","1398513672","1398513668","1398513665","1398513670"],"photo_ids_order":["1398513665","1398513668","1398513670","1398513672","1398513675","1398513678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b449f7073dc5cfac6c2cc5f1e6fb5d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6622033427083124845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_23_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa1ada287b0bdcb87b9759227fc369ac.jpg","text":"TemporaryFile(/tmp/multipartBody8179459279194992614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_23_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4667f0ec6bb76d6b53b1595bf9dcf488.jpg","text":"TemporaryFile(/tmp/multipartBody656467117237065716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_22_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb2edc19f02291c54f1aef5f94b0434d.jpg","text":"TemporaryFile(/tmp/multipartBody3383205215519485058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_22_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2597df10c4d394724b7323984dbd19ad.jpg","text":"TemporaryFile(/tmp/multipartBody2538021783475249830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_22_05_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40b1ae91aadf5de18a5f0960245d8900.jpg","text":"TemporaryFile(/tmp/multipartBody5638050473034843014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295464097,"filename":"image_09122025_08_22_25_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513670","file1":"1398513668","file0":"1398513665","file4":"1398513675","file5":"1398513678","file3":"1398513672"},"map_files_photo_id_array":[{"photo_id":"1398513678","filename":"file5"},{"photo_id":"1398513670","filename":"file2"},{"photo_id":"1398513675","filename":"file4"},{"photo_id":"1398513668","filename":"file1"},{"photo_id":"1398513665","filename":"file0"},{"photo_id":"1398513672","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513675":["hashtag1","hashtag2"]},{"1398513678":["hashtag1","hashtag2"]},{"1398513672":["hashtag1","hashtag2"]},{"1398513668":["hashtag1","hashtag2"]},{"1398513665":["hashtag1","hashtag2"]},{"1398513670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513675, 1398513678, 1398513672, 1398513668, 1398513665, 1398513670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.691972970962524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:51:02.781539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_34_9665.jpg', '/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_55_10695.jpg', '/home/pi/Desktop/images/09122025/08/23/image_09122025_08_24_04_9607.jpg', '/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_14_9656.jpg', '/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_24_9841.jpg', '/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_34_9665.jpg
/home/pi/Desktop/images/09122025/08/23/image_09122025_08_23_55_10695.jpg
/home/pi/Desktop/images/09122025/08/23/image_09122025_08_24_04_9607.jpg
/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_14_9656.jpg
/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_24_9841.jpg
/home/pi/Desktop/images/09122025/08/24/image_09122025_08_24_44_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513712","1398513723","1398513726","1398513729","1398513716","1398513719"],"photo_ids_order":["1398513712","1398513716","1398513719","1398513723","1398513726","1398513729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/912fa2f46909867e17a962d199c9c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody8779441360360955271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_23_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/768ec2f70f548b749e02fd1f4798a0be.jpg","text":"TemporaryFile(/tmp/multipartBody3240277198371553518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_24_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/042b1ff95e448882ac4844c93a237a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4716633959557543396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_24_24_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d836ec7c219cfc8efa18a58f8b2e0547.jpg","text":"TemporaryFile(/tmp/multipartBody4367095260712680601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_24_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d5e438539f29f036a60a411f273e169.jpg","text":"TemporaryFile(/tmp/multipartBody6746982515309815681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_23_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb884dccc4cb083e32192c85f394eacd.jpg","text":"TemporaryFile(/tmp/multipartBody8291381191553928915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295523625,"filename":"image_09122025_08_24_04_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513719","file1":"1398513716","file0":"1398513712","file4":"1398513726","file5":"1398513729","file3":"1398513723"},"map_files_photo_id_array":[{"photo_id":"1398513729","filename":"file5"},{"photo_id":"1398513719","filename":"file2"},{"photo_id":"1398513726","filename":"file4"},{"photo_id":"1398513716","filename":"file1"},{"photo_id":"1398513712","filename":"file0"},{"photo_id":"1398513723","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513712":["hashtag1","hashtag2"]},{"1398513723":["hashtag1","hashtag2"]},{"1398513726":["hashtag1","hashtag2"]},{"1398513729":["hashtag1","hashtag2"]},{"1398513716":["hashtag1","hashtag2"]},{"1398513719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513712, 1398513723, 1398513726, 1398513729, 1398513716, 1398513719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.544649600982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:52:02.534558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_35_10580.jpg', '/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_44_9715.jpg', '/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_54_9736.jpg', '/home/pi/Desktop/images/09122025/08/25/image_09122025_08_26_05_10660.jpg', '/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_14_9702.jpg', '/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_24_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_35_10580.jpg
/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_44_9715.jpg
/home/pi/Desktop/images/09122025/08/25/image_09122025_08_25_54_9736.jpg
/home/pi/Desktop/images/09122025/08/25/image_09122025_08_26_05_10660.jpg
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_14_9702.jpg
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_24_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513754","1398513748","1398513757","1398513750","1398513744","1398513752"],"photo_ids_order":["1398513744","1398513748","1398513750","1398513752","1398513754","1398513757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98a7a8fb6e4fe81c117dccf2ab96996e.jpg","text":"TemporaryFile(/tmp/multipartBody9105369420277959203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_26_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aeb425e53263975de009243229d224e7.jpg","text":"TemporaryFile(/tmp/multipartBody8425629294587024107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_25_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc102edbac20ab0b653b817bd77d6378.jpg","text":"TemporaryFile(/tmp/multipartBody3335016810954789602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_26_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94d65fa5cffc8cac0a41d52d64b57ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6941856278831973285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_25_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d1b2cfe378a86beaaf064e41ca99a40.jpg","text":"TemporaryFile(/tmp/multipartBody7627757044878668688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_25_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19d6da85bcc173f5045289d026dbca6d.jpg","text":"TemporaryFile(/tmp/multipartBody7196210480061712656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295583391,"filename":"image_09122025_08_26_05_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513750","file1":"1398513748","file0":"1398513744","file4":"1398513754","file5":"1398513757","file3":"1398513752"},"map_files_photo_id_array":[{"photo_id":"1398513757","filename":"file5"},{"photo_id":"1398513750","filename":"file2"},{"photo_id":"1398513754","filename":"file4"},{"photo_id":"1398513748","filename":"file1"},{"photo_id":"1398513744","filename":"file0"},{"photo_id":"1398513752","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513754":["hashtag1","hashtag2"]},{"1398513748":["hashtag1","hashtag2"]},{"1398513757":["hashtag1","hashtag2"]},{"1398513750":["hashtag1","hashtag2"]},{"1398513744":["hashtag1","hashtag2"]},{"1398513752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513754, 1398513748, 1398513757, 1398513750, 1398513744, 1398513752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.995362520217896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:53:02.826503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_35_10578.jpg', '/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_44_9667.jpg', '/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_54_9568.jpg', '/home/pi/Desktop/images/09122025/08/26/image_09122025_08_27_05_10566.jpg', '/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_14_9723.jpg', '/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_25_10548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_35_10578.jpg
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_44_9667.jpg
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_26_54_9568.jpg
/home/pi/Desktop/images/09122025/08/26/image_09122025_08_27_05_10566.jpg
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_14_9723.jpg
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_25_10548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513808","1398513802","1398513798","1398513810","1398513804","1398513793"],"photo_ids_order":["1398513793","1398513798","1398513802","1398513804","1398513808","1398513810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bca6ed6c38a5ab8cf30e65fec9cdc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8791753138359279515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_27_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3cabd697d509f5abac91cf0b0c3b277.jpg","text":"TemporaryFile(/tmp/multipartBody3572149557937857366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_26_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6208e87fd07546e593337354b94ed13.jpg","text":"TemporaryFile(/tmp/multipartBody7856491787800864153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_26_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11e3b082d5368e3c6e70e20484f49449.jpg","text":"TemporaryFile(/tmp/multipartBody8159726848895241308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_27_25_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46d286e8fea9f60a286fe5706ea63ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8817614165217191051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_27_05_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4d49c82bfbf73e7c688a67140e23690.jpg","text":"TemporaryFile(/tmp/multipartBody8848780205984665464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295643713,"filename":"image_09122025_08_26_35_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513802","file1":"1398513798","file0":"1398513793","file4":"1398513808","file5":"1398513810","file3":"1398513804"},"map_files_photo_id_array":[{"photo_id":"1398513810","filename":"file5"},{"photo_id":"1398513802","filename":"file2"},{"photo_id":"1398513808","filename":"file4"},{"photo_id":"1398513798","filename":"file1"},{"photo_id":"1398513793","filename":"file0"},{"photo_id":"1398513804","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513808":["hashtag1","hashtag2"]},{"1398513802":["hashtag1","hashtag2"]},{"1398513798":["hashtag1","hashtag2"]},{"1398513810":["hashtag1","hashtag2"]},{"1398513804":["hashtag1","hashtag2"]},{"1398513793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513808, 1398513802, 1398513798, 1398513810, 1398513804, 1398513793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75932264328003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:54:03.239505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_34_9625.jpg', '/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_44_9763.jpg', '/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_54_9655.jpg', '/home/pi/Desktop/images/09122025/08/27/image_09122025_08_28_05_10663.jpg', '/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_14_9646.jpg', '/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_34_9625.jpg
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_44_9763.jpg
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_27_54_9655.jpg
/home/pi/Desktop/images/09122025/08/27/image_09122025_08_28_05_10663.jpg
/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_14_9646.jpg
/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_24_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513847","1398513832","1398513840","1398513843","1398513836","1398513845"],"photo_ids_order":["1398513832","1398513836","1398513840","1398513843","1398513845","1398513847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f24ee28bfeb01bc591aa174b062803f.jpg","text":"TemporaryFile(/tmp/multipartBody6008733833321077987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_28_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af4b95638e3bf048ee98b4e19f887a07.jpg","text":"TemporaryFile(/tmp/multipartBody8774033138298210592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_27_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e19247c016431402df2d520da4c4066e.jpg","text":"TemporaryFile(/tmp/multipartBody8003287346548866882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_27_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ec95c23ea57f74a0496db376dcaee49.jpg","text":"TemporaryFile(/tmp/multipartBody6375123809889617971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_28_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e89970146e16523d28c26d485fcaf827.jpg","text":"TemporaryFile(/tmp/multipartBody2250279035237927776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_27_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5389787b1a8b55c339cf1316e5df379.jpg","text":"TemporaryFile(/tmp/multipartBody4911620858300906944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295704120,"filename":"image_09122025_08_28_14_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513840","file1":"1398513836","file0":"1398513832","file4":"1398513845","file5":"1398513847","file3":"1398513843"},"map_files_photo_id_array":[{"photo_id":"1398513847","filename":"file5"},{"photo_id":"1398513840","filename":"file2"},{"photo_id":"1398513845","filename":"file4"},{"photo_id":"1398513836","filename":"file1"},{"photo_id":"1398513832","filename":"file0"},{"photo_id":"1398513843","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513847":["hashtag1","hashtag2"]},{"1398513832":["hashtag1","hashtag2"]},{"1398513840":["hashtag1","hashtag2"]},{"1398513843":["hashtag1","hashtag2"]},{"1398513836":["hashtag1","hashtag2"]},{"1398513845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513847, 1398513832, 1398513840, 1398513843, 1398513836, 1398513845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70450139045715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:55:03.531394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_44_9538.jpg', '/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_54_9650.jpg', '/home/pi/Desktop/images/09122025/08/28/image_09122025_08_29_05_10811.jpg', '/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_14_9652.jpg', '/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_24_9580.jpg', '/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_35_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_44_9538.jpg
/home/pi/Desktop/images/09122025/08/28/image_09122025_08_28_54_9650.jpg
/home/pi/Desktop/images/09122025/08/28/image_09122025_08_29_05_10811.jpg
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_14_9652.jpg
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_24_9580.jpg
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_35_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513876","1398513879","1398513887","1398513889","1398513880","1398513883"],"photo_ids_order":["1398513876","1398513879","1398513880","1398513883","1398513887","1398513889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19685bf589fa8b5f72fdfa1a9ba11c2f.jpg","text":"TemporaryFile(/tmp/multipartBody321926215888077380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_28_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9f37299c0373a994ff4bb8be96ab29d.jpg","text":"TemporaryFile(/tmp/multipartBody2101720219195290786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_28_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18b3f34bfe2e02cb2e62ec5aae2c4808.jpg","text":"TemporaryFile(/tmp/multipartBody7461763540050546862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_29_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2df6ee4e13eb6f7921e6b85b2fe1d350.jpg","text":"TemporaryFile(/tmp/multipartBody3996066554794934121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_29_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6d1db7061ce856420bce810f8f7bc47.jpg","text":"TemporaryFile(/tmp/multipartBody2064886805297337527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_29_05_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3a403650e5c737061edd372656e82bf.jpg","text":"TemporaryFile(/tmp/multipartBody4889245853927749787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295764502,"filename":"image_09122025_08_29_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513880","file1":"1398513879","file0":"1398513876","file4":"1398513887","file5":"1398513889","file3":"1398513883"},"map_files_photo_id_array":[{"photo_id":"1398513889","filename":"file5"},{"photo_id":"1398513880","filename":"file2"},{"photo_id":"1398513887","filename":"file4"},{"photo_id":"1398513879","filename":"file1"},{"photo_id":"1398513876","filename":"file0"},{"photo_id":"1398513883","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513876":["hashtag1","hashtag2"]},{"1398513879":["hashtag1","hashtag2"]},{"1398513887":["hashtag1","hashtag2"]},{"1398513889":["hashtag1","hashtag2"]},{"1398513880":["hashtag1","hashtag2"]},{"1398513883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513876, 1398513879, 1398513887, 1398513889, 1398513880, 1398513883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.838162422180176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:56:02.475854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_44_9678.jpg', '/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_54_9848.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_14_10058.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_35_9636.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_45_10612.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_31_05_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_44_9678.jpg
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_54_9848.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_14_10058.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_35_9636.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_45_10612.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_31_05_9653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5095405578613281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 16:56:12.124416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_45_9679.jpg', '/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_55_9982.jpg', '/home/pi/Desktop/images/08122025/12/53/image_08122025_12_54_05_9593.jpg', '/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_15_10630.jpg', '/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_25_9568.jpg', '/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_45_9679.jpg
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_53_55_9982.jpg
/home/pi/Desktop/images/08122025/12/53/image_08122025_12_54_05_9593.jpg
/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_15_10630.jpg
/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_25_9568.jpg
/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_35_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513919","1398513916","1398513921","1398513924","1398513912","1398513908"],"photo_ids_order":["1398513908","1398513912","1398513916","1398513919","1398513921","1398513924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e65db1c30486b618263592cbee96646f.jpg","text":"TemporaryFile(/tmp/multipartBody6412224249992918150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_54_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4184df5a0a18a104458c0c39d2150811.jpg","text":"TemporaryFile(/tmp/multipartBody6320758089553836665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_54_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77f6cb695d5d7635068e8e3ad3c9de9c.jpg","text":"TemporaryFile(/tmp/multipartBody8157736244593281304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_54_25_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ce91452533997e036bd21cf1f018605.jpg","text":"TemporaryFile(/tmp/multipartBody4708461002975345336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_54_35_10385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c699af21736e02b5c55633d9d8cce5bf.jpg","text":"TemporaryFile(/tmp/multipartBody5797993835596132385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_53_55_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcae69922e7a0e391d378d74c8eaf32a.jpg","text":"TemporaryFile(/tmp/multipartBody949956634615287970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295834161,"filename":"image_08122025_12_53_45_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513916","file1":"1398513912","file0":"1398513908","file4":"1398513921","file5":"1398513924","file3":"1398513919"},"map_files_photo_id_array":[{"photo_id":"1398513924","filename":"file5"},{"photo_id":"1398513916","filename":"file2"},{"photo_id":"1398513921","filename":"file4"},{"photo_id":"1398513912","filename":"file1"},{"photo_id":"1398513908","filename":"file0"},{"photo_id":"1398513919","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398513919":["hashtag1","hashtag2"]},{"1398513916":["hashtag1","hashtag2"]},{"1398513921":["hashtag1","hashtag2"]},{"1398513924":["hashtag1","hashtag2"]},{"1398513912":["hashtag1","hashtag2"]},{"1398513908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398513919, 1398513916, 1398513921, 1398513924, 1398513912, 1398513908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.593578815460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:57:03.006275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_44_9678.jpg', '/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_54_9848.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_14_10058.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_35_9636.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_45_10612.jpg', '/home/pi/Desktop/images/09122025/08/30/image_09122025_08_31_05_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_44_9678.jpg
/home/pi/Desktop/images/09122025/08/29/image_09122025_08_29_54_9848.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_14_10058.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_35_9636.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_30_45_10612.jpg
/home/pi/Desktop/images/09122025/08/30/image_09122025_08_31_05_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398513952","1398513949","1398513947","1398513944","1398513973","1398513955"],"photo_ids_order":["1398513944","1398513947","1398513949","1398513952","1398513955","1398513973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba51ba3c908de4a81197f85de8c87674.jpg","text":"TemporaryFile(/tmp/multipartBody1932611357445382958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_30_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dabdef899bab04bcc736c442a32a79aa.jpg","text":"TemporaryFile(/tmp/multipartBody5388652961601431972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_30_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a86f68b9a0989905c30a694bb636d075.jpg","text":"TemporaryFile(/tmp/multipartBody4118771713879066602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_29_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a7e1ff2e189ebfeaa8eebfc9fe6f0ac.jpg","text":"TemporaryFile(/tmp/multipartBody538609836147339881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_29_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e12afe38f1c22e45bef407943770a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4559608287949328105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_31_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ecf0967037f3991ca8e1ceb0558a6c8.jpg","text":"TemporaryFile(/tmp/multipartBody8970350756259667286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765295883894,"filename":"image_09122025_08_30_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398513949","file1":"1398513947","file0":"1398513944","file4":"1398513955","file5":"1398513973","file3":"1398513952"},"map_files_photo_id_array":[{"photo_id":"1398513973","filename":"file5"},{"photo_id":"1398513949","filename":"file2"},{"photo_id":"1398513955","filename":"file4"},{"photo_id":"1398513947","filename":"file1"},{"photo_id":"1398513944","filename":"file0"},{"photo_id":"1398513952","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398513952":["hashtag1","hashtag2"]},{"1398513949":["hashtag1","hashtag2"]},{"1398513947":["hashtag1","hashtag2"]},{"1398513944":["hashtag1","hashtag2"]},{"1398513973":["hashtag1","hashtag2"]},{"1398513955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398513952, 1398513949, 1398513947, 1398513944, 1398513973, 1398513955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.359967947006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 16:59:03.503354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_15_10632.jpg', '/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_25_9724.jpg', '/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_35_9723.jpg', '/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_44_9612.jpg', '/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_55_10739.jpg', '/home/pi/Desktop/images/09122025/08/31/image_09122025_08_32_05_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_15_10632.jpg
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_25_9724.jpg
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_35_9723.jpg
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_44_9612.jpg
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_31_55_10739.jpg
/home/pi/Desktop/images/09122025/08/31/image_09122025_08_32_05_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398514426","1398514395","1398514458","1398514499","1398514508","1398514492"],"photo_ids_order":["1398514395","1398514426","1398514458","1398514492","1398514499","1398514508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9eb88c6fe15889e96df72cc49678cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6783715270986535348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_31_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/539510c7fbbdf5d685b78317ccfd604c.jpg","text":"TemporaryFile(/tmp/multipartBody9194847798297379183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_31_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/054347fe9d012d3cffb39f105f1e9f75.jpg","text":"TemporaryFile(/tmp/multipartBody1120193661099775390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_31_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5964b14fdb39fc5602916b9c3713d31c.jpg","text":"TemporaryFile(/tmp/multipartBody4544001685000523001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_31_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/859793c6c07e8eaaa60df8b0f3aec5ad.jpg","text":"TemporaryFile(/tmp/multipartBody3618793751040864131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_32_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/daeb7ab4b46322971296a5cc95f7172a.jpg","text":"TemporaryFile(/tmp/multipartBody6215090152008282901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296004512,"filename":"image_09122025_08_31_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398514458","file1":"1398514426","file0":"1398514395","file4":"1398514499","file5":"1398514508","file3":"1398514492"},"map_files_photo_id_array":[{"photo_id":"1398514508","filename":"file5"},{"photo_id":"1398514458","filename":"file2"},{"photo_id":"1398514499","filename":"file4"},{"photo_id":"1398514426","filename":"file1"},{"photo_id":"1398514395","filename":"file0"},{"photo_id":"1398514492","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398514426":["hashtag1","hashtag2"]},{"1398514395":["hashtag1","hashtag2"]},{"1398514458":["hashtag1","hashtag2"]},{"1398514499":["hashtag1","hashtag2"]},{"1398514508":["hashtag1","hashtag2"]},{"1398514492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398514426, 1398514395, 1398514458, 1398514499, 1398514508, 1398514492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.922231674194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:00:03.235964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_15_9672.jpg', '/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_24_9888.jpg', '/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_35_10668.jpg', '/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_45_9581.jpg', '/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_55_10572.jpg', '/home/pi/Desktop/images/09122025/08/32/image_09122025_08_33_05_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_15_9672.jpg
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_24_9888.jpg
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_35_10668.jpg
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_45_9581.jpg
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_32_55_10572.jpg
/home/pi/Desktop/images/09122025/08/32/image_09122025_08_33_05_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398514596","1398514605","1398514598","1398514586","1398514601","1398514591"],"photo_ids_order":["1398514586","1398514591","1398514596","1398514598","1398514601","1398514605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c94cd0ae040ffd6189838bf73e98428.jpg","text":"TemporaryFile(/tmp/multipartBody5852690256000218802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_32_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d154da615525db0b4d59686c39a33978.jpg","text":"TemporaryFile(/tmp/multipartBody4783186864029680635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_33_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db54979eedca487fc05d925316b62389.jpg","text":"TemporaryFile(/tmp/multipartBody6032088901226285363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_32_45_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dca4946d4058e900c5f5817c2c006479.jpg","text":"TemporaryFile(/tmp/multipartBody6500013898110187815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_32_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73d06f0b40c7c3e03c3f6b612b0eda74.jpg","text":"TemporaryFile(/tmp/multipartBody1468006708400398240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_32_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2503affdf374b7aa4a1e2a5b2dfa050e.jpg","text":"TemporaryFile(/tmp/multipartBody6966899960734704798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296064047,"filename":"image_09122025_08_32_24_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398514596","file1":"1398514591","file0":"1398514586","file4":"1398514601","file5":"1398514605","file3":"1398514598"},"map_files_photo_id_array":[{"photo_id":"1398514605","filename":"file5"},{"photo_id":"1398514596","filename":"file2"},{"photo_id":"1398514601","filename":"file4"},{"photo_id":"1398514591","filename":"file1"},{"photo_id":"1398514586","filename":"file0"},{"photo_id":"1398514598","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398514596":["hashtag1","hashtag2"]},{"1398514605":["hashtag1","hashtag2"]},{"1398514598":["hashtag1","hashtag2"]},{"1398514586":["hashtag1","hashtag2"]},{"1398514601":["hashtag1","hashtag2"]},{"1398514591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398514596, 1398514605, 1398514598, 1398514586, 1398514601, 1398514591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.981337785720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:01:02.752065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/33/image_09122025_08_33_44_9873.jpg', '/home/pi/Desktop/images/09122025/08/33/image_09122025_08_33_55_10524.jpg', '/home/pi/Desktop/images/09122025/08/33/image_09122025_08_34_05_9693.jpg', '/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_15_10605.jpg', '/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_25_9725.jpg', '/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_35_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/33/image_09122025_08_33_44_9873.jpg
/home/pi/Desktop/images/09122025/08/33/image_09122025_08_33_55_10524.jpg
/home/pi/Desktop/images/09122025/08/33/image_09122025_08_34_05_9693.jpg
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_15_10605.jpg
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_25_9725.jpg
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_35_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398514857","1398515057","1398514911","1398515179","1398514987","1398515122"],"photo_ids_order":["1398514857","1398514911","1398514987","1398515057","1398515122","1398515179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fa9a318f436846926ae0954adfe3bec.jpg","text":"TemporaryFile(/tmp/multipartBody2652992108080003516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_33_44_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7dcbe7bcb4c09f0cfd495fe35a273f03.jpg","text":"TemporaryFile(/tmp/multipartBody1923634665056650226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_34_15_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d53bda0e3249de46408957417b3ddeee.jpg","text":"TemporaryFile(/tmp/multipartBody7849448678733827886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_33_55_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd969b3b87e2c509662f2031d64631dc.jpg","text":"TemporaryFile(/tmp/multipartBody7457517971421551162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_34_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4a7799321c2dd16612fc26209f6aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody7232424920903374860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_34_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9400b33fdbe581f831857e3db2ef1461.jpg","text":"TemporaryFile(/tmp/multipartBody4669658814024115514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296123599,"filename":"image_09122025_08_34_25_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398514987","file1":"1398514911","file0":"1398514857","file4":"1398515122","file5":"1398515179","file3":"1398515057"},"map_files_photo_id_array":[{"photo_id":"1398515179","filename":"file5"},{"photo_id":"1398514987","filename":"file2"},{"photo_id":"1398515122","filename":"file4"},{"photo_id":"1398514911","filename":"file1"},{"photo_id":"1398514857","filename":"file0"},{"photo_id":"1398515057","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398514857":["hashtag1","hashtag2"]},{"1398515057":["hashtag1","hashtag2"]},{"1398514911":["hashtag1","hashtag2"]},{"1398515179":["hashtag1","hashtag2"]},{"1398514987":["hashtag1","hashtag2"]},{"1398515122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398514857, 1398515057, 1398514911, 1398515179, 1398514987, 1398515122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3759069442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:02:02.742410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_44_9717.jpg', '/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_55_10775.jpg', '/home/pi/Desktop/images/09122025/08/34/image_09122025_08_35_05_9676.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_15_9804.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_35_10527.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_45_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_44_9717.jpg
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_34_55_10775.jpg
/home/pi/Desktop/images/09122025/08/34/image_09122025_08_35_05_9676.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_15_9804.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_35_10527.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_45_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398515897","1398515841","1398515601","1398515663","1398515720","1398515784"],"photo_ids_order":["1398515601","1398515663","1398515720","1398515784","1398515841","1398515897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cb225ddf8be89059ae9e1effb502c8e.jpg","text":"TemporaryFile(/tmp/multipartBody4149322884295407279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_35_45_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/632c2788a6bcafa1697ccc5add1ab45a.jpg","text":"TemporaryFile(/tmp/multipartBody2369586701900356192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_35_35_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e003485e1c36f232888502756d1eb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody2879805681270773884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_34_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d65f4b16734f70a8a8796f475eab95c.jpg","text":"TemporaryFile(/tmp/multipartBody5040992147838618067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_34_55_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/255c84750fb755628dfaa0639dae605e.jpg","text":"TemporaryFile(/tmp/multipartBody5717994597345204004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_35_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a2998fd00a07552348edca1205b9e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1208305970348077300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296183648,"filename":"image_09122025_08_35_15_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398515720","file1":"1398515663","file0":"1398515601","file4":"1398515841","file5":"1398515897","file3":"1398515784"},"map_files_photo_id_array":[{"photo_id":"1398515897","filename":"file5"},{"photo_id":"1398515720","filename":"file2"},{"photo_id":"1398515841","filename":"file4"},{"photo_id":"1398515663","filename":"file1"},{"photo_id":"1398515601","filename":"file0"},{"photo_id":"1398515784","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398515897":["hashtag1","hashtag2"]},{"1398515841":["hashtag1","hashtag2"]},{"1398515601":["hashtag1","hashtag2"]},{"1398515663":["hashtag1","hashtag2"]},{"1398515720":["hashtag1","hashtag2"]},{"1398515784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398515897, 1398515841, 1398515601, 1398515663, 1398515720, 1398515784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46311163902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:03:03.174283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6214373111724854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:03:12.462710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_45_9554.jpg', '/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_56_10660.jpg', '/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_15_9664.jpg', '/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_25_10637.jpg', '/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_46_10518.jpg', '/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_45_9554.jpg
/home/pi/Desktop/images/08122025/12/54/image_08122025_12_54_56_10660.jpg
/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_15_9664.jpg
/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_25_10637.jpg
/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_46_10518.jpg
/home/pi/Desktop/images/08122025/12/55/image_08122025_12_55_55_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398516318","1398516359","1398516287","1398516346","1398516327","1398516258"],"photo_ids_order":["1398516258","1398516287","1398516318","1398516327","1398516346","1398516359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88b0e718d9339f2dec06a794357088e1.jpg","text":"TemporaryFile(/tmp/multipartBody8568140529208729083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_55_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33c8a7af051bd02c2a8d81c423070591.jpg","text":"TemporaryFile(/tmp/multipartBody5714264472900035523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_55_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f09651ce14946cce408b4644ba941701.jpg","text":"TemporaryFile(/tmp/multipartBody4737415456744800598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_54_56_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99b59f08d4fc018b78fa0c141fcd1f42.jpg","text":"TemporaryFile(/tmp/multipartBody3948736107807189824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_55_46_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/152c001ddefc713c4533a99d58878dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3652558735433143821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_55_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49ed230a8e45ef6866ceeacbb86b3d24.jpg","text":"TemporaryFile(/tmp/multipartBody7838141058613603006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296254500,"filename":"image_08122025_12_54_45_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398516318","file1":"1398516287","file0":"1398516258","file4":"1398516346","file5":"1398516359","file3":"1398516327"},"map_files_photo_id_array":[{"photo_id":"1398516359","filename":"file5"},{"photo_id":"1398516318","filename":"file2"},{"photo_id":"1398516346","filename":"file4"},{"photo_id":"1398516287","filename":"file1"},{"photo_id":"1398516258","filename":"file0"},{"photo_id":"1398516327","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398516318":["hashtag1","hashtag2"]},{"1398516359":["hashtag1","hashtag2"]},{"1398516287":["hashtag1","hashtag2"]},{"1398516346":["hashtag1","hashtag2"]},{"1398516327":["hashtag1","hashtag2"]},{"1398516258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398516318, 1398516359, 1398516287, 1398516346, 1398516327, 1398516258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34078240394592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:04:03.487532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5452473163604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:04:12.760909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/55/image_08122025_12_56_05_9612.jpg', '/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_15_10558.jpg', '/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_25_9671.jpg', '/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_35_9748.jpg', '/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_45_9793.jpg', '/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/55/image_08122025_12_56_05_9612.jpg
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_15_10558.jpg
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_25_9671.jpg
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_35_9748.jpg
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_45_9793.jpg
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_56_55_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398516411","1398516482","1398516406","1398516409","1398516450","1398516420"],"photo_ids_order":["1398516406","1398516409","1398516411","1398516420","1398516450","1398516482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fdf5dc417f83125b35a55f9e398bbb42.jpg","text":"TemporaryFile(/tmp/multipartBody6980891716765277074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/299bff5a9f6046def4129b648db1bba7.jpg","text":"TemporaryFile(/tmp/multipartBody1102597231284915224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/699d278cb405c9599aff4851a7eff7fa.jpg","text":"TemporaryFile(/tmp/multipartBody1867798897248608855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0785d52fe36c5a3886d6c5764205096.jpg","text":"TemporaryFile(/tmp/multipartBody3800749381520661156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_15_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eba7c04f6d7b7a0be10980c4da692395.jpg","text":"TemporaryFile(/tmp/multipartBody1705053217901122478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fede0aa3252beac76c85d2a8c42ead39.jpg","text":"TemporaryFile(/tmp/multipartBody1117462168718604591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296314757,"filename":"image_08122025_12_56_35_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398516411","file1":"1398516409","file0":"1398516406","file4":"1398516450","file5":"1398516482","file3":"1398516420"},"map_files_photo_id_array":[{"photo_id":"1398516482","filename":"file5"},{"photo_id":"1398516411","filename":"file2"},{"photo_id":"1398516450","filename":"file4"},{"photo_id":"1398516409","filename":"file1"},{"photo_id":"1398516406","filename":"file0"},{"photo_id":"1398516420","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398516411":["hashtag1","hashtag2"]},{"1398516482":["hashtag1","hashtag2"]},{"1398516406":["hashtag1","hashtag2"]},{"1398516409":["hashtag1","hashtag2"]},{"1398516450":["hashtag1","hashtag2"]},{"1398516420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398516411, 1398516482, 1398516406, 1398516409, 1398516450, 1398516420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.8130087852478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:05:02.624095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg', '/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg', '/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_35_54_9632.jpg
/home/pi/Desktop/images/09122025/08/35/image_09122025_08_36_05_10801.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_28_12569.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_35_7694.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_45_9817.jpg
/home/pi/Desktop/images/09122025/08/36/image_09122025_08_36_55_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398516719","1398516754","1398516661","1398516622","1398516783","1398516690"],"photo_ids_order":["1398516622","1398516661","1398516690","1398516719","1398516754","1398516783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1061502bc6752f77d9f360c49150e615.jpg","text":"TemporaryFile(/tmp/multipartBody3646597096073307110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_36_35_7694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/91166c505507e6e47064d713a9aac941.jpg","text":"TemporaryFile(/tmp/multipartBody7908001337242134182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_36_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5be59734fc9e7d4c5e73c121b232f245.jpg","text":"TemporaryFile(/tmp/multipartBody6986615965953730661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_36_05_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f0b4e1cf9dec56e2ffa9fc41c343d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8447943072140956393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_35_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/853124dd1e70586048e620de38254aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5156593436012797507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_36_55_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96b2bf947f03730cc0340b6c4b38814a.jpg","text":"TemporaryFile(/tmp/multipartBody4217763451108944240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296363526,"filename":"image_09122025_08_36_28_12569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398516690","file1":"1398516661","file0":"1398516622","file4":"1398516754","file5":"1398516783","file3":"1398516719"},"map_files_photo_id_array":[{"photo_id":"1398516783","filename":"file5"},{"photo_id":"1398516690","filename":"file2"},{"photo_id":"1398516754","filename":"file4"},{"photo_id":"1398516661","filename":"file1"},{"photo_id":"1398516622","filename":"file0"},{"photo_id":"1398516719","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398516719":["hashtag1","hashtag2"]},{"1398516754":["hashtag1","hashtag2"]},{"1398516661":["hashtag1","hashtag2"]},{"1398516622":["hashtag1","hashtag2"]},{"1398516783":["hashtag1","hashtag2"]},{"1398516690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398516719, 1398516754, 1398516661, 1398516622, 1398516783, 1398516690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32300686836243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:06:02.659442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_15_9593.jpg', '/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_45_10773.jpg', '/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_55_9626.jpg', '/home/pi/Desktop/images/09122025/08/37/image_09122025_08_38_05_9577.jpg', '/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_35_9509.jpg', '/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_45_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_15_9593.jpg
/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_45_10773.jpg
/home/pi/Desktop/images/09122025/08/37/image_09122025_08_37_55_9626.jpg
/home/pi/Desktop/images/09122025/08/37/image_09122025_08_38_05_9577.jpg
/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_35_9509.jpg
/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_45_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398516906","1398516950","1398516902","1398516898","1398516922","1398516904"],"photo_ids_order":["1398516898","1398516902","1398516904","1398516906","1398516922","1398516950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f2bda9f5dca70f9b61c1d1c8432678f.jpg","text":"TemporaryFile(/tmp/multipartBody589772267116960076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_38_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/221b0ad1d75476e2b7b46c2519ffca18.jpg","text":"TemporaryFile(/tmp/multipartBody6286246314295749339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_38_45_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7cb9c81b8aaa384043e47154c637447b.jpg","text":"TemporaryFile(/tmp/multipartBody6389911430540625541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_37_45_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be9dc38afe257313bc084b58e2adbeb8.jpg","text":"TemporaryFile(/tmp/multipartBody375952215969114041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_37_15_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36bdb539323c51a2880456f3659d5f45.jpg","text":"TemporaryFile(/tmp/multipartBody4549731751361330620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_38_35_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bfa2f3c62cff9b611cc001618404199.jpg","text":"TemporaryFile(/tmp/multipartBody893881789695866720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296423374,"filename":"image_09122025_08_37_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398516904","file1":"1398516902","file0":"1398516898","file4":"1398516922","file5":"1398516950","file3":"1398516906"},"map_files_photo_id_array":[{"photo_id":"1398516950","filename":"file5"},{"photo_id":"1398516904","filename":"file2"},{"photo_id":"1398516922","filename":"file4"},{"photo_id":"1398516902","filename":"file1"},{"photo_id":"1398516898","filename":"file0"},{"photo_id":"1398516906","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398516906":["hashtag1","hashtag2"]},{"1398516950":["hashtag1","hashtag2"]},{"1398516902":["hashtag1","hashtag2"]},{"1398516898":["hashtag1","hashtag2"]},{"1398516922":["hashtag1","hashtag2"]},{"1398516904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398516906, 1398516950, 1398516902, 1398516898, 1398516922, 1398516904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29648280143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:07:03.195188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_55_9722.jpg', '/home/pi/Desktop/images/09122025/08/38/image_09122025_08_39_04_9652.jpg', '/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_25_9662.jpg', '/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_45_10620.jpg', '/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_55_9613.jpg', '/home/pi/Desktop/images/09122025/08/39/image_09122025_08_40_05_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/38/image_09122025_08_38_55_9722.jpg
/home/pi/Desktop/images/09122025/08/38/image_09122025_08_39_04_9652.jpg
/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_25_9662.jpg
/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_45_10620.jpg
/home/pi/Desktop/images/09122025/08/39/image_09122025_08_39_55_9613.jpg
/home/pi/Desktop/images/09122025/08/39/image_09122025_08_40_05_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517030","1398517033","1398517032","1398517041","1398517035","1398517038"],"photo_ids_order":["1398517030","1398517032","1398517033","1398517035","1398517038","1398517041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf6c7400ebba96aaffe5a3211e0c2b75.jpg","text":"TemporaryFile(/tmp/multipartBody1760419114014215573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_38_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9b093de9a0a1021aeb8381fb6dfca30.jpg","text":"TemporaryFile(/tmp/multipartBody4824370688334727097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_39_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d77ff9b20f354a7a802e317be702a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7238326900486159351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_39_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6cb357c7df7325aa3b61170bf290f830.jpg","text":"TemporaryFile(/tmp/multipartBody3151656871525292490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_40_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0a442e863ea97a144e14c9a842305bb.jpg","text":"TemporaryFile(/tmp/multipartBody7577250501231925724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_39_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0bff7107789afdad41ff90e1132b1291.jpg","text":"TemporaryFile(/tmp/multipartBody6312319417423767992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296484259,"filename":"image_09122025_08_39_55_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517033","file1":"1398517032","file0":"1398517030","file4":"1398517038","file5":"1398517041","file3":"1398517035"},"map_files_photo_id_array":[{"photo_id":"1398517041","filename":"file5"},{"photo_id":"1398517033","filename":"file2"},{"photo_id":"1398517038","filename":"file4"},{"photo_id":"1398517032","filename":"file1"},{"photo_id":"1398517030","filename":"file0"},{"photo_id":"1398517035","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517030":["hashtag1","hashtag2"]},{"1398517033":["hashtag1","hashtag2"]},{"1398517032":["hashtag1","hashtag2"]},{"1398517041":["hashtag1","hashtag2"]},{"1398517035":["hashtag1","hashtag2"]},{"1398517038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517030, 1398517033, 1398517032, 1398517041, 1398517035, 1398517038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56320858001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:08:03.277690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/40/image_09122025_08_40_25_9724.jpg', '/home/pi/Desktop/images/09122025/08/40/image_09122025_08_40_35_10688.jpg', '/home/pi/Desktop/images/09122025/08/40/image_09122025_08_41_05_10657.jpg', '/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_15_9604.jpg', '/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_25_9753.jpg', '/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/40/image_09122025_08_40_25_9724.jpg
/home/pi/Desktop/images/09122025/08/40/image_09122025_08_40_35_10688.jpg
/home/pi/Desktop/images/09122025/08/40/image_09122025_08_41_05_10657.jpg
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_15_9604.jpg
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_25_9753.jpg
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_34_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517064","1398517067","1398517069","1398517071","1398517059","1398517062"],"photo_ids_order":["1398517059","1398517062","1398517064","1398517067","1398517069","1398517071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2a88c52741193ec9b5e8c4177847599.jpg","text":"TemporaryFile(/tmp/multipartBody7401990550624049235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_41_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8bcefb55e7e1f7eb3a1addf333cfbb5.jpg","text":"TemporaryFile(/tmp/multipartBody4813943104087853874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_41_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb5231e40a4f3bb5098f851ef5f57dad.jpg","text":"TemporaryFile(/tmp/multipartBody2502962001675028530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_41_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73d95da9bac5b5a7b7f6fea89e62f45b.jpg","text":"TemporaryFile(/tmp/multipartBody9000323750476013292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_41_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be568fea5556b77819a1ff6049761656.jpg","text":"TemporaryFile(/tmp/multipartBody1870745991808520026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_40_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c05a018d7b80743d8535c4d980d43b2.jpg","text":"TemporaryFile(/tmp/multipartBody1176998333248349321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296543971,"filename":"image_09122025_08_40_35_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517064","file1":"1398517062","file0":"1398517059","file4":"1398517069","file5":"1398517071","file3":"1398517067"},"map_files_photo_id_array":[{"photo_id":"1398517071","filename":"file5"},{"photo_id":"1398517064","filename":"file2"},{"photo_id":"1398517069","filename":"file4"},{"photo_id":"1398517062","filename":"file1"},{"photo_id":"1398517059","filename":"file0"},{"photo_id":"1398517067","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517064":["hashtag1","hashtag2"]},{"1398517067":["hashtag1","hashtag2"]},{"1398517069":["hashtag1","hashtag2"]},{"1398517071":["hashtag1","hashtag2"]},{"1398517059":["hashtag1","hashtag2"]},{"1398517062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517064, 1398517067, 1398517069, 1398517071, 1398517059, 1398517062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30530071258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:09:02.810158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_45_10572.jpg', '/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_55_9675.jpg', '/home/pi/Desktop/images/09122025/08/41/image_09122025_08_42_05_10652.jpg', '/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_15_9750.jpg', '/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_25_9618.jpg', '/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_34_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_45_10572.jpg
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_41_55_9675.jpg
/home/pi/Desktop/images/09122025/08/41/image_09122025_08_42_05_10652.jpg
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_15_9750.jpg
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_25_9618.jpg
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_34_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517091","1398517100","1398517093","1398517095","1398517098","1398517094"],"photo_ids_order":["1398517091","1398517093","1398517094","1398517095","1398517098","1398517100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/540b93488882bb2c9b96f057d83b92ec.jpg","text":"TemporaryFile(/tmp/multipartBody2875258000282678866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_41_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4577c3588950b84d839cc4c42c42fdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2672151038516964289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_42_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de3732688d4b917265b4659daf8d9778.jpg","text":"TemporaryFile(/tmp/multipartBody3650044051801903544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_41_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87a83fdaf706ef5ef2eac754ccabe8de.jpg","text":"TemporaryFile(/tmp/multipartBody8773697576787736420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_42_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83e8d6cfc2ff3733ea0c63ebfe41acfd.jpg","text":"TemporaryFile(/tmp/multipartBody3782012579670849882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_42_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fba3b1290a43629989e3bec80e30c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody4570924478058275034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296603888,"filename":"image_09122025_08_42_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517094","file1":"1398517093","file0":"1398517091","file4":"1398517098","file5":"1398517100","file3":"1398517095"},"map_files_photo_id_array":[{"photo_id":"1398517100","filename":"file5"},{"photo_id":"1398517094","filename":"file2"},{"photo_id":"1398517098","filename":"file4"},{"photo_id":"1398517093","filename":"file1"},{"photo_id":"1398517091","filename":"file0"},{"photo_id":"1398517095","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517091":["hashtag1","hashtag2"]},{"1398517100":["hashtag1","hashtag2"]},{"1398517093":["hashtag1","hashtag2"]},{"1398517095":["hashtag1","hashtag2"]},{"1398517098":["hashtag1","hashtag2"]},{"1398517094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517091, 1398517100, 1398517093, 1398517095, 1398517098, 1398517094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29062819480896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:10:02.594432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_45_10787.jpg', '/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_55_9736.jpg', '/home/pi/Desktop/images/09122025/08/42/image_09122025_08_43_05_9645.jpg', '/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_15_10717.jpg', '/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_25_9603.jpg', '/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_35_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_45_10787.jpg
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_42_55_9736.jpg
/home/pi/Desktop/images/09122025/08/42/image_09122025_08_43_05_9645.jpg
/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_15_10717.jpg
/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_25_9603.jpg
/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_35_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517313","1398517252","1398517299","1398517323","1398517286","1398517218"],"photo_ids_order":["1398517218","1398517252","1398517286","1398517299","1398517313","1398517323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bfc92490220e5b1dbca4f7b960df3dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3496154450610482521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_43_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20183b297ea8bd083846d1d8c10504b1.jpg","text":"TemporaryFile(/tmp/multipartBody7983027578548165106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_42_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acad0981f063a109548213e26e4a5084.jpg","text":"TemporaryFile(/tmp/multipartBody4596047877339880286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_43_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89df958e2bc2300931a4aaa8c7253f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6779362217672496611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_43_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7caf5ad7876ca535df6ba454ed4e2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7602884374410558251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_43_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/972176087e303de00786c552a5126af1.jpg","text":"TemporaryFile(/tmp/multipartBody3496140299255359685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296663450,"filename":"image_09122025_08_42_45_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517286","file1":"1398517252","file0":"1398517218","file4":"1398517313","file5":"1398517323","file3":"1398517299"},"map_files_photo_id_array":[{"photo_id":"1398517323","filename":"file5"},{"photo_id":"1398517286","filename":"file2"},{"photo_id":"1398517313","filename":"file4"},{"photo_id":"1398517252","filename":"file1"},{"photo_id":"1398517218","filename":"file0"},{"photo_id":"1398517299","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517313":["hashtag1","hashtag2"]},{"1398517252":["hashtag1","hashtag2"]},{"1398517299":["hashtag1","hashtag2"]},{"1398517323":["hashtag1","hashtag2"]},{"1398517286":["hashtag1","hashtag2"]},{"1398517218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517313, 1398517252, 1398517299, 1398517323, 1398517286, 1398517218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.640838861465454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:11:03.058504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_55_5478.jpg', '/home/pi/Desktop/images/09122025/08/43/image_09122025_08_44_04_9588.jpg', '/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_15_10731.jpg', '/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_24_9184.jpg', '/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_45_9779.jpg', '/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_55_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/43/image_09122025_08_43_55_5478.jpg
/home/pi/Desktop/images/09122025/08/43/image_09122025_08_44_04_9588.jpg
/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_15_10731.jpg
/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_24_9184.jpg
/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_45_9779.jpg
/home/pi/Desktop/images/09122025/08/44/image_09122025_08_44_55_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517349","1398517337","1398517339","1398517344","1398517353","1398517341"],"photo_ids_order":["1398517337","1398517339","1398517341","1398517344","1398517349","1398517353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45a43c0716e1a9ec5ffdd3110e675bfb.jpg","text":"TemporaryFile(/tmp/multipartBody6663436410728587027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_44_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e12c364e1d6cff2fbd63c85cb09f2130.jpg","text":"TemporaryFile(/tmp/multipartBody615547336522688815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_43_55_5478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce1a74a10efbbdc165c89c9664d31288.jpg","text":"TemporaryFile(/tmp/multipartBody872240352495461337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_44_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/196df90ba673e3ba133208253e2cb8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7154112808952972404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_44_24_9184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a20d13ed233939ca093757b2cd69c66b.jpg","text":"TemporaryFile(/tmp/multipartBody7879969073484819859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_44_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9f408da7be2131bf51ad3132d787257.jpg","text":"TemporaryFile(/tmp/multipartBody3547775914141807130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296723962,"filename":"image_09122025_08_44_15_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517341","file1":"1398517339","file0":"1398517337","file4":"1398517349","file5":"1398517353","file3":"1398517344"},"map_files_photo_id_array":[{"photo_id":"1398517353","filename":"file5"},{"photo_id":"1398517341","filename":"file2"},{"photo_id":"1398517349","filename":"file4"},{"photo_id":"1398517339","filename":"file1"},{"photo_id":"1398517337","filename":"file0"},{"photo_id":"1398517344","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517349":["hashtag1","hashtag2"]},{"1398517337":["hashtag1","hashtag2"]},{"1398517339":["hashtag1","hashtag2"]},{"1398517344":["hashtag1","hashtag2"]},{"1398517353":["hashtag1","hashtag2"]},{"1398517341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517349, 1398517337, 1398517339, 1398517344, 1398517353, 1398517341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.004026651382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:12:03.024897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_15_9598.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_24_9730.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_45_9528.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_55_10781.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_46_05_9641.jpg', '/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_24_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_15_9598.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_24_9730.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_45_9528.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_55_10781.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_46_05_9641.jpg
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_24_9609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5217278003692627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:12:12.619464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/56/image_08122025_12_57_05_9817.jpg', '/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_15_9612.jpg', '/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_25_10297.jpg', '/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_35_9860.jpg', '/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_45_10634.jpg', '/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_55_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/56/image_08122025_12_57_05_9817.jpg
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_15_9612.jpg
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_25_10297.jpg
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_35_9860.jpg
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_45_10634.jpg
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_57_55_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517390","1398517384","1398517375","1398517386","1398517380","1398517371"],"photo_ids_order":["1398517371","1398517375","1398517380","1398517384","1398517386","1398517390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d911713fb9a2674cf7bc413b2dedf493.jpg","text":"TemporaryFile(/tmp/multipartBody8305088673366157386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f248cf92bbf128ad487f3750cabdd99.jpg","text":"TemporaryFile(/tmp/multipartBody58617166629411042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_35_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db68ce5d0c37f376a8a84a8d3bc4b63b.jpg","text":"TemporaryFile(/tmp/multipartBody5198731546978184430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53e85ff6084456e49f66f2acb0a8d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1015617942174196186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6800ee61cb3620a14f509c68501c68f.jpg","text":"TemporaryFile(/tmp/multipartBody1198697574868027631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_25_10297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/018d939daf453e8b5311a2a1bc7f0d7b.jpg","text":"TemporaryFile(/tmp/multipartBody935788874390094082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296794641,"filename":"image_08122025_12_57_05_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517380","file1":"1398517375","file0":"1398517371","file4":"1398517386","file5":"1398517390","file3":"1398517384"},"map_files_photo_id_array":[{"photo_id":"1398517390","filename":"file5"},{"photo_id":"1398517380","filename":"file2"},{"photo_id":"1398517386","filename":"file4"},{"photo_id":"1398517375","filename":"file1"},{"photo_id":"1398517371","filename":"file0"},{"photo_id":"1398517384","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398517390":["hashtag1","hashtag2"]},{"1398517384":["hashtag1","hashtag2"]},{"1398517375":["hashtag1","hashtag2"]},{"1398517386":["hashtag1","hashtag2"]},{"1398517380":["hashtag1","hashtag2"]},{"1398517371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398517390, 1398517384, 1398517375, 1398517386, 1398517380, 1398517371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84922552108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:13:02.561255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_15_9598.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_24_9730.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_45_9528.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_55_10781.jpg', '/home/pi/Desktop/images/09122025/08/45/image_09122025_08_46_05_9641.jpg', '/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_24_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_15_9598.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_24_9730.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_45_9528.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_45_55_10781.jpg
/home/pi/Desktop/images/09122025/08/45/image_09122025_08_46_05_9641.jpg
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_24_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517400","1398517408","1398517402","1398517411","1398517398","1398517404"],"photo_ids_order":["1398517398","1398517400","1398517402","1398517404","1398517408","1398517411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a33d156410b00cdd54702416e3d9685.jpg","text":"TemporaryFile(/tmp/multipartBody2304943152775497463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_45_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b18f2ccbeeb39eeac0435b41d6ff8d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3162358044431158306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_46_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cbbaa03251137c9c1bcf4a91a09b1814.jpg","text":"TemporaryFile(/tmp/multipartBody3192973432281988323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_45_45_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a39101431931b66e1e2846b1a55b9e7.jpg","text":"TemporaryFile(/tmp/multipartBody3767248737192601181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_46_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/51e4a5fc3e52128e94e3b4ed3763d932.jpg","text":"TemporaryFile(/tmp/multipartBody1449099769532692712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_45_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ea9b2ae1d356845737fcf6cd679d7f3.jpg","text":"TemporaryFile(/tmp/multipartBody3891823981888464871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296843485,"filename":"image_09122025_08_45_55_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517402","file1":"1398517400","file0":"1398517398","file4":"1398517408","file5":"1398517411","file3":"1398517404"},"map_files_photo_id_array":[{"photo_id":"1398517411","filename":"file5"},{"photo_id":"1398517402","filename":"file2"},{"photo_id":"1398517408","filename":"file4"},{"photo_id":"1398517400","filename":"file1"},{"photo_id":"1398517398","filename":"file0"},{"photo_id":"1398517404","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517400":["hashtag1","hashtag2"]},{"1398517408":["hashtag1","hashtag2"]},{"1398517402":["hashtag1","hashtag2"]},{"1398517411":["hashtag1","hashtag2"]},{"1398517398":["hashtag1","hashtag2"]},{"1398517404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517400, 1398517408, 1398517402, 1398517411, 1398517398, 1398517404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6650185585022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:14:02.896807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_35_10714.jpg', '/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_45_9574.jpg', '/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_54_9676.jpg', '/home/pi/Desktop/images/09122025/08/46/image_09122025_08_47_05_10643.jpg', '/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_15_9615.jpg', '/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_25_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_35_10714.jpg
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_45_9574.jpg
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_46_54_9676.jpg
/home/pi/Desktop/images/09122025/08/46/image_09122025_08_47_05_10643.jpg
/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_15_9615.jpg
/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_25_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517439","1398517427","1398517423","1398517443","1398517431","1398517434"],"photo_ids_order":["1398517423","1398517427","1398517431","1398517434","1398517439","1398517443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d001335f3a34ffad4791b527450efdbd.jpg","text":"TemporaryFile(/tmp/multipartBody6191462747526343399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_47_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b044a3f34b0f062b14c90ade34c1106a.jpg","text":"TemporaryFile(/tmp/multipartBody1092032830913712001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_46_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a22d26d07c1779e0389c1fb74b4bf578.jpg","text":"TemporaryFile(/tmp/multipartBody3656536993662810187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_46_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b7ba4015445ee08f6a15fb4333a96a0.jpg","text":"TemporaryFile(/tmp/multipartBody3158640747128412007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_47_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ad839022354b68ec3466ec871d9c855.jpg","text":"TemporaryFile(/tmp/multipartBody2745010282627315809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_46_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22704f015555d3450c13ca9efb43bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5941508698371356500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296903858,"filename":"image_09122025_08_47_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517431","file1":"1398517427","file0":"1398517423","file4":"1398517439","file5":"1398517443","file3":"1398517434"},"map_files_photo_id_array":[{"photo_id":"1398517443","filename":"file5"},{"photo_id":"1398517431","filename":"file2"},{"photo_id":"1398517439","filename":"file4"},{"photo_id":"1398517427","filename":"file1"},{"photo_id":"1398517423","filename":"file0"},{"photo_id":"1398517434","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517439":["hashtag1","hashtag2"]},{"1398517427":["hashtag1","hashtag2"]},{"1398517423":["hashtag1","hashtag2"]},{"1398517443":["hashtag1","hashtag2"]},{"1398517431":["hashtag1","hashtag2"]},{"1398517434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517439, 1398517427, 1398517423, 1398517443, 1398517431, 1398517434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.578476905822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:15:03.007459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_35_9682.jpg', '/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_45_9717.jpg', '/home/pi/Desktop/images/09122025/08/47/image_09122025_08_48_05_9809.jpg', '/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_15_9645.jpg', '/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_24_9717.jpg', '/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_35_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_35_9682.jpg
/home/pi/Desktop/images/09122025/08/47/image_09122025_08_47_45_9717.jpg
/home/pi/Desktop/images/09122025/08/47/image_09122025_08_48_05_9809.jpg
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_15_9645.jpg
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_24_9717.jpg
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_35_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517475","1398517469","1398517463","1398517471","1398517479","1398517466"],"photo_ids_order":["1398517463","1398517466","1398517469","1398517471","1398517475","1398517479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8fe79b1370ae4dc6c591b119a4c8e852.jpg","text":"TemporaryFile(/tmp/multipartBody3454141279857862003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_48_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e4f550010fd26e317d2b9cbfa81a34cf.jpg","text":"TemporaryFile(/tmp/multipartBody3330061366157897118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_48_05_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f9b8bcefadbcc86ab7796388a8a57f4.jpg","text":"TemporaryFile(/tmp/multipartBody2119808012910931267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_47_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fde6257ac620ef2bbff226fdc3f3cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody4908495752833374793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_48_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce3c6c87106225d8ef7edbdae3af5a12.jpg","text":"TemporaryFile(/tmp/multipartBody8149973954763041276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_48_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/443f454bf0f19129d5c1311e47a0d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2776338782163647886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765296963886,"filename":"image_09122025_08_47_45_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517469","file1":"1398517466","file0":"1398517463","file4":"1398517475","file5":"1398517479","file3":"1398517471"},"map_files_photo_id_array":[{"photo_id":"1398517479","filename":"file5"},{"photo_id":"1398517469","filename":"file2"},{"photo_id":"1398517475","filename":"file4"},{"photo_id":"1398517466","filename":"file1"},{"photo_id":"1398517463","filename":"file0"},{"photo_id":"1398517471","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517475":["hashtag1","hashtag2"]},{"1398517469":["hashtag1","hashtag2"]},{"1398517463":["hashtag1","hashtag2"]},{"1398517471":["hashtag1","hashtag2"]},{"1398517479":["hashtag1","hashtag2"]},{"1398517466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517475, 1398517469, 1398517463, 1398517471, 1398517479, 1398517466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1914598941803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:16:03.064398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_45_10139.jpg', '/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_55_9669.jpg', '/home/pi/Desktop/images/09122025/08/48/image_09122025_08_49_05_9793.jpg', '/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_15_9767.jpg', '/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_25_10629.jpg', '/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_45_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_45_10139.jpg
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_48_55_9669.jpg
/home/pi/Desktop/images/09122025/08/48/image_09122025_08_49_05_9793.jpg
/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_15_9767.jpg
/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_25_10629.jpg
/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_45_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517514","1398517489","1398517510","1398517497","1398517518","1398517506"],"photo_ids_order":["1398517489","1398517497","1398517506","1398517510","1398517514","1398517518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ac53a3c9a1366bb501c2257bae005f7.jpg","text":"TemporaryFile(/tmp/multipartBody4814237025488233716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_49_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de1924b1fb4536cd0da3898fde059642.jpg","text":"TemporaryFile(/tmp/multipartBody3276267377646554355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_48_45_10139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2d8809f389d8ac0889270cb4a435b61.jpg","text":"TemporaryFile(/tmp/multipartBody3264217767171944848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_49_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cdda41bcb56a78b13e1000a5fe2b9f59.jpg","text":"TemporaryFile(/tmp/multipartBody3063719109448898090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_48_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07c0a78ec494ed6d5f725fee415c49f4.jpg","text":"TemporaryFile(/tmp/multipartBody8688576722775742826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_49_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86e519393b0724b7d1108d84413d8d26.jpg","text":"TemporaryFile(/tmp/multipartBody4418004784244947767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297023904,"filename":"image_09122025_08_49_05_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517506","file1":"1398517497","file0":"1398517489","file4":"1398517514","file5":"1398517518","file3":"1398517510"},"map_files_photo_id_array":[{"photo_id":"1398517518","filename":"file5"},{"photo_id":"1398517506","filename":"file2"},{"photo_id":"1398517514","filename":"file4"},{"photo_id":"1398517497","filename":"file1"},{"photo_id":"1398517489","filename":"file0"},{"photo_id":"1398517510","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517514":["hashtag1","hashtag2"]},{"1398517489":["hashtag1","hashtag2"]},{"1398517510":["hashtag1","hashtag2"]},{"1398517497":["hashtag1","hashtag2"]},{"1398517518":["hashtag1","hashtag2"]},{"1398517506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517514, 1398517489, 1398517510, 1398517497, 1398517518, 1398517506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15447473526001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:17:02.609871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_55_10765.jpg', '/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_15_9524.jpg', '/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_25_10629.jpg', '/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_35_9573.jpg', '/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_25_9673.jpg', '/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_35_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/49/image_09122025_08_49_55_10765.jpg
/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_15_9524.jpg
/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_25_10629.jpg
/home/pi/Desktop/images/09122025/08/50/image_09122025_08_50_35_9573.jpg
/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_25_9673.jpg
/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_35_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517541","1398517558","1398517552","1398517555","1398517548","1398517533"],"photo_ids_order":["1398517533","1398517541","1398517548","1398517552","1398517555","1398517558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66913aa3242396c2161b7af8dd9419b8.jpg","text":"TemporaryFile(/tmp/multipartBody8281443726694873557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_50_15_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24066cedfc7a7c88793516aadebff623.jpg","text":"TemporaryFile(/tmp/multipartBody3632770629526313289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_51_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ebc63c48a3b8e4d8f02f8f7bb3f57f1d.jpg","text":"TemporaryFile(/tmp/multipartBody125050036783602089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_50_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6138e8e21b65ca0fc07c9a71421d707.jpg","text":"TemporaryFile(/tmp/multipartBody3336302224533025453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_51_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6f3ddb2bc991238904ba0de3beed245.jpg","text":"TemporaryFile(/tmp/multipartBody3368375527608982844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_50_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc7764b33cb8bae33ccd1b8641092e81.jpg","text":"TemporaryFile(/tmp/multipartBody9219149686388682547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297083541,"filename":"image_09122025_08_49_55_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517548","file1":"1398517541","file0":"1398517533","file4":"1398517555","file5":"1398517558","file3":"1398517552"},"map_files_photo_id_array":[{"photo_id":"1398517558","filename":"file5"},{"photo_id":"1398517548","filename":"file2"},{"photo_id":"1398517555","filename":"file4"},{"photo_id":"1398517541","filename":"file1"},{"photo_id":"1398517533","filename":"file0"},{"photo_id":"1398517552","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517541":["hashtag1","hashtag2"]},{"1398517558":["hashtag1","hashtag2"]},{"1398517552":["hashtag1","hashtag2"]},{"1398517555":["hashtag1","hashtag2"]},{"1398517548":["hashtag1","hashtag2"]},{"1398517533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517541, 1398517558, 1398517552, 1398517555, 1398517548, 1398517533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77863121032715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:18:02.576576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_45_10600.jpg', '/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_55_9759.jpg', '/home/pi/Desktop/images/09122025/08/51/image_09122025_08_52_05_9872.jpg', '/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_05_9561.jpg', '/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_15_10611.jpg', '/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_45_10600.jpg
/home/pi/Desktop/images/09122025/08/51/image_09122025_08_51_55_9759.jpg
/home/pi/Desktop/images/09122025/08/51/image_09122025_08_52_05_9872.jpg
/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_05_9561.jpg
/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_15_10611.jpg
/home/pi/Desktop/images/09122025/08/53/image_09122025_08_53_55_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517588","1398517590","1398517581","1398517595","1398517592","1398517586"],"photo_ids_order":["1398517581","1398517586","1398517588","1398517590","1398517592","1398517595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/050525a92df444e924ab49446e5d837f.jpg","text":"TemporaryFile(/tmp/multipartBody8491083532741657485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_52_05_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36911e88a850f5bb247b25a52d6b13f5.jpg","text":"TemporaryFile(/tmp/multipartBody6524185240016001763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_53_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7234ed1d32dc8d8f556329fe2dc57b38.jpg","text":"TemporaryFile(/tmp/multipartBody4040936618886325309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_51_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/939adf4b999018d35636520866162a99.jpg","text":"TemporaryFile(/tmp/multipartBody5451322900192072415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_53_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6e3055a2480886bd44f26c1ef4428d6.jpg","text":"TemporaryFile(/tmp/multipartBody5553636146038200813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_53_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/816b4165103f04da5762c426191ee5b8.jpg","text":"TemporaryFile(/tmp/multipartBody5146679618942920871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297143453,"filename":"image_09122025_08_51_55_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517588","file1":"1398517586","file0":"1398517581","file4":"1398517592","file5":"1398517595","file3":"1398517590"},"map_files_photo_id_array":[{"photo_id":"1398517595","filename":"file5"},{"photo_id":"1398517588","filename":"file2"},{"photo_id":"1398517592","filename":"file4"},{"photo_id":"1398517586","filename":"file1"},{"photo_id":"1398517581","filename":"file0"},{"photo_id":"1398517590","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517588":["hashtag1","hashtag2"]},{"1398517590":["hashtag1","hashtag2"]},{"1398517581":["hashtag1","hashtag2"]},{"1398517595":["hashtag1","hashtag2"]},{"1398517592":["hashtag1","hashtag2"]},{"1398517586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517588, 1398517590, 1398517581, 1398517595, 1398517592, 1398517586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38587784767151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:19:03.290748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_35_10516.jpg', '/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_45_9512.jpg', '/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_55_10695.jpg', '/home/pi/Desktop/images/09122025/08/54/image_09122025_08_55_05_9515.jpg', '/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_15_10568.jpg', '/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_25_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_35_10516.jpg
/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_45_9512.jpg
/home/pi/Desktop/images/09122025/08/54/image_09122025_08_54_55_10695.jpg
/home/pi/Desktop/images/09122025/08/54/image_09122025_08_55_05_9515.jpg
/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_15_10568.jpg
/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_25_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517631","1398517622","1398517625","1398517618","1398517627","1398517635"],"photo_ids_order":["1398517618","1398517622","1398517625","1398517627","1398517631","1398517635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef2b78eb86c7d93e5d34312cb1ce928d.jpg","text":"TemporaryFile(/tmp/multipartBody6572174421003717181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_55_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b306c95ca4639c54e1cd8a2c11ab1b8.jpg","text":"TemporaryFile(/tmp/multipartBody3624531091714673043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_54_45_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa343460db73773211f009a9c5b2c358.jpg","text":"TemporaryFile(/tmp/multipartBody8706809580638530413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_54_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d56a339cf3300047277bf380ef19a4af.jpg","text":"TemporaryFile(/tmp/multipartBody6165043562339657159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_54_35_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/400c172d6ed30575fd90603c6b486187.jpg","text":"TemporaryFile(/tmp/multipartBody7707087709892005428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_55_05_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db452064cc6eea98ead04791b3c927f6.jpg","text":"TemporaryFile(/tmp/multipartBody418696837045819436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297204357,"filename":"image_09122025_08_55_25_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517625","file1":"1398517622","file0":"1398517618","file4":"1398517631","file5":"1398517635","file3":"1398517627"},"map_files_photo_id_array":[{"photo_id":"1398517635","filename":"file5"},{"photo_id":"1398517625","filename":"file2"},{"photo_id":"1398517631","filename":"file4"},{"photo_id":"1398517622","filename":"file1"},{"photo_id":"1398517618","filename":"file0"},{"photo_id":"1398517627","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517631":["hashtag1","hashtag2"]},{"1398517622":["hashtag1","hashtag2"]},{"1398517625":["hashtag1","hashtag2"]},{"1398517618":["hashtag1","hashtag2"]},{"1398517627":["hashtag1","hashtag2"]},{"1398517635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517631, 1398517622, 1398517625, 1398517618, 1398517627, 1398517635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91380763053894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:20:02.994465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_35_9739.jpg', '/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_45_9656.jpg', '/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_55_10708.jpg', '/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_05_9463.jpg', '/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_15_10660.jpg', '/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_25_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_35_9739.jpg
/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_45_9656.jpg
/home/pi/Desktop/images/09122025/08/55/image_09122025_08_55_55_10708.jpg
/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_05_9463.jpg
/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_15_10660.jpg
/home/pi/Desktop/images/09122025/08/56/image_09122025_08_56_25_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517655","1398517663","1398517651","1398517645","1398517648","1398517659"],"photo_ids_order":["1398517645","1398517648","1398517651","1398517655","1398517659","1398517663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ffa16cde677bf1e9141761629263f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5880878375857986525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_56_05_9463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c996d2c31411738605f4f3b82723cba.jpg","text":"TemporaryFile(/tmp/multipartBody7944838427016305137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_56_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac38dcc5109d7c20f4652a335799aa6c.jpg","text":"TemporaryFile(/tmp/multipartBody4905225553540017635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_55_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43932c42892ef15b258148d85374235f.jpg","text":"TemporaryFile(/tmp/multipartBody1735095374910898085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_55_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78be1f58caa926cf9f2a072d30222c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6767073210378247042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_55_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06a2d0ea75bc399db52f0d7f416cc2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3375043475709620542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297263779,"filename":"image_09122025_08_56_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517651","file1":"1398517648","file0":"1398517645","file4":"1398517659","file5":"1398517663","file3":"1398517655"},"map_files_photo_id_array":[{"photo_id":"1398517663","filename":"file5"},{"photo_id":"1398517651","filename":"file2"},{"photo_id":"1398517659","filename":"file4"},{"photo_id":"1398517648","filename":"file1"},{"photo_id":"1398517645","filename":"file0"},{"photo_id":"1398517655","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517655":["hashtag1","hashtag2"]},{"1398517663":["hashtag1","hashtag2"]},{"1398517651":["hashtag1","hashtag2"]},{"1398517645":["hashtag1","hashtag2"]},{"1398517648":["hashtag1","hashtag2"]},{"1398517659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517655, 1398517663, 1398517651, 1398517645, 1398517648, 1398517659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08339524269104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:21:02.639002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/56/image_09122025_08_57_05_9699.jpg', '/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_14_9672.jpg', '/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_25_10622.jpg', '/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_35_9680.jpg', '/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_55_10745.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_15_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/56/image_09122025_08_57_05_9699.jpg
/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_14_9672.jpg
/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_25_10622.jpg
/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_35_9680.jpg
/home/pi/Desktop/images/09122025/08/57/image_09122025_08_57_55_10745.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_15_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517693","1398517705","1398517695","1398517689","1398517701","1398517697"],"photo_ids_order":["1398517689","1398517693","1398517695","1398517697","1398517701","1398517705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/588e36f17d714481da81d959fed226b5.jpg","text":"TemporaryFile(/tmp/multipartBody3540495087727658664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_57_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6082ad6d9d813cc051978d1f80ae18ab.jpg","text":"TemporaryFile(/tmp/multipartBody6730969999504365005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_58_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e60718c07864b28e68bc2f8f2ea69e92.jpg","text":"TemporaryFile(/tmp/multipartBody4792314940616559592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_57_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61975d983c11c3588205aaccc30438e2.jpg","text":"TemporaryFile(/tmp/multipartBody8892753607227989769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_57_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f3c2e726837676a5ad00f5a94cf4f37.jpg","text":"TemporaryFile(/tmp/multipartBody2559914142994842412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_57_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/017686bd2a60968b708deb0d429edb99.jpg","text":"TemporaryFile(/tmp/multipartBody6320917822297662891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297323609,"filename":"image_09122025_08_57_35_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517695","file1":"1398517693","file0":"1398517689","file4":"1398517701","file5":"1398517705","file3":"1398517697"},"map_files_photo_id_array":[{"photo_id":"1398517705","filename":"file5"},{"photo_id":"1398517695","filename":"file2"},{"photo_id":"1398517701","filename":"file4"},{"photo_id":"1398517693","filename":"file1"},{"photo_id":"1398517689","filename":"file0"},{"photo_id":"1398517697","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517693":["hashtag1","hashtag2"]},{"1398517705":["hashtag1","hashtag2"]},{"1398517695":["hashtag1","hashtag2"]},{"1398517689":["hashtag1","hashtag2"]},{"1398517701":["hashtag1","hashtag2"]},{"1398517697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517693, 1398517705, 1398517695, 1398517689, 1398517701, 1398517697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30024719238281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:22:02.518004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_25_10699.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_35_9815.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_54_9708.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_59_05_10659.jpg', '/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_15_9645.jpg', '/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_25_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_25_10699.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_35_9815.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_54_9708.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_59_05_10659.jpg
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_15_9645.jpg
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_25_9881.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5259385108947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:22:12.078162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/57/image_08122025_12_58_05_9665.jpg', '/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_15_9908.jpg', '/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_26_10848.jpg', '/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_45_9540.jpg', '/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_56_10813.jpg', '/home/pi/Desktop/images/08122025/12/59/image_08122025_12_59_26_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/57/image_08122025_12_58_05_9665.jpg
/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_15_9908.jpg
/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_26_10848.jpg
/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_45_9540.jpg
/home/pi/Desktop/images/08122025/12/58/image_08122025_12_58_56_10813.jpg
/home/pi/Desktop/images/08122025/12/59/image_08122025_12_59_26_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517745","1398517742","1398517747","1398517732","1398517728","1398517737"],"photo_ids_order":["1398517728","1398517732","1398517737","1398517742","1398517745","1398517747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a61b98305772a4bbaaccac774cf44e10.jpg","text":"TemporaryFile(/tmp/multipartBody3517930873904841143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_58_56_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f28cd812203ce739179bd0b22c091ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3767499539331199949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_58_45_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03adb182d2dd4de4e151fbe00b7d4ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2680287117077053376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_59_26_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3c641e1c127dccbbcfc9c8cc1b14be4.jpg","text":"TemporaryFile(/tmp/multipartBody534312281727053567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_58_15_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fdd1c9e55720cdfdd112cd8d6eea5917.jpg","text":"TemporaryFile(/tmp/multipartBody3351960111109916637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_58_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e696ddb07e3e457127d3118af5509c06.jpg","text":"TemporaryFile(/tmp/multipartBody2317790854850102111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297394118,"filename":"image_08122025_12_58_26_10848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517737","file1":"1398517732","file0":"1398517728","file4":"1398517745","file5":"1398517747","file3":"1398517742"},"map_files_photo_id_array":[{"photo_id":"1398517747","filename":"file5"},{"photo_id":"1398517737","filename":"file2"},{"photo_id":"1398517745","filename":"file4"},{"photo_id":"1398517732","filename":"file1"},{"photo_id":"1398517728","filename":"file0"},{"photo_id":"1398517742","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398517745":["hashtag1","hashtag2"]},{"1398517742":["hashtag1","hashtag2"]},{"1398517747":["hashtag1","hashtag2"]},{"1398517732":["hashtag1","hashtag2"]},{"1398517728":["hashtag1","hashtag2"]},{"1398517737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398517745, 1398517742, 1398517747, 1398517732, 1398517728, 1398517737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44063067436218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:23:03.080441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_25_10699.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_35_9815.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_54_9708.jpg', '/home/pi/Desktop/images/09122025/08/58/image_09122025_08_59_05_10659.jpg', '/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_15_9645.jpg', '/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_25_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_25_10699.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_35_9815.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_58_54_9708.jpg
/home/pi/Desktop/images/09122025/08/58/image_09122025_08_59_05_10659.jpg
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_15_9645.jpg
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_25_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517779","1398517773","1398517776","1398517781","1398517784","1398517778"],"photo_ids_order":["1398517773","1398517776","1398517778","1398517779","1398517781","1398517784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30c1c35ed01601fb313af129c6f435e8.jpg","text":"TemporaryFile(/tmp/multipartBody626346555185598627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_59_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92584a56f7e399db48155fa91140fc79.jpg","text":"TemporaryFile(/tmp/multipartBody7486048986026724534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_58_25_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1bd5184c8bacf3b0e0ed78ab1fc94b4.jpg","text":"TemporaryFile(/tmp/multipartBody5672345123607538583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_58_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c2fb6147623c234c3cc04249972b2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6455610361180365215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_59_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47a4f2d86761f27b87fcc59f9f06e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5836746241726281654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_59_25_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74b0047dec184f2e5aec44c004eb71fb.jpg","text":"TemporaryFile(/tmp/multipartBody1959473107719145188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297444085,"filename":"image_09122025_08_58_54_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517778","file1":"1398517776","file0":"1398517773","file4":"1398517781","file5":"1398517784","file3":"1398517779"},"map_files_photo_id_array":[{"photo_id":"1398517784","filename":"file5"},{"photo_id":"1398517778","filename":"file2"},{"photo_id":"1398517781","filename":"file4"},{"photo_id":"1398517776","filename":"file1"},{"photo_id":"1398517773","filename":"file0"},{"photo_id":"1398517779","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517779":["hashtag1","hashtag2"]},{"1398517773":["hashtag1","hashtag2"]},{"1398517776":["hashtag1","hashtag2"]},{"1398517781":["hashtag1","hashtag2"]},{"1398517784":["hashtag1","hashtag2"]},{"1398517778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517779, 1398517773, 1398517776, 1398517781, 1398517784, 1398517778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41008639335632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:24:03.243782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_35_10501.jpg', '/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_54_9693.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_15_10138.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_25_10826.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_35_9638.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_45_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_35_10501.jpg
/home/pi/Desktop/images/09122025/08/59/image_09122025_08_59_54_9693.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_15_10138.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_25_10826.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_35_9638.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_45_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517802","1398517804","1398517809","1398517812","1398517806","1398517799"],"photo_ids_order":["1398517799","1398517802","1398517804","1398517806","1398517809","1398517812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a035924ed34cc54ab88d73f61c742637.jpg","text":"TemporaryFile(/tmp/multipartBody5999350336967576161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_08_59_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53aeaa09ba0af742bdf2f3dc426bfb4f.jpg","text":"TemporaryFile(/tmp/multipartBody26728013095415802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_09_00_15_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8cce384441b4c9d59bf4c66a105f3ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6543188597316941914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_09_00_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dab8be729a811e3ae435339240a819ec.jpg","text":"TemporaryFile(/tmp/multipartBody7747686088746715004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_09_00_45_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5536b96452e60cd1a8142c28018a6922.jpg","text":"TemporaryFile(/tmp/multipartBody2283440873569337053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_09_00_25_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2075de3060ce4b0bfe790a68ecc0904.jpg","text":"TemporaryFile(/tmp/multipartBody1847409579971685636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297504253,"filename":"image_09122025_08_59_35_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517804","file1":"1398517802","file0":"1398517799","file4":"1398517809","file5":"1398517812","file3":"1398517806"},"map_files_photo_id_array":[{"photo_id":"1398517812","filename":"file5"},{"photo_id":"1398517804","filename":"file2"},{"photo_id":"1398517809","filename":"file4"},{"photo_id":"1398517802","filename":"file1"},{"photo_id":"1398517799","filename":"file0"},{"photo_id":"1398517806","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517802":["hashtag1","hashtag2"]},{"1398517804":["hashtag1","hashtag2"]},{"1398517809":["hashtag1","hashtag2"]},{"1398517812":["hashtag1","hashtag2"]},{"1398517806":["hashtag1","hashtag2"]},{"1398517799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517802, 1398517804, 1398517809, 1398517812, 1398517806, 1398517799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33056306838989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:25:03.522266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_57_12329.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_01_05_7603.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_15_10764.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_25_9671.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_35_9552.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_45_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_57_12329.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_01_05_7603.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_15_10764.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_25_9671.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_35_9552.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_45_10704.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.535090446472168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:25:12.696042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/12/59/image_08122025_12_59_56_10840.jpg', '/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_14_10056.jpg', '/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_24_10215.jpg', '/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_34_9831.jpg', '/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_45_10625.jpg', '/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_55_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/12/59/image_08122025_12_59_56_10840.jpg
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_14_10056.jpg
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_24_10215.jpg
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_34_9831.jpg
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_45_10625.jpg
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_00_55_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517859","1398517855","1398517843","1398517851","1398517845","1398517848"],"photo_ids_order":["1398517843","1398517845","1398517848","1398517851","1398517855","1398517859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af152ecaa3359e7038aeee8bef3f8471.jpg","text":"TemporaryFile(/tmp/multipartBody2669163171789466065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_13_00_55_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3dd74c46d4ccd616e8b782b3cb2c43a2.jpg","text":"TemporaryFile(/tmp/multipartBody2285060181471689877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_13_00_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4a065ca55277af1e2c3695c87bdc30a.jpg","text":"TemporaryFile(/tmp/multipartBody3130579615374902371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_12_59_56_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f7f9e4b261fff948bbb147ead8c923ce.jpg","text":"TemporaryFile(/tmp/multipartBody6225261124947644470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_13_00_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c9708631a33e5355f083d51bf058592.jpg","text":"TemporaryFile(/tmp/multipartBody300571900185587450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_13_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa884c1976b232c6fc4ed33ba7d9be9a.jpg","text":"TemporaryFile(/tmp/multipartBody7438682343387476800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297574624,"filename":"image_08122025_13_00_24_10215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517848","file1":"1398517845","file0":"1398517843","file4":"1398517855","file5":"1398517859","file3":"1398517851"},"map_files_photo_id_array":[{"photo_id":"1398517859","filename":"file5"},{"photo_id":"1398517848","filename":"file2"},{"photo_id":"1398517855","filename":"file4"},{"photo_id":"1398517845","filename":"file1"},{"photo_id":"1398517843","filename":"file0"},{"photo_id":"1398517851","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398517859":["hashtag1","hashtag2"]},{"1398517855":["hashtag1","hashtag2"]},{"1398517843":["hashtag1","hashtag2"]},{"1398517851":["hashtag1","hashtag2"]},{"1398517845":["hashtag1","hashtag2"]},{"1398517848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398517859, 1398517855, 1398517843, 1398517851, 1398517845, 1398517848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78944730758667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:26:02.383313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_57_12329.jpg', '/home/pi/Desktop/images/09122025/09/00/image_09122025_09_01_05_7603.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_15_10764.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_25_9671.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_35_9552.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_45_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_00_57_12329.jpg
/home/pi/Desktop/images/09122025/09/00/image_09122025_09_01_05_7603.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_15_10764.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_25_9671.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_35_9552.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_45_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517888","1398517882","1398517881","1398517884","1398517893","1398517877"],"photo_ids_order":["1398517877","1398517881","1398517882","1398517884","1398517888","1398517893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17557ddc8e950db71b20641380f83c34.jpg","text":"TemporaryFile(/tmp/multipartBody7714640864160140168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_01_35_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13de7b2e1c1a5af369b79acf2d9d465a.jpg","text":"TemporaryFile(/tmp/multipartBody296890779965659773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_01_15_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d5413421bf3f4820f4e017a3a2b1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody827641470143133340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_01_05_7603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88077e47dbba0df1240ecd5ff6bb602c.jpg","text":"TemporaryFile(/tmp/multipartBody1836282374145417280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_01_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe3469bba89144dd82ba2cd0cf879692.jpg","text":"TemporaryFile(/tmp/multipartBody7051845097431502910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_01_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/442bd0a2e5461ec9fdfee2cab06d8c91.jpg","text":"TemporaryFile(/tmp/multipartBody440959150389587250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297623216,"filename":"image_09122025_09_00_57_12329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517882","file1":"1398517881","file0":"1398517877","file4":"1398517888","file5":"1398517893","file3":"1398517884"},"map_files_photo_id_array":[{"photo_id":"1398517893","filename":"file5"},{"photo_id":"1398517882","filename":"file2"},{"photo_id":"1398517888","filename":"file4"},{"photo_id":"1398517881","filename":"file1"},{"photo_id":"1398517877","filename":"file0"},{"photo_id":"1398517884","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517888":["hashtag1","hashtag2"]},{"1398517882":["hashtag1","hashtag2"]},{"1398517881":["hashtag1","hashtag2"]},{"1398517884":["hashtag1","hashtag2"]},{"1398517893":["hashtag1","hashtag2"]},{"1398517877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517888, 1398517882, 1398517881, 1398517884, 1398517893, 1398517877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91362142562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:27:02.852230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_55_9656.jpg', '/home/pi/Desktop/images/09122025/09/01/image_09122025_09_02_05_9674.jpg', '/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_15_10641.jpg', '/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_25_9630.jpg', '/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_35_9776.jpg', '/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_45_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_01_55_9656.jpg
/home/pi/Desktop/images/09122025/09/01/image_09122025_09_02_05_9674.jpg
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_15_10641.jpg
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_25_9630.jpg
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_35_9776.jpg
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_45_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517937","1398517933","1398517942","1398517930","1398517935","1398517940"],"photo_ids_order":["1398517930","1398517933","1398517935","1398517937","1398517940","1398517942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cee234d2c31a177ba1e5e36f8eadbd1a.jpg","text":"TemporaryFile(/tmp/multipartBody6954156450606368305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_02_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30fece7acbda94bcc871a19bc7bfc8bf.jpg","text":"TemporaryFile(/tmp/multipartBody6300906355762237072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_02_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/630bf5fd0ed3b54325613a717f99209d.jpg","text":"TemporaryFile(/tmp/multipartBody4076281751381050667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_02_45_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69436fbaf742615d4fffb7dc26a4f09a.jpg","text":"TemporaryFile(/tmp/multipartBody5253364017527553902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_01_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/505f239ed0305d826796d6ee858c636e.jpg","text":"TemporaryFile(/tmp/multipartBody5069629755759615190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_02_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23f42a33d165e6b19d867db06864509c.jpg","text":"TemporaryFile(/tmp/multipartBody4464056343446750270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297683753,"filename":"image_09122025_09_02_35_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517935","file1":"1398517933","file0":"1398517930","file4":"1398517940","file5":"1398517942","file3":"1398517937"},"map_files_photo_id_array":[{"photo_id":"1398517942","filename":"file5"},{"photo_id":"1398517935","filename":"file2"},{"photo_id":"1398517940","filename":"file4"},{"photo_id":"1398517933","filename":"file1"},{"photo_id":"1398517930","filename":"file0"},{"photo_id":"1398517937","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517937":["hashtag1","hashtag2"]},{"1398517933":["hashtag1","hashtag2"]},{"1398517942":["hashtag1","hashtag2"]},{"1398517930":["hashtag1","hashtag2"]},{"1398517935":["hashtag1","hashtag2"]},{"1398517940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517937, 1398517933, 1398517942, 1398517930, 1398517935, 1398517940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97889947891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:28:03.018589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_55_9882.jpg', '/home/pi/Desktop/images/09122025/09/02/image_09122025_09_03_05_9596.jpg', '/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_15_10624.jpg', '/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_25_9789.jpg', '/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_35_9711.jpg', '/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_45_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_02_55_9882.jpg
/home/pi/Desktop/images/09122025/09/02/image_09122025_09_03_05_9596.jpg
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_15_10624.jpg
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_25_9789.jpg
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_35_9711.jpg
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_45_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398517958","1398517966","1398517969","1398517960","1398517963","1398517961"],"photo_ids_order":["1398517958","1398517960","1398517961","1398517963","1398517966","1398517969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dec4068a474fa0607591a87d67b5708.jpg","text":"TemporaryFile(/tmp/multipartBody7466275253678409724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_02_55_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9d3d194b1fba9fc7efe898d894f455e.jpg","text":"TemporaryFile(/tmp/multipartBody5562291412909574222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_03_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d7434339d9f907832f2173b6b4bb98a.jpg","text":"TemporaryFile(/tmp/multipartBody109522613030029309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_03_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bafef084ded62be66b916bed6caa2035.jpg","text":"TemporaryFile(/tmp/multipartBody3734177437948569572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_03_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d352b1e653e7db275af19e6de2ee1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3418971971026067226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_03_25_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/becbff0a7aa6af9186dcf0a2edece885.jpg","text":"TemporaryFile(/tmp/multipartBody8330946753822843416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297743877,"filename":"image_09122025_09_03_15_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517961","file1":"1398517960","file0":"1398517958","file4":"1398517966","file5":"1398517969","file3":"1398517963"},"map_files_photo_id_array":[{"photo_id":"1398517969","filename":"file5"},{"photo_id":"1398517961","filename":"file2"},{"photo_id":"1398517966","filename":"file4"},{"photo_id":"1398517960","filename":"file1"},{"photo_id":"1398517958","filename":"file0"},{"photo_id":"1398517963","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398517958":["hashtag1","hashtag2"]},{"1398517966":["hashtag1","hashtag2"]},{"1398517969":["hashtag1","hashtag2"]},{"1398517960":["hashtag1","hashtag2"]},{"1398517963":["hashtag1","hashtag2"]},{"1398517961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398517958, 1398517966, 1398517969, 1398517960, 1398517963, 1398517961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14929676055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:29:02.778387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_55_10764.jpg', '/home/pi/Desktop/images/09122025/09/03/image_09122025_09_04_05_9657.jpg', '/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_15_9819.jpg', '/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_25_10528.jpg', '/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_35_9620.jpg', '/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_45_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_03_55_10764.jpg
/home/pi/Desktop/images/09122025/09/03/image_09122025_09_04_05_9657.jpg
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_15_9819.jpg
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_25_10528.jpg
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_35_9620.jpg
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_45_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518003","1398517999","1398517987","1398517995","1398518007","1398517992"],"photo_ids_order":["1398517987","1398517992","1398517995","1398517999","1398518003","1398518007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac26d09302d5d8e684de6dc43e078dad.jpg","text":"TemporaryFile(/tmp/multipartBody6557988243722414966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_04_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0cce7638b1df28984fac0f1b96042e15.jpg","text":"TemporaryFile(/tmp/multipartBody8879051216369594116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_04_25_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6f60928531bbb8fc72a5387302f6862.jpg","text":"TemporaryFile(/tmp/multipartBody6570428279106937187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_03_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06e4e7dc9a149e820641d2cd34b2db64.jpg","text":"TemporaryFile(/tmp/multipartBody8498186338341035211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_04_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b12b27cefed7b4c0c150636a27dd8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4608405369082819054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_04_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/696544226d18cf4dab56970bd262d6d0.jpg","text":"TemporaryFile(/tmp/multipartBody6004709436520605850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297803699,"filename":"image_09122025_09_04_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398517995","file1":"1398517992","file0":"1398517987","file4":"1398518003","file5":"1398518007","file3":"1398517999"},"map_files_photo_id_array":[{"photo_id":"1398518007","filename":"file5"},{"photo_id":"1398517995","filename":"file2"},{"photo_id":"1398518003","filename":"file4"},{"photo_id":"1398517992","filename":"file1"},{"photo_id":"1398517987","filename":"file0"},{"photo_id":"1398517999","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518003":["hashtag1","hashtag2"]},{"1398517999":["hashtag1","hashtag2"]},{"1398517987":["hashtag1","hashtag2"]},{"1398517995":["hashtag1","hashtag2"]},{"1398518007":["hashtag1","hashtag2"]},{"1398517992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518003, 1398517999, 1398517987, 1398517995, 1398518007, 1398517992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.812731981277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:30:02.477844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_55_10720.jpg', '/home/pi/Desktop/images/09122025/09/04/image_09122025_09_05_05_9712.jpg', '/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_15_9761.jpg', '/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_25_9747.jpg', '/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_35_10770.jpg', '/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_04_55_10720.jpg
/home/pi/Desktop/images/09122025/09/04/image_09122025_09_05_05_9712.jpg
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_15_9761.jpg
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_25_9747.jpg
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_35_10770.jpg
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518044","1398518043","1398518046","1398518048","1398518042","1398518039"],"photo_ids_order":["1398518039","1398518042","1398518043","1398518044","1398518046","1398518048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/253a15a887f99c12a12f79a61228ce69.jpg","text":"TemporaryFile(/tmp/multipartBody5660372659812717766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_05_25_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ec8731e0c8dd025828d89b65c288240.jpg","text":"TemporaryFile(/tmp/multipartBody8103593327518618566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_05_15_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29687e82cf66910f1db46490cd02189b.jpg","text":"TemporaryFile(/tmp/multipartBody2870596214585872479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_05_35_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21cb9e34ed0e68cd9d1d8dd31245e785.jpg","text":"TemporaryFile(/tmp/multipartBody5470967064537421457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_05_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8cef887a48c0525c009fb2def01a8ee.jpg","text":"TemporaryFile(/tmp/multipartBody490186459019484383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_05_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c2249a520b7f88b464506d086b43ac6.jpg","text":"TemporaryFile(/tmp/multipartBody6171734343896809234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297863396,"filename":"image_09122025_09_04_55_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518043","file1":"1398518042","file0":"1398518039","file4":"1398518046","file5":"1398518048","file3":"1398518044"},"map_files_photo_id_array":[{"photo_id":"1398518048","filename":"file5"},{"photo_id":"1398518043","filename":"file2"},{"photo_id":"1398518046","filename":"file4"},{"photo_id":"1398518042","filename":"file1"},{"photo_id":"1398518039","filename":"file0"},{"photo_id":"1398518044","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518044":["hashtag1","hashtag2"]},{"1398518043":["hashtag1","hashtag2"]},{"1398518046":["hashtag1","hashtag2"]},{"1398518048":["hashtag1","hashtag2"]},{"1398518042":["hashtag1","hashtag2"]},{"1398518039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518044, 1398518043, 1398518046, 1398518048, 1398518042, 1398518039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.75968623161316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:31:03.055228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_55_9594.jpg', '/home/pi/Desktop/images/09122025/09/05/image_09122025_09_06_05_10528.jpg', '/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_15_9706.jpg', '/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_25_10582.jpg', '/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_35_9571.jpg', '/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_05_55_9594.jpg
/home/pi/Desktop/images/09122025/09/05/image_09122025_09_06_05_10528.jpg
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_15_9706.jpg
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_25_10582.jpg
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_35_9571.jpg
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_45_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518065","1398518080","1398518062","1398518097","1398518099","1398518075"],"photo_ids_order":["1398518062","1398518065","1398518075","1398518080","1398518097","1398518099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63238dd2b822091906a24631f2ca8bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2026219261541156912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_06_05_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b2025bb668477b0bc8cc2d0ddddb44e.jpg","text":"TemporaryFile(/tmp/multipartBody76579012986566559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_06_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01561b696ce13e9d782b0fb96815e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody913434189032184864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_05_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45a1e2e8d241c6128be48d184ad4b9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5107506315522857476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_06_35_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8878435b5252af48bff79e082c8cbfb.jpg","text":"TemporaryFile(/tmp/multipartBody1108194983739178088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_06_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/398dada787a72cbac76cea738e9024f5.jpg","text":"TemporaryFile(/tmp/multipartBody5922485110232253629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297923719,"filename":"image_09122025_09_06_15_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518075","file1":"1398518065","file0":"1398518062","file4":"1398518097","file5":"1398518099","file3":"1398518080"},"map_files_photo_id_array":[{"photo_id":"1398518099","filename":"file5"},{"photo_id":"1398518075","filename":"file2"},{"photo_id":"1398518097","filename":"file4"},{"photo_id":"1398518065","filename":"file1"},{"photo_id":"1398518062","filename":"file0"},{"photo_id":"1398518080","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518065":["hashtag1","hashtag2"]},{"1398518080":["hashtag1","hashtag2"]},{"1398518062":["hashtag1","hashtag2"]},{"1398518097":["hashtag1","hashtag2"]},{"1398518099":["hashtag1","hashtag2"]},{"1398518075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518065, 1398518080, 1398518062, 1398518097, 1398518099, 1398518075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.830997467041016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:31:42.257417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_25_2632.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_27_2627.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_31_3562.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_34_2789.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_36_2680.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_43_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_25_2632.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_27_2627.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_31_3562.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_34_2789.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_36_2680.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_43_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518107","1398518118","1398518112","1398518115","1398518109","1398518103"],"photo_ids_order":["1398518103","1398518107","1398518109","1398518112","1398518115","1398518118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf5973a41163bbd70d04d75e7dafd539.jpg","text":"TemporaryFile(/tmp/multipartBody1464446640365196262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_27_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c53703aaa2e57a654915841f8e4f5dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1105132624329446169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_43_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afe20d7e38c5bb1bb6ee03b867b446bd.jpg","text":"TemporaryFile(/tmp/multipartBody6830186122794037090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_34_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81502f9f8c9c66a821de168ee90e3080.jpg","text":"TemporaryFile(/tmp/multipartBody4545931257405821716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_36_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7cfdb6f47b1339c97db8e9c199485f7.jpg","text":"TemporaryFile(/tmp/multipartBody2693089636861564667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_31_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7cbd13dc444d16f1b166685efb3910e0.jpg","text":"TemporaryFile(/tmp/multipartBody4955106367845460736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765297963257,"filename":"image_01112025_19_12_25_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518109","file1":"1398518107","file0":"1398518103","file4":"1398518115","file5":"1398518118","file3":"1398518112"},"map_files_photo_id_array":[{"photo_id":"1398518118","filename":"file5"},{"photo_id":"1398518109","filename":"file2"},{"photo_id":"1398518115","filename":"file4"},{"photo_id":"1398518107","filename":"file1"},{"photo_id":"1398518103","filename":"file0"},{"photo_id":"1398518112","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518107":["hashtag1","hashtag2"]},{"1398518118":["hashtag1","hashtag2"]},{"1398518112":["hashtag1","hashtag2"]},{"1398518115":["hashtag1","hashtag2"]},{"1398518109":["hashtag1","hashtag2"]},{"1398518103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518107, 1398518118, 1398518112, 1398518115, 1398518109, 1398518103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.988194704055786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:32:22.548355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_55_10651.jpg', '/home/pi/Desktop/images/09122025/09/06/image_09122025_09_07_05_9607.jpg', '/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_15_9751.jpg', '/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_25_10572.jpg', '/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_35_9644.jpg', '/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_06_55_10651.jpg
/home/pi/Desktop/images/09122025/09/06/image_09122025_09_07_05_9607.jpg
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_15_9751.jpg
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_25_10572.jpg
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_35_9644.jpg
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_45_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518126","1398518152","1398518128","1398518122","1398518130","1398518124"],"photo_ids_order":["1398518122","1398518124","1398518126","1398518128","1398518130","1398518152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74ba91b82ee856599b206d15be9ff99a.jpg","text":"TemporaryFile(/tmp/multipartBody6762647441359355338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_07_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a1c036eaaa3601e94e32fb78a349081.jpg","text":"TemporaryFile(/tmp/multipartBody1369210762592977741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_07_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18f6d461a02aae0969f0071a1d8234a9.jpg","text":"TemporaryFile(/tmp/multipartBody2907376462058988187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_07_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8bc0aff8ee00d4fbbe5856d01dbbd6f.jpg","text":"TemporaryFile(/tmp/multipartBody6576207547376991902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_06_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fd730c3891e3f536ae65266b4ebc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody767709445064126291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_07_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4879a7acb9d665460a304c9fd7bcbae8.jpg","text":"TemporaryFile(/tmp/multipartBody6056899571257534418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298003153,"filename":"image_09122025_09_07_05_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518126","file1":"1398518124","file0":"1398518122","file4":"1398518130","file5":"1398518152","file3":"1398518128"},"map_files_photo_id_array":[{"photo_id":"1398518152","filename":"file5"},{"photo_id":"1398518126","filename":"file2"},{"photo_id":"1398518130","filename":"file4"},{"photo_id":"1398518124","filename":"file1"},{"photo_id":"1398518122","filename":"file0"},{"photo_id":"1398518128","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518126":["hashtag1","hashtag2"]},{"1398518152":["hashtag1","hashtag2"]},{"1398518128":["hashtag1","hashtag2"]},{"1398518122":["hashtag1","hashtag2"]},{"1398518130":["hashtag1","hashtag2"]},{"1398518124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518126, 1398518152, 1398518128, 1398518122, 1398518130, 1398518124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95066690444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:33:02.546071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_55_9733.jpg', '/home/pi/Desktop/images/09122025/09/07/image_09122025_09_08_05_9734.jpg', '/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_15_9773.jpg', '/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_25_10727.jpg', '/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_35_9515.jpg', '/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_45_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_07_55_9733.jpg
/home/pi/Desktop/images/09122025/09/07/image_09122025_09_08_05_9734.jpg
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_15_9773.jpg
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_25_10727.jpg
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_35_9515.jpg
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_45_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518176","1398518173","1398518167","1398518175","1398518178","1398518171"],"photo_ids_order":["1398518167","1398518171","1398518173","1398518175","1398518176","1398518178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8987f10529108e1da038ee820e0b5e55.jpg","text":"TemporaryFile(/tmp/multipartBody3015486143915108828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_08_35_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a066daa70f967cfd6c2fa4a5abe2d141.jpg","text":"TemporaryFile(/tmp/multipartBody8742348625868678941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_08_15_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74ec21fa91d3136ad3c4d5f9bd6b1671.jpg","text":"TemporaryFile(/tmp/multipartBody1207381956510301539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_07_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00cba7f4ac3c7f68985a3edc11b4abfa.jpg","text":"TemporaryFile(/tmp/multipartBody2492901203819145961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_08_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d1306297d0174c32034c5a3910f09f1.jpg","text":"TemporaryFile(/tmp/multipartBody1430218543193724787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_08_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ca3f661c2ffef4ce080b1ebb227a35c.jpg","text":"TemporaryFile(/tmp/multipartBody3436698247183868937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298043200,"filename":"image_09122025_09_08_05_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518173","file1":"1398518171","file0":"1398518167","file4":"1398518176","file5":"1398518178","file3":"1398518175"},"map_files_photo_id_array":[{"photo_id":"1398518178","filename":"file5"},{"photo_id":"1398518173","filename":"file2"},{"photo_id":"1398518176","filename":"file4"},{"photo_id":"1398518171","filename":"file1"},{"photo_id":"1398518167","filename":"file0"},{"photo_id":"1398518175","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518176":["hashtag1","hashtag2"]},{"1398518173":["hashtag1","hashtag2"]},{"1398518167":["hashtag1","hashtag2"]},{"1398518175":["hashtag1","hashtag2"]},{"1398518178":["hashtag1","hashtag2"]},{"1398518171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518176, 1398518173, 1398518167, 1398518175, 1398518178, 1398518171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25596284866333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:33:41.778299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_46_3672.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_52_2738.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_54_2621.jpg', '/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_58_3627.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_01_2816.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_07_6193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_46_3672.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_52_2738.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_54_2621.jpg
/home/pi/Desktop/images/01112025/19/12/image_01112025_19_12_58_3627.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_01_2816.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_07_6193.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518191","1398518200","1398518187","1398518206","1398518202","1398518195"],"photo_ids_order":["1398518187","1398518191","1398518195","1398518200","1398518202","1398518206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62357ef427b0f5c5f42ccfbc4e95cbe1.jpg","text":"TemporaryFile(/tmp/multipartBody726251163958577566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_12_52_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dedd70b250e93acd9a214dfda2ddc9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7022280755909697769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_12_58_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dad75d8f9d6edf1f580bc1425b4a151.jpg","text":"TemporaryFile(/tmp/multipartBody7527534508751977804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_12_46_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b8a8dd3f46fd0aff6c78b9a7301c370.jpg","text":"TemporaryFile(/tmp/multipartBody3519529650504553820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_13_07_6193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6a1a1a83db5393161ff51ed96d2121e.jpg","text":"TemporaryFile(/tmp/multipartBody4861365593961048887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_13_01_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35ec435c6f05c20d9485000018ae7056.jpg","text":"TemporaryFile(/tmp/multipartBody2069641999087004861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298082753,"filename":"image_01112025_19_12_54_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518195","file1":"1398518191","file0":"1398518187","file4":"1398518202","file5":"1398518206","file3":"1398518200"},"map_files_photo_id_array":[{"photo_id":"1398518206","filename":"file5"},{"photo_id":"1398518195","filename":"file2"},{"photo_id":"1398518202","filename":"file4"},{"photo_id":"1398518191","filename":"file1"},{"photo_id":"1398518187","filename":"file0"},{"photo_id":"1398518200","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518191":["hashtag1","hashtag2"]},{"1398518200":["hashtag1","hashtag2"]},{"1398518187":["hashtag1","hashtag2"]},{"1398518206":["hashtag1","hashtag2"]},{"1398518202":["hashtag1","hashtag2"]},{"1398518195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518191, 1398518200, 1398518187, 1398518206, 1398518202, 1398518195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76078796386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:34:22.038900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_55_10777.jpg', '/home/pi/Desktop/images/09122025/09/08/image_09122025_09_09_05_9655.jpg', '/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_15_9669.jpg', '/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_25_10519.jpg', '/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_35_9579.jpg', '/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_08_55_10777.jpg
/home/pi/Desktop/images/09122025/09/08/image_09122025_09_09_05_9655.jpg
/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_15_9669.jpg
/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_25_10519.jpg
/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_35_9579.jpg
/home/pi/Desktop/images/09122025/09/09/image_09122025_09_09_45_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518219","1398518215","1398518217","1398518226","1398518220","1398518222"],"photo_ids_order":["1398518215","1398518217","1398518219","1398518220","1398518222","1398518226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/494ccd4635696a3164c016aa8e046da5.jpg","text":"TemporaryFile(/tmp/multipartBody2320074547257918749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_09_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1eb64415a3063a7ac33add5d0c7d13d1.jpg","text":"TemporaryFile(/tmp/multipartBody7002403922540674546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_08_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c5295fb69393c223b8539c00e48eab6.jpg","text":"TemporaryFile(/tmp/multipartBody4894260692522549992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_09_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e476c92187b4e230cef527667c4f0d68.jpg","text":"TemporaryFile(/tmp/multipartBody7767623369355791719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_09_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39290bc669ba32afbb9162c2aec83486.jpg","text":"TemporaryFile(/tmp/multipartBody4756514582992593898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_09_25_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d8188fc35ebb1a344a7cc414ac9db1c8.jpg","text":"TemporaryFile(/tmp/multipartBody8688447602475166650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298122644,"filename":"image_09122025_09_09_35_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518219","file1":"1398518217","file0":"1398518215","file4":"1398518222","file5":"1398518226","file3":"1398518220"},"map_files_photo_id_array":[{"photo_id":"1398518226","filename":"file5"},{"photo_id":"1398518219","filename":"file2"},{"photo_id":"1398518222","filename":"file4"},{"photo_id":"1398518217","filename":"file1"},{"photo_id":"1398518215","filename":"file0"},{"photo_id":"1398518220","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518219":["hashtag1","hashtag2"]},{"1398518215":["hashtag1","hashtag2"]},{"1398518217":["hashtag1","hashtag2"]},{"1398518226":["hashtag1","hashtag2"]},{"1398518220":["hashtag1","hashtag2"]},{"1398518222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518219, 1398518215, 1398518217, 1398518226, 1398518220, 1398518222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.024452924728394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:35:02.996637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/09/image_09122025_09_10_05_9561.jpg', '/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_15_10671.jpg', '/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_25_9596.jpg', '/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_55_10589.jpg', '/home/pi/Desktop/images/09122025/09/10/image_09122025_09_11_05_9632.jpg', '/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/09/image_09122025_09_10_05_9561.jpg
/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_15_10671.jpg
/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_25_9596.jpg
/home/pi/Desktop/images/09122025/09/10/image_09122025_09_10_55_10589.jpg
/home/pi/Desktop/images/09122025/09/10/image_09122025_09_11_05_9632.jpg
/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_35_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518251","1398518239","1398518254","1398518247","1398518246","1398518249"],"photo_ids_order":["1398518239","1398518246","1398518247","1398518249","1398518251","1398518254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41c1e29cb8a3a19b7a6da35cad6e4800.jpg","text":"TemporaryFile(/tmp/multipartBody6610837343166694523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_11_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7506e405d505deb4dca0c93f77496fe1.jpg","text":"TemporaryFile(/tmp/multipartBody11973983101197325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_10_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/841390c553039f5d0c2a2311efeaed57.jpg","text":"TemporaryFile(/tmp/multipartBody7259212650338620920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_11_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7dcf61d5fc55c41ae8ceff11461bfc54.jpg","text":"TemporaryFile(/tmp/multipartBody7831870441006038585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_10_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/313b1310646b1093163aa8852d8fb936.jpg","text":"TemporaryFile(/tmp/multipartBody5909808598789327014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_10_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f973f882daaabe913a056746ef548c59.jpg","text":"TemporaryFile(/tmp/multipartBody8416203011495653566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298163606,"filename":"image_09122025_09_10_55_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518247","file1":"1398518246","file0":"1398518239","file4":"1398518251","file5":"1398518254","file3":"1398518249"},"map_files_photo_id_array":[{"photo_id":"1398518254","filename":"file5"},{"photo_id":"1398518247","filename":"file2"},{"photo_id":"1398518251","filename":"file4"},{"photo_id":"1398518246","filename":"file1"},{"photo_id":"1398518239","filename":"file0"},{"photo_id":"1398518249","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518251":["hashtag1","hashtag2"]},{"1398518239":["hashtag1","hashtag2"]},{"1398518254":["hashtag1","hashtag2"]},{"1398518247":["hashtag1","hashtag2"]},{"1398518246":["hashtag1","hashtag2"]},{"1398518249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518251, 1398518239, 1398518254, 1398518247, 1398518246, 1398518249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70416617393494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:35:42.379572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_08_1555.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_10_1722.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_13_2739.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_16_3114.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_19_2745.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_24_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_08_1555.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_10_1722.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_13_2739.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_16_3114.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_19_2745.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_24_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518293","1398518287","1398518281","1398518284","1398518278","1398518263"],"photo_ids_order":["1398518263","1398518278","1398518281","1398518284","1398518287","1398518293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/195791d8baa3dcccfffa572bb86fd01a.jpg","text":"TemporaryFile(/tmp/multipartBody6830598951042018919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_24_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce82f843cf32beb0a629b3ba97c576d0.jpg","text":"TemporaryFile(/tmp/multipartBody8391681987837471268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_19_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07334441d77498da8d34369c170efee8.jpg","text":"TemporaryFile(/tmp/multipartBody5298075464524458379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_13_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f42df494e3d96849f9dfea1544f38f71.jpg","text":"TemporaryFile(/tmp/multipartBody1608240951367732384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_16_3114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8edfbe799d1971cabf6d3418536075ad.jpg","text":"TemporaryFile(/tmp/multipartBody263791600489460386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_10_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54fdac3552acf8209e279da99e2c7c35.jpg","text":"TemporaryFile(/tmp/multipartBody9180351312294594585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298203391,"filename":"image_01112025_19_13_08_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518281","file1":"1398518278","file0":"1398518263","file4":"1398518287","file5":"1398518293","file3":"1398518284"},"map_files_photo_id_array":[{"photo_id":"1398518293","filename":"file5"},{"photo_id":"1398518281","filename":"file2"},{"photo_id":"1398518287","filename":"file4"},{"photo_id":"1398518278","filename":"file1"},{"photo_id":"1398518263","filename":"file0"},{"photo_id":"1398518284","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518293":["hashtag1","hashtag2"]},{"1398518287":["hashtag1","hashtag2"]},{"1398518281":["hashtag1","hashtag2"]},{"1398518284":["hashtag1","hashtag2"]},{"1398518278":["hashtag1","hashtag2"]},{"1398518263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518293, 1398518287, 1398518281, 1398518284, 1398518278, 1398518263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91893196105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:36:32.633413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/00/image_08122025_13_01_04_9709.jpg', '/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_15_10619.jpg', '/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_25_9757.jpg', '/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_34_9599.jpg', '/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_45_10659.jpg', '/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_55_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/00/image_08122025_13_01_04_9709.jpg
/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_15_10619.jpg
/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_25_9757.jpg
/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_34_9599.jpg
/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_45_10659.jpg
/home/pi/Desktop/images/08122025/13/01/image_08122025_13_01_55_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518311","1398518322","1398518316","1398518304","1398518328","1398518333"],"photo_ids_order":["1398518304","1398518311","1398518316","1398518322","1398518328","1398518333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4dbf4947176155eaa7c02095cafc1f00.jpg","text":"TemporaryFile(/tmp/multipartBody5479813211676937481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b5bd10ad40be4f834d5a10b396bbae0.jpg","text":"TemporaryFile(/tmp/multipartBody5175280599384663266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb0435783c1663d09762d0b1f2b6d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6884167469706390652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_25_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a890a1243176860c8b5c242d9063b18.jpg","text":"TemporaryFile(/tmp/multipartBody6208389808160754155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/729f81d0a214f5f5277f4b18b0ef2f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3263126882062109338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e98ff1cf5e4a10cd31ca9d59e7b95aa.jpg","text":"TemporaryFile(/tmp/multipartBody5826272934413473751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298254519,"filename":"image_08122025_13_01_55_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518316","file1":"1398518311","file0":"1398518304","file4":"1398518328","file5":"1398518333","file3":"1398518322"},"map_files_photo_id_array":[{"photo_id":"1398518333","filename":"file5"},{"photo_id":"1398518316","filename":"file2"},{"photo_id":"1398518328","filename":"file4"},{"photo_id":"1398518311","filename":"file1"},{"photo_id":"1398518304","filename":"file0"},{"photo_id":"1398518322","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398518311":["hashtag1","hashtag2"]},{"1398518322":["hashtag1","hashtag2"]},{"1398518316":["hashtag1","hashtag2"]},{"1398518304":["hashtag1","hashtag2"]},{"1398518328":["hashtag1","hashtag2"]},{"1398518333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398518311, 1398518322, 1398518316, 1398518304, 1398518328, 1398518333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87611150741577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:37:12.746667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_04_9471.jpg', '/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_15_10694.jpg', '/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_25_9671.jpg', '/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_34_9627.jpg', '/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_45_10594.jpg', '/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_54_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_04_9471.jpg
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_15_10694.jpg
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_25_9671.jpg
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_34_9627.jpg
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_45_10594.jpg
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_02_54_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518359","1398518350","1398518353","1398518346","1398518348","1398518357"],"photo_ids_order":["1398518346","1398518348","1398518350","1398518353","1398518357","1398518359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fcc621d3b94747370cd8cee8a4b5960d.jpg","text":"TemporaryFile(/tmp/multipartBody2018982791921506060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62a734b7760072bd583117cf49e71e87.jpg","text":"TemporaryFile(/tmp/multipartBody2725247045817946160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3740eef721198f59d1e5fb8d95d52ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7686856493176974863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e80a74de00a5487f41000307249a610.jpg","text":"TemporaryFile(/tmp/multipartBody7271880261983889636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_04_9471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cda779353772ef77ae8b32f452750aad.jpg","text":"TemporaryFile(/tmp/multipartBody7490907524709305636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/639b86c20bcb0d984f225b4e18b108b3.jpg","text":"TemporaryFile(/tmp/multipartBody8480371603052658974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298294535,"filename":"image_08122025_13_02_45_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518350","file1":"1398518348","file0":"1398518346","file4":"1398518357","file5":"1398518359","file3":"1398518353"},"map_files_photo_id_array":[{"photo_id":"1398518359","filename":"file5"},{"photo_id":"1398518350","filename":"file2"},{"photo_id":"1398518357","filename":"file4"},{"photo_id":"1398518348","filename":"file1"},{"photo_id":"1398518346","filename":"file0"},{"photo_id":"1398518353","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398518359":["hashtag1","hashtag2"]},{"1398518350":["hashtag1","hashtag2"]},{"1398518353":["hashtag1","hashtag2"]},{"1398518346":["hashtag1","hashtag2"]},{"1398518348":["hashtag1","hashtag2"]},{"1398518357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398518359, 1398518350, 1398518353, 1398518346, 1398518348, 1398518357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.199615240097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:38:02.505755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_45_10396.jpg', '/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_55_9730.jpg', '/home/pi/Desktop/images/09122025/09/11/image_09122025_09_12_05_10578.jpg', '/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_15_9705.jpg', '/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_25_9605.jpg', '/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_45_10396.jpg
/home/pi/Desktop/images/09122025/09/11/image_09122025_09_11_55_9730.jpg
/home/pi/Desktop/images/09122025/09/11/image_09122025_09_12_05_10578.jpg
/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_15_9705.jpg
/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_25_9605.jpg
/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_35_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518386","1398518380","1398518383","1398518377","1398518371","1398518390"],"photo_ids_order":["1398518371","1398518377","1398518380","1398518383","1398518386","1398518390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bcafeafba0fa53043cf2a1e10776bfa.jpg","text":"TemporaryFile(/tmp/multipartBody9114105961997668816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_12_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f7d35dd1bb6191ba725251195a32d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody4243085153761081031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_12_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7e3e5e10e374e692e5f476011c148f7.jpg","text":"TemporaryFile(/tmp/multipartBody8001724841591487223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_12_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb66105db39cc6bc71cc42809da9970c.jpg","text":"TemporaryFile(/tmp/multipartBody5110646077675241137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_11_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8673bcb8df996b3c7b93e853d5e9e59c.jpg","text":"TemporaryFile(/tmp/multipartBody320523542083834517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_11_45_10396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f24120b8dc93986a32e5a56aab68258.jpg","text":"TemporaryFile(/tmp/multipartBody6187331143630211021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298343090,"filename":"image_09122025_09_12_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518380","file1":"1398518377","file0":"1398518371","file4":"1398518386","file5":"1398518390","file3":"1398518383"},"map_files_photo_id_array":[{"photo_id":"1398518390","filename":"file5"},{"photo_id":"1398518380","filename":"file2"},{"photo_id":"1398518386","filename":"file4"},{"photo_id":"1398518377","filename":"file1"},{"photo_id":"1398518371","filename":"file0"},{"photo_id":"1398518383","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518386":["hashtag1","hashtag2"]},{"1398518380":["hashtag1","hashtag2"]},{"1398518383":["hashtag1","hashtag2"]},{"1398518377":["hashtag1","hashtag2"]},{"1398518371":["hashtag1","hashtag2"]},{"1398518390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518386, 1398518380, 1398518383, 1398518377, 1398518371, 1398518390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93457388877869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:38:42.042200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_32_7906.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_34_1613.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_36_1650.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_41_5401.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_50_8884.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_56_5910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_32_7906.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_34_1613.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_36_1650.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_41_5401.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_50_8884.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_56_5910.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9060368537902832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:39:03.263785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_55_9798.jpg', '/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_16_10544.jpg', '/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_25_8693.jpg', '/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_35_10784.jpg', '/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_45_9658.jpg', '/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/12/image_09122025_09_12_55_9798.jpg
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_16_10544.jpg
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_25_8693.jpg
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_35_10784.jpg
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_45_9658.jpg
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_13_55_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518461","1398518464","1398518452","1398518466","1398518457","1398518459"],"photo_ids_order":["1398518452","1398518457","1398518459","1398518461","1398518464","1398518466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a96a750e803454346f5bb1a9f57d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7184535311225599938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_13_35_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1820c8486f29643dbf128ce1ed2f3f39.jpg","text":"TemporaryFile(/tmp/multipartBody6466325843762568730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_13_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9e6d29a2a64c0421ee2a212bb447b90.jpg","text":"TemporaryFile(/tmp/multipartBody8747940234368995608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_12_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fa95395665eea730670fba9fe9fcdd4.jpg","text":"TemporaryFile(/tmp/multipartBody4898492568177781273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_13_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eca850f4e7053f7e57e1bdc6cf24d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3719540797368021189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_13_16_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/492a471473764b048d53b484b7ecba02.jpg","text":"TemporaryFile(/tmp/multipartBody207398068671385435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298404035,"filename":"image_09122025_09_13_25_8693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518459","file1":"1398518457","file0":"1398518452","file4":"1398518464","file5":"1398518466","file3":"1398518461"},"map_files_photo_id_array":[{"photo_id":"1398518466","filename":"file5"},{"photo_id":"1398518459","filename":"file2"},{"photo_id":"1398518464","filename":"file4"},{"photo_id":"1398518457","filename":"file1"},{"photo_id":"1398518452","filename":"file0"},{"photo_id":"1398518461","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518461":["hashtag1","hashtag2"]},{"1398518464":["hashtag1","hashtag2"]},{"1398518452":["hashtag1","hashtag2"]},{"1398518466":["hashtag1","hashtag2"]},{"1398518457":["hashtag1","hashtag2"]},{"1398518459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518461, 1398518464, 1398518452, 1398518466, 1398518457, 1398518459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60821580886841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:40:02.859585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/13/image_09122025_09_14_05_10514.jpg', '/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_15_9682.jpg', '/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_25_9711.jpg', '/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_35_10580.jpg', '/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_45_9349.jpg', '/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_55_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/13/image_09122025_09_14_05_10514.jpg
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_15_9682.jpg
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_25_9711.jpg
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_35_10580.jpg
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_45_9349.jpg
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_14_55_10520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518491","1398518485","1398518494","1398518487","1398518498","1398518483"],"photo_ids_order":["1398518483","1398518485","1398518487","1398518491","1398518494","1398518498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7975ba26380756e4af51d8dd0a85523.jpg","text":"TemporaryFile(/tmp/multipartBody7581706622943351380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8320f6b0bfef870bd23e4b5216c658a.jpg","text":"TemporaryFile(/tmp/multipartBody3786784121151351601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb0e478eb6f188e4327b36ac4a01cb58.jpg","text":"TemporaryFile(/tmp/multipartBody6643700230927045272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_45_9349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4cbb3a17e0ddfd6df38a792913a31984.jpg","text":"TemporaryFile(/tmp/multipartBody2633211238368787598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c2aed6954b23a06ba99abfb595a16a8.jpg","text":"TemporaryFile(/tmp/multipartBody3025552868178961131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_55_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bba60281dc44f6ce01b8c6ed11fef5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4823828337154339456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298463426,"filename":"image_09122025_09_14_05_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518487","file1":"1398518485","file0":"1398518483","file4":"1398518494","file5":"1398518498","file3":"1398518491"},"map_files_photo_id_array":[{"photo_id":"1398518498","filename":"file5"},{"photo_id":"1398518487","filename":"file2"},{"photo_id":"1398518494","filename":"file4"},{"photo_id":"1398518485","filename":"file1"},{"photo_id":"1398518483","filename":"file0"},{"photo_id":"1398518491","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518491":["hashtag1","hashtag2"]},{"1398518485":["hashtag1","hashtag2"]},{"1398518494":["hashtag1","hashtag2"]},{"1398518487":["hashtag1","hashtag2"]},{"1398518498":["hashtag1","hashtag2"]},{"1398518483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518491, 1398518485, 1398518494, 1398518487, 1398518498, 1398518483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35805082321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:40:42.395785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_32_7906.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_34_1613.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_36_1650.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_41_5401.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_50_8884.jpg', '/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_56_5910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_32_7906.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_34_1613.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_36_1650.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_41_5401.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_50_8884.jpg
/home/pi/Desktop/images/01112025/19/13/image_01112025_19_13_56_5910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518516","1398518521","1398518505","1398518508","1398518525","1398518513"],"photo_ids_order":["1398518505","1398518508","1398518513","1398518516","1398518521","1398518525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec0073f465219d4c23792f17e48cb250.jpg","text":"TemporaryFile(/tmp/multipartBody2197442160395663816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_41_5401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16ad9bfa4f579e57f3358b40ad30d868.jpg","text":"TemporaryFile(/tmp/multipartBody4038600756243405465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_50_8884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f3063fdf517031fa61de9d874d833df.jpg","text":"TemporaryFile(/tmp/multipartBody1425308249600022677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_32_7906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38ee0c2882b44cf4ea254735e9bc6847.jpg","text":"TemporaryFile(/tmp/multipartBody1676614826686558692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_34_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d941342e384772a05111304fa86f954c.jpg","text":"TemporaryFile(/tmp/multipartBody6704863284220404066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_56_5910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f05c4c326939291b00c511e48822869b.jpg","text":"TemporaryFile(/tmp/multipartBody1456982970512645767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298503241,"filename":"image_01112025_19_13_36_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518513","file1":"1398518508","file0":"1398518505","file4":"1398518521","file5":"1398518525","file3":"1398518516"},"map_files_photo_id_array":[{"photo_id":"1398518525","filename":"file5"},{"photo_id":"1398518513","filename":"file2"},{"photo_id":"1398518521","filename":"file4"},{"photo_id":"1398518508","filename":"file1"},{"photo_id":"1398518505","filename":"file0"},{"photo_id":"1398518516","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518516":["hashtag1","hashtag2"]},{"1398518521":["hashtag1","hashtag2"]},{"1398518505":["hashtag1","hashtag2"]},{"1398518508":["hashtag1","hashtag2"]},{"1398518525":["hashtag1","hashtag2"]},{"1398518513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518516, 1398518521, 1398518505, 1398518508, 1398518525, 1398518513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29527187347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:41:22.816904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/14/image_09122025_09_15_05_9580.jpg', '/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_15_10356.jpg', '/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_35_10543.jpg', '/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_45_9596.jpg', '/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_55_10616.jpg', '/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_15_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/14/image_09122025_09_15_05_9580.jpg
/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_15_10356.jpg
/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_35_10543.jpg
/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_45_9596.jpg
/home/pi/Desktop/images/09122025/09/15/image_09122025_09_15_55_10616.jpg
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_15_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518554","1398518537","1398518531","1398518540","1398518534","1398518528"],"photo_ids_order":["1398518528","1398518531","1398518534","1398518537","1398518540","1398518554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7dcd916e988233be80ddcfb3eeb94c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8376202034097141543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_16_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/762312bdd6ddd2e7a58105ffa25daabf.jpg","text":"TemporaryFile(/tmp/multipartBody7891361795326456956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_15_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee53855fbab83a5866244681cd545bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6008072458399449665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_15_15_10356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85ee03149948a22c35600af03613fc56.jpg","text":"TemporaryFile(/tmp/multipartBody1098885742317444225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_15_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89aaa806abd4da8cd295c927e2b8dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody4609618300578122190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_15_35_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd3a8396d58e17fe57f01ed2a2fbcb77.jpg","text":"TemporaryFile(/tmp/multipartBody2628623789617577591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298543392,"filename":"image_09122025_09_15_05_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518534","file1":"1398518531","file0":"1398518528","file4":"1398518540","file5":"1398518554","file3":"1398518537"},"map_files_photo_id_array":[{"photo_id":"1398518554","filename":"file5"},{"photo_id":"1398518534","filename":"file2"},{"photo_id":"1398518540","filename":"file4"},{"photo_id":"1398518531","filename":"file1"},{"photo_id":"1398518528","filename":"file0"},{"photo_id":"1398518537","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518554":["hashtag1","hashtag2"]},{"1398518537":["hashtag1","hashtag2"]},{"1398518531":["hashtag1","hashtag2"]},{"1398518540":["hashtag1","hashtag2"]},{"1398518534":["hashtag1","hashtag2"]},{"1398518528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518554, 1398518537, 1398518531, 1398518540, 1398518534, 1398518528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82572865486145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:42:11.794162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/02/image_08122025_13_03_04_9655.jpg', '/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_15_10656.jpg', '/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_24_9595.jpg', '/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_35_10587.jpg', '/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_44_9510.jpg', '/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/02/image_08122025_13_03_04_9655.jpg
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_15_10656.jpg
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_24_9595.jpg
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_35_10587.jpg
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_44_9510.jpg
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_03_54_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518575","1398518578","1398518571","1398518565","1398518568","1398518576"],"photo_ids_order":["1398518565","1398518568","1398518571","1398518575","1398518576","1398518578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b0ef6f1986ae2f0dcde8dce9a7135c2.jpg","text":"TemporaryFile(/tmp/multipartBody5440533877885390141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_35_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e95b86e1adac38104338ec6ca849dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody2132840089376835816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8980a69f5ec5b1cb769368481f9ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody2196116028986771517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd43cd1203ad6972286c68c6b8610b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7431985211640534859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5b0c5c2ef5d464c401f985f851079ae.jpg","text":"TemporaryFile(/tmp/multipartBody142416363537121203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9132b1a2c29edff07ff58b83935e872.jpg","text":"TemporaryFile(/tmp/multipartBody5144897699710448133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298593587,"filename":"image_08122025_13_03_44_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518571","file1":"1398518568","file0":"1398518565","file4":"1398518576","file5":"1398518578","file3":"1398518575"},"map_files_photo_id_array":[{"photo_id":"1398518578","filename":"file5"},{"photo_id":"1398518571","filename":"file2"},{"photo_id":"1398518576","filename":"file4"},{"photo_id":"1398518568","filename":"file1"},{"photo_id":"1398518565","filename":"file0"},{"photo_id":"1398518575","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398518575":["hashtag1","hashtag2"]},{"1398518578":["hashtag1","hashtag2"]},{"1398518571":["hashtag1","hashtag2"]},{"1398518565":["hashtag1","hashtag2"]},{"1398518568":["hashtag1","hashtag2"]},{"1398518576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398518575, 1398518578, 1398518571, 1398518565, 1398518568, 1398518576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21054744720459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:43:02.815389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_25_9689.jpg', '/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_35_10869.jpg', '/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_45_9504.jpg', '/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_55_9654.jpg', '/home/pi/Desktop/images/09122025/09/16/image_09122025_09_17_05_10764.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_25_9689.jpg
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_35_10869.jpg
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_45_9504.jpg
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_16_55_9654.jpg
/home/pi/Desktop/images/09122025/09/16/image_09122025_09_17_05_10764.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_15_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518603","1398518598","1398518601","1398518594","1398518597","1398518606"],"photo_ids_order":["1398518594","1398518597","1398518598","1398518601","1398518603","1398518606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d3c7084d3f12a187b71c6a98a884ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3082379245697939695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_17_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f32b958b066dbdc42d2e1e2afa59fb18.jpg","text":"TemporaryFile(/tmp/multipartBody8198062611817250286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_16_45_9504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/164f39cdfebb20dd3b9840954d5d8f24.jpg","text":"TemporaryFile(/tmp/multipartBody1598393146616348212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_16_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84379c2a6ac1f7de2e080527cd56d510.jpg","text":"TemporaryFile(/tmp/multipartBody2553672723959298608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_16_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e9099af028615abbcb20db5fdb49e71.jpg","text":"TemporaryFile(/tmp/multipartBody6700553808833423002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_16_35_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a6f161da1a668fc1c5af7a5179712ec.jpg","text":"TemporaryFile(/tmp/multipartBody4475840003191270547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298643443,"filename":"image_09122025_09_17_15_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518598","file1":"1398518597","file0":"1398518594","file4":"1398518603","file5":"1398518606","file3":"1398518601"},"map_files_photo_id_array":[{"photo_id":"1398518606","filename":"file5"},{"photo_id":"1398518598","filename":"file2"},{"photo_id":"1398518603","filename":"file4"},{"photo_id":"1398518597","filename":"file1"},{"photo_id":"1398518594","filename":"file0"},{"photo_id":"1398518601","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518603":["hashtag1","hashtag2"]},{"1398518598":["hashtag1","hashtag2"]},{"1398518601":["hashtag1","hashtag2"]},{"1398518594":["hashtag1","hashtag2"]},{"1398518597":["hashtag1","hashtag2"]},{"1398518606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518603, 1398518598, 1398518601, 1398518594, 1398518597, 1398518606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84195017814636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:43:42.026086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_05_8890.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_07_1815.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_08_1795.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_10_1534.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_15_4727.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_35_20567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_05_8890.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_07_1815.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_08_1795.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_10_1534.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_15_4727.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_35_20567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518621","1398518617","1398518614","1398518631","1398518624","1398518627"],"photo_ids_order":["1398518614","1398518617","1398518621","1398518624","1398518627","1398518631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ae2ac54793be8a7ec179d3821b53f2a.jpg","text":"TemporaryFile(/tmp/multipartBody7973521673941989313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_08_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/075484b57487dbd5d03c7056ec59ad19.jpg","text":"TemporaryFile(/tmp/multipartBody7482353114390435718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_07_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27f4f09bb61614a91b7e18e5e7adc99a.jpg","text":"TemporaryFile(/tmp/multipartBody3687633825292288585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_05_8890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6b32dff2a124f19caceccc5e4108abb0.jpg","text":"TemporaryFile(/tmp/multipartBody5271280843512064070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_35_20567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8eb72d93a81446bb7c4ef8ec2f6988b8.jpg","text":"TemporaryFile(/tmp/multipartBody4851766068907821137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_10_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e3aab32929f7b8d023178ea16928ef1.jpg","text":"TemporaryFile(/tmp/multipartBody2515873791984686303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298683002,"filename":"image_01112025_19_14_15_4727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518621","file1":"1398518617","file0":"1398518614","file4":"1398518627","file5":"1398518631","file3":"1398518624"},"map_files_photo_id_array":[{"photo_id":"1398518631","filename":"file5"},{"photo_id":"1398518621","filename":"file2"},{"photo_id":"1398518627","filename":"file4"},{"photo_id":"1398518617","filename":"file1"},{"photo_id":"1398518614","filename":"file0"},{"photo_id":"1398518624","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518621":["hashtag1","hashtag2"]},{"1398518617":["hashtag1","hashtag2"]},{"1398518614":["hashtag1","hashtag2"]},{"1398518631":["hashtag1","hashtag2"]},{"1398518624":["hashtag1","hashtag2"]},{"1398518627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518621, 1398518617, 1398518614, 1398518631, 1398518624, 1398518627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.232274770736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:44:22.218702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_25_9573.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_35_10255.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_44_9636.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_55_10842.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_18_05_9961.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_15_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_25_9573.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_35_10255.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_44_9636.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_55_10842.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_18_05_9961.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_15_9625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4428584575653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:44:32.216979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/03/image_08122025_13_04_05_10577.jpg', '/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_14_9709.jpg', '/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_25_10618.jpg', '/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_34_9248.jpg', '/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_45_10609.jpg', '/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_55_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/03/image_08122025_13_04_05_10577.jpg
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_14_9709.jpg
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_25_10618.jpg
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_34_9248.jpg
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_45_10609.jpg
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_04_55_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518646","1398518649","1398518660","1398518654","1398518663","1398518666"],"photo_ids_order":["1398518646","1398518649","1398518654","1398518660","1398518663","1398518666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e04dd5b9959a65cbb02c8ac6c5c8a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5877417566221617725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e66df073cca01ca88bb3f8982863fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2510649899201684914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f1ae5b6e052b3564d0e5ff0d804f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody8600727978377734114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_34_9248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63bf6beccff440ab73e20cb4c7c626ed.jpg","text":"TemporaryFile(/tmp/multipartBody2615087093469293586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c8dd68dac558c1e1f74b76bc4b2c00b.jpg","text":"TemporaryFile(/tmp/multipartBody8318506498238583501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2863c4db9fa20a46714b9848fb16727.jpg","text":"TemporaryFile(/tmp/multipartBody6178555524176829097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298734098,"filename":"image_08122025_13_04_55_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518654","file1":"1398518649","file0":"1398518646","file4":"1398518663","file5":"1398518666","file3":"1398518660"},"map_files_photo_id_array":[{"photo_id":"1398518666","filename":"file5"},{"photo_id":"1398518654","filename":"file2"},{"photo_id":"1398518663","filename":"file4"},{"photo_id":"1398518649","filename":"file1"},{"photo_id":"1398518646","filename":"file0"},{"photo_id":"1398518660","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398518646":["hashtag1","hashtag2"]},{"1398518649":["hashtag1","hashtag2"]},{"1398518660":["hashtag1","hashtag2"]},{"1398518654":["hashtag1","hashtag2"]},{"1398518663":["hashtag1","hashtag2"]},{"1398518666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398518646, 1398518649, 1398518660, 1398518654, 1398518663, 1398518666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.797285079956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 17:45:12.369438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/04/image_08122025_13_05_04_9610.jpg', '/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_14_9734.jpg', '/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_25_10944.jpg', '/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_35_9745.jpg', '/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_44_9563.jpg', '/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/04/image_08122025_13_05_04_9610.jpg
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_14_9734.jpg
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_25_10944.jpg
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_35_9745.jpg
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_44_9563.jpg
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_05_55_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518683","1398518689","1398518677","1398518679","1398518681","1398518675"],"photo_ids_order":["1398518675","1398518677","1398518679","1398518681","1398518683","1398518689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f45bf1e3c14c5033424f0e09c11dfbe2.jpg","text":"TemporaryFile(/tmp/multipartBody4732535508773202729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b382dcbe318e6013ad07144d2c6ee894.jpg","text":"TemporaryFile(/tmp/multipartBody8056450786265944534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c8072b63db83ecead027285f4298fa46.jpg","text":"TemporaryFile(/tmp/multipartBody4593769787912192705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db137a522c1ef8d25d5b335992888537.jpg","text":"TemporaryFile(/tmp/multipartBody4180756934118670467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_25_10944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/666f6937034a2506edc02c04bda0d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody9050447070092336565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6dc65088b7578611e5159d7d465e27de.jpg","text":"TemporaryFile(/tmp/multipartBody2084831624460136971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298774184,"filename":"image_08122025_13_05_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518679","file1":"1398518677","file0":"1398518675","file4":"1398518683","file5":"1398518689","file3":"1398518681"},"map_files_photo_id_array":[{"photo_id":"1398518689","filename":"file5"},{"photo_id":"1398518679","filename":"file2"},{"photo_id":"1398518683","filename":"file4"},{"photo_id":"1398518677","filename":"file1"},{"photo_id":"1398518675","filename":"file0"},{"photo_id":"1398518681","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398518683":["hashtag1","hashtag2"]},{"1398518689":["hashtag1","hashtag2"]},{"1398518677":["hashtag1","hashtag2"]},{"1398518679":["hashtag1","hashtag2"]},{"1398518681":["hashtag1","hashtag2"]},{"1398518675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398518683, 1398518689, 1398518677, 1398518679, 1398518681, 1398518675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74929189682007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:46:03.040680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_25_9573.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_35_10255.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_44_9636.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_55_10842.jpg', '/home/pi/Desktop/images/09122025/09/17/image_09122025_09_18_05_9961.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_15_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_25_9573.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_35_10255.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_44_9636.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_17_55_10842.jpg
/home/pi/Desktop/images/09122025/09/17/image_09122025_09_18_05_9961.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_15_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518714","1398518722","1398518719","1398518710","1398518713","1398518717"],"photo_ids_order":["1398518710","1398518713","1398518714","1398518717","1398518719","1398518722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74e86312c35a341d11f0b4625b45fc54.jpg","text":"TemporaryFile(/tmp/multipartBody8890524167587255785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_17_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef63af9ec82cb790093928600875115a.jpg","text":"TemporaryFile(/tmp/multipartBody9012069449690480195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_18_15_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e572ad7b95330cf6379693dc3edd5f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6432561796703258971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_18_05_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a9b0cb9de0a0b657ab363d548bb48d8.jpg","text":"TemporaryFile(/tmp/multipartBody1001644166718814883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_17_25_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/706de7272b34b2b3d30a9e2e9e1a3cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6813254077838976558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_17_35_10255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ea37ef9986e2d8ea5b75eb3528c1647.jpg","text":"TemporaryFile(/tmp/multipartBody1850521670043731269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298823596,"filename":"image_09122025_09_17_55_10842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518714","file1":"1398518713","file0":"1398518710","file4":"1398518719","file5":"1398518722","file3":"1398518717"},"map_files_photo_id_array":[{"photo_id":"1398518722","filename":"file5"},{"photo_id":"1398518714","filename":"file2"},{"photo_id":"1398518719","filename":"file4"},{"photo_id":"1398518713","filename":"file1"},{"photo_id":"1398518710","filename":"file0"},{"photo_id":"1398518717","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518714":["hashtag1","hashtag2"]},{"1398518722":["hashtag1","hashtag2"]},{"1398518719":["hashtag1","hashtag2"]},{"1398518710":["hashtag1","hashtag2"]},{"1398518713":["hashtag1","hashtag2"]},{"1398518717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518714, 1398518722, 1398518719, 1398518710, 1398518713, 1398518717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94697833061218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:46:42.725644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_37_1819.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_39_1714.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_40_1562.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_42_1743.jpg', '/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_44_1725.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_04_20682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_37_1819.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_39_1714.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_40_1562.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_42_1743.jpg
/home/pi/Desktop/images/01112025/19/14/image_01112025_19_14_44_1725.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_04_20682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518737","1398518756","1398518741","1398518735","1398518750","1398518744"],"photo_ids_order":["1398518735","1398518737","1398518741","1398518744","1398518750","1398518756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aedfaf30fc07da2147f43f80818e6935.jpg","text":"TemporaryFile(/tmp/multipartBody436638804796801319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_14_39_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb98ed9b1ea68386ffe41814dc7d29bc.jpg","text":"TemporaryFile(/tmp/multipartBody4455788301232519946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_15_04_20682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0f838f9bd38a1daf9762877995a35f8.jpg","text":"TemporaryFile(/tmp/multipartBody59028742700200573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_14_40_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bd005dbd9bed5cbc40c549c03661c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2041096452240056325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_14_37_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5fb4fc19e6eb0fee63ce0e8cc776aafe.jpg","text":"TemporaryFile(/tmp/multipartBody8532348850006780756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_14_44_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c0951c7d664df471e9be8757b4522fe.jpg","text":"TemporaryFile(/tmp/multipartBody7235759976775598621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298863701,"filename":"image_01112025_19_14_42_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518741","file1":"1398518737","file0":"1398518735","file4":"1398518750","file5":"1398518756","file3":"1398518744"},"map_files_photo_id_array":[{"photo_id":"1398518756","filename":"file5"},{"photo_id":"1398518741","filename":"file2"},{"photo_id":"1398518750","filename":"file4"},{"photo_id":"1398518737","filename":"file1"},{"photo_id":"1398518735","filename":"file0"},{"photo_id":"1398518744","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518737":["hashtag1","hashtag2"]},{"1398518756":["hashtag1","hashtag2"]},{"1398518741":["hashtag1","hashtag2"]},{"1398518735":["hashtag1","hashtag2"]},{"1398518750":["hashtag1","hashtag2"]},{"1398518744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518737, 1398518756, 1398518741, 1398518735, 1398518750, 1398518744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99779939651489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:47:22.003596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_25_9582.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_35_10625.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_45_9593.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_55_10572.jpg', '/home/pi/Desktop/images/09122025/09/18/image_09122025_09_19_05_9544.jpg', '/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_15_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_25_9582.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_35_10625.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_45_9593.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_18_55_10572.jpg
/home/pi/Desktop/images/09122025/09/18/image_09122025_09_19_05_9544.jpg
/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_15_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518785","1398518773","1398518775","1398518769","1398518777","1398518765"],"photo_ids_order":["1398518765","1398518769","1398518773","1398518775","1398518777","1398518785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5b82d83d05d89f165f0fc4157fd49bf.jpg","text":"TemporaryFile(/tmp/multipartBody3720399850465446623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_19_15_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a53b455be315d5fa4a64c69aecd2a70.jpg","text":"TemporaryFile(/tmp/multipartBody2388112489053645394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_18_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0994225ba475e529e97090c22c126f43.jpg","text":"TemporaryFile(/tmp/multipartBody1172669107788921010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_18_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e28e303488ff69d8e8d94c41ed6f6aa.jpg","text":"TemporaryFile(/tmp/multipartBody1562403122889427117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_18_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc3e522904d9c65f819a31ab50e5deb6.jpg","text":"TemporaryFile(/tmp/multipartBody8406233332814586198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_19_05_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06915270fbe1df556eaf0e219adcdb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4067651562347196067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298902559,"filename":"image_09122025_09_18_25_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518773","file1":"1398518769","file0":"1398518765","file4":"1398518777","file5":"1398518785","file3":"1398518775"},"map_files_photo_id_array":[{"photo_id":"1398518785","filename":"file5"},{"photo_id":"1398518773","filename":"file2"},{"photo_id":"1398518777","filename":"file4"},{"photo_id":"1398518769","filename":"file1"},{"photo_id":"1398518765","filename":"file0"},{"photo_id":"1398518775","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518785":["hashtag1","hashtag2"]},{"1398518773":["hashtag1","hashtag2"]},{"1398518775":["hashtag1","hashtag2"]},{"1398518769":["hashtag1","hashtag2"]},{"1398518777":["hashtag1","hashtag2"]},{"1398518765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518785, 1398518773, 1398518775, 1398518769, 1398518777, 1398518765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78234529495239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:48:02.617846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_25_10642.jpg', '/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_35_9795.jpg', '/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_55_9705.jpg', '/home/pi/Desktop/images/09122025/09/19/image_09122025_09_20_05_10598.jpg', '/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_15_9545.jpg', '/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_28_12891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_25_10642.jpg
/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_35_9795.jpg
/home/pi/Desktop/images/09122025/09/19/image_09122025_09_19_55_9705.jpg
/home/pi/Desktop/images/09122025/09/19/image_09122025_09_20_05_10598.jpg
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_15_9545.jpg
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_28_12891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518800","1398518806","1398518796","1398518808","1398518802","1398518804"],"photo_ids_order":["1398518796","1398518800","1398518802","1398518804","1398518806","1398518808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/546a43c12b73e9bc8be60ed072c965f7.jpg","text":"TemporaryFile(/tmp/multipartBody898097772250042501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_19_35_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7afe6a9d72face3384ba69bd99d7c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3100889497958544703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_20_15_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d04773b99028e40114f1c9f49ea382a6.jpg","text":"TemporaryFile(/tmp/multipartBody4588917104642820342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_19_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d40af051a92d508cf3b5b06043a7b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody6570920727672058659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_20_28_12891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f73a44ce0266be3a7fe78fc41317303c.jpg","text":"TemporaryFile(/tmp/multipartBody8824112577210243880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_19_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a078a6a6e25cf912a5c87e0c9eb56b1.jpg","text":"TemporaryFile(/tmp/multipartBody5257881669980599562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298943175,"filename":"image_09122025_09_20_05_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518802","file1":"1398518800","file0":"1398518796","file4":"1398518806","file5":"1398518808","file3":"1398518804"},"map_files_photo_id_array":[{"photo_id":"1398518808","filename":"file5"},{"photo_id":"1398518802","filename":"file2"},{"photo_id":"1398518806","filename":"file4"},{"photo_id":"1398518800","filename":"file1"},{"photo_id":"1398518796","filename":"file0"},{"photo_id":"1398518804","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518800":["hashtag1","hashtag2"]},{"1398518806":["hashtag1","hashtag2"]},{"1398518796":["hashtag1","hashtag2"]},{"1398518808":["hashtag1","hashtag2"]},{"1398518802":["hashtag1","hashtag2"]},{"1398518804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518800, 1398518806, 1398518796, 1398518808, 1398518802, 1398518804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56288695335388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:48:42.161391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_06_1574.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_10_1759.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_23_1691.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_27_4199.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_28_1541.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_30_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_06_1574.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_10_1759.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_23_1691.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_27_4199.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_28_1541.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_30_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518833","1398518836","1398518830","1398518824","1398518826","1398518820"],"photo_ids_order":["1398518820","1398518824","1398518826","1398518830","1398518833","1398518836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f288c4a35417d69afc39f0a44ffe145.jpg","text":"TemporaryFile(/tmp/multipartBody4050742625213381438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_28_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f96b832685d32503a329101e5eb28f63.jpg","text":"TemporaryFile(/tmp/multipartBody1494486295716510443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_30_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/061d16e5c73f9c758a83c603bbdcffeb.jpg","text":"TemporaryFile(/tmp/multipartBody548284378019801185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_27_4199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbaae1c15bf56f8a95915e5c0d82ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody275040195702371227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_10_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb8cef6e41f88df2da98201c984738c2.jpg","text":"TemporaryFile(/tmp/multipartBody3711333076218883290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_23_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd7776cfa3fa627e1b21ee3dbdc519aa.jpg","text":"TemporaryFile(/tmp/multipartBody1346785573182520190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765298983129,"filename":"image_01112025_19_15_06_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518826","file1":"1398518824","file0":"1398518820","file4":"1398518833","file5":"1398518836","file3":"1398518830"},"map_files_photo_id_array":[{"photo_id":"1398518836","filename":"file5"},{"photo_id":"1398518826","filename":"file2"},{"photo_id":"1398518833","filename":"file4"},{"photo_id":"1398518824","filename":"file1"},{"photo_id":"1398518820","filename":"file0"},{"photo_id":"1398518830","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518833":["hashtag1","hashtag2"]},{"1398518836":["hashtag1","hashtag2"]},{"1398518830":["hashtag1","hashtag2"]},{"1398518824":["hashtag1","hashtag2"]},{"1398518826":["hashtag1","hashtag2"]},{"1398518820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518833, 1398518836, 1398518830, 1398518824, 1398518826, 1398518820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2693030834198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:49:22.474432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_35_7535.jpg', '/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_45_9639.jpg', '/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_55_9667.jpg', '/home/pi/Desktop/images/09122025/09/20/image_09122025_09_21_05_10753.jpg', '/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_15_9651.jpg', '/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_35_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_35_7535.jpg
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_45_9639.jpg
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_20_55_9667.jpg
/home/pi/Desktop/images/09122025/09/20/image_09122025_09_21_05_10753.jpg
/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_15_9651.jpg
/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_35_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518851","1398518854","1398518852","1398518849","1398518843","1398518846"],"photo_ids_order":["1398518843","1398518846","1398518849","1398518851","1398518852","1398518854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/464afb9d553b38a276b94b5d0476c5fe.jpg","text":"TemporaryFile(/tmp/multipartBody1926217957462827349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_21_05_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43d0cba06eac51f3f58fd3ad5326107f.jpg","text":"TemporaryFile(/tmp/multipartBody701209633779424894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_21_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/092708067bc797f330d9770528709628.jpg","text":"TemporaryFile(/tmp/multipartBody279406173087429455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_21_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/406190f4358b708529a47538f4bec8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7421132941102339534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_20_55_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c48b6ec8b83ef8f7e03eeb458d9c05d2.jpg","text":"TemporaryFile(/tmp/multipartBody7808849310070036715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_20_35_7535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6b9bbd7f3c782a05ea2d79c4452a2de.jpg","text":"TemporaryFile(/tmp/multipartBody7038809900848921900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299023017,"filename":"image_09122025_09_20_45_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518849","file1":"1398518846","file0":"1398518843","file4":"1398518852","file5":"1398518854","file3":"1398518851"},"map_files_photo_id_array":[{"photo_id":"1398518854","filename":"file5"},{"photo_id":"1398518849","filename":"file2"},{"photo_id":"1398518852","filename":"file4"},{"photo_id":"1398518846","filename":"file1"},{"photo_id":"1398518843","filename":"file0"},{"photo_id":"1398518851","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518851":["hashtag1","hashtag2"]},{"1398518854":["hashtag1","hashtag2"]},{"1398518852":["hashtag1","hashtag2"]},{"1398518849":["hashtag1","hashtag2"]},{"1398518843":["hashtag1","hashtag2"]},{"1398518846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518851, 1398518854, 1398518852, 1398518849, 1398518843, 1398518846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11069345474243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:50:03.128679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_45_9602.jpg', '/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_55_9742.jpg', '/home/pi/Desktop/images/09122025/09/21/image_09122025_09_22_05_10584.jpg', '/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_15_9588.jpg', '/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_25_10738.jpg', '/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_35_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_45_9602.jpg
/home/pi/Desktop/images/09122025/09/21/image_09122025_09_21_55_9742.jpg
/home/pi/Desktop/images/09122025/09/21/image_09122025_09_22_05_10584.jpg
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_15_9588.jpg
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_25_10738.jpg
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_35_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518863","1398518872","1398518866","1398518869","1398518874","1398518876"],"photo_ids_order":["1398518863","1398518866","1398518869","1398518872","1398518874","1398518876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e698d2a5b98c85485b6923df486e0e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8503552074962983381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_21_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35e6c84b0505d8e7eba15376a1d5191a.jpg","text":"TemporaryFile(/tmp/multipartBody6570722945899842355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_22_15_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0689d769fad85c21ca2617dcb2916965.jpg","text":"TemporaryFile(/tmp/multipartBody9222934423438526642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_21_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27e6770e23b5dfe013f0d441d932dbc6.jpg","text":"TemporaryFile(/tmp/multipartBody1817460313436153723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_22_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff2fbcd00acd2b7687f943e5157cfa01.jpg","text":"TemporaryFile(/tmp/multipartBody3236364645887810628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_22_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a41df2415e60a2c7c749a76de4e196c.jpg","text":"TemporaryFile(/tmp/multipartBody1773812082930368753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299063718,"filename":"image_09122025_09_22_35_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518869","file1":"1398518866","file0":"1398518863","file4":"1398518874","file5":"1398518876","file3":"1398518872"},"map_files_photo_id_array":[{"photo_id":"1398518876","filename":"file5"},{"photo_id":"1398518869","filename":"file2"},{"photo_id":"1398518874","filename":"file4"},{"photo_id":"1398518866","filename":"file1"},{"photo_id":"1398518863","filename":"file0"},{"photo_id":"1398518872","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518863":["hashtag1","hashtag2"]},{"1398518872":["hashtag1","hashtag2"]},{"1398518866":["hashtag1","hashtag2"]},{"1398518869":["hashtag1","hashtag2"]},{"1398518874":["hashtag1","hashtag2"]},{"1398518876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518863, 1398518872, 1398518866, 1398518869, 1398518874, 1398518876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.225902795791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:50:42.601129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_32_1617.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_35_1587.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_37_1838.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_39_2270.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_41_1635.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_42_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_32_1617.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_35_1587.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_37_1838.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_39_2270.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_41_1635.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_42_1659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518896","1398518890","1398518902","1398518886","1398518898","1398518893"],"photo_ids_order":["1398518886","1398518890","1398518893","1398518896","1398518898","1398518902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f87a3aca8b94798e4ec3d853e290dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6051135394372740811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_39_2270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d14db77de3595d0fa17791221a3e5684.jpg","text":"TemporaryFile(/tmp/multipartBody5701619574042724724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_35_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23bafa31260e86a7a5848bb5ad290b12.jpg","text":"TemporaryFile(/tmp/multipartBody4464491677464071953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_42_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e17688677223a096da32147c92f7881.jpg","text":"TemporaryFile(/tmp/multipartBody3645392054312137796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_32_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50dee4fa1c534114fe03e827ccdb1db6.jpg","text":"TemporaryFile(/tmp/multipartBody8448824135395913978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_41_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/48d3e40cc32964747fd2a56544264dde.jpg","text":"TemporaryFile(/tmp/multipartBody6811756479305120103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299103575,"filename":"image_01112025_19_15_37_1838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518893","file1":"1398518890","file0":"1398518886","file4":"1398518898","file5":"1398518902","file3":"1398518896"},"map_files_photo_id_array":[{"photo_id":"1398518902","filename":"file5"},{"photo_id":"1398518893","filename":"file2"},{"photo_id":"1398518898","filename":"file4"},{"photo_id":"1398518890","filename":"file1"},{"photo_id":"1398518886","filename":"file0"},{"photo_id":"1398518896","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518896":["hashtag1","hashtag2"]},{"1398518890":["hashtag1","hashtag2"]},{"1398518902":["hashtag1","hashtag2"]},{"1398518886":["hashtag1","hashtag2"]},{"1398518898":["hashtag1","hashtag2"]},{"1398518893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518896, 1398518890, 1398518902, 1398518886, 1398518898, 1398518893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14523458480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:51:21.868223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_45_9562.jpg', '/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_55_10744.jpg', '/home/pi/Desktop/images/09122025/09/22/image_09122025_09_23_05_9701.jpg', '/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_15_9695.jpg', '/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_25_9753.jpg', '/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_35_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_45_9562.jpg
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_22_55_10744.jpg
/home/pi/Desktop/images/09122025/09/22/image_09122025_09_23_05_9701.jpg
/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_15_9695.jpg
/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_25_9753.jpg
/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_35_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518909","1398518925","1398518913","1398518916","1398518921","1398518918"],"photo_ids_order":["1398518909","1398518913","1398518916","1398518918","1398518921","1398518925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20bc31fee8bd8c31471f03c2b0cfbc35.jpg","text":"TemporaryFile(/tmp/multipartBody3358528571598961270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_22_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d95536b642bc3fcbba60a947e5cea09.jpg","text":"TemporaryFile(/tmp/multipartBody5782178887727561892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_23_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/542832472ce482a0a1e228b4229ff9a1.jpg","text":"TemporaryFile(/tmp/multipartBody6664151532632007840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_22_55_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c300e4feb94c8d788b5555fe651dafd1.jpg","text":"TemporaryFile(/tmp/multipartBody7532393870499986592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_23_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f515734b58f489a037256c046fe50a8e.jpg","text":"TemporaryFile(/tmp/multipartBody65946964937922466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_23_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc073819baa25ea97cb75469a362f119.jpg","text":"TemporaryFile(/tmp/multipartBody899788259815929487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299142410,"filename":"image_09122025_09_23_15_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518916","file1":"1398518913","file0":"1398518909","file4":"1398518921","file5":"1398518925","file3":"1398518918"},"map_files_photo_id_array":[{"photo_id":"1398518925","filename":"file5"},{"photo_id":"1398518916","filename":"file2"},{"photo_id":"1398518921","filename":"file4"},{"photo_id":"1398518913","filename":"file1"},{"photo_id":"1398518909","filename":"file0"},{"photo_id":"1398518918","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518909":["hashtag1","hashtag2"]},{"1398518925":["hashtag1","hashtag2"]},{"1398518913":["hashtag1","hashtag2"]},{"1398518916":["hashtag1","hashtag2"]},{"1398518921":["hashtag1","hashtag2"]},{"1398518918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518909, 1398518925, 1398518913, 1398518916, 1398518921, 1398518918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40342712402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:52:02.538336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_45_9681.jpg', '/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_55_9570.jpg', '/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_30_14706.jpg', '/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_35_4829.jpg', '/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_50_15326.jpg', '/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_55_4614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_45_9681.jpg
/home/pi/Desktop/images/09122025/09/23/image_09122025_09_23_55_9570.jpg
/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_30_14706.jpg
/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_35_4829.jpg
/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_50_15326.jpg
/home/pi/Desktop/images/09122025/09/24/image_09122025_09_24_55_4614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518950","1398518938","1398518947","1398518935","1398518940","1398518943"],"photo_ids_order":["1398518935","1398518938","1398518940","1398518943","1398518947","1398518950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f0ddd89155a94eae2d2252882426aac.jpg","text":"TemporaryFile(/tmp/multipartBody3805398356721698964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_24_55_4614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dcb5112bb0dcbcaadc738c5e88aef22.jpg","text":"TemporaryFile(/tmp/multipartBody9067355814471080232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_23_55_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22bf245d20d9a7178cd4add6ad804f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6511460445992789426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_24_50_15326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b5c7f0a19f29c74ea0c575810f4076b.jpg","text":"TemporaryFile(/tmp/multipartBody7213640021740813220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_23_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c74f5c311eeee4d9b4a14c5211ea8e07.jpg","text":"TemporaryFile(/tmp/multipartBody520901638047448918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_24_30_14706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/468ce80bea681fc8151e53ced065d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1241026518330960958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299183105,"filename":"image_09122025_09_24_35_4829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518940","file1":"1398518938","file0":"1398518935","file4":"1398518947","file5":"1398518950","file3":"1398518943"},"map_files_photo_id_array":[{"photo_id":"1398518950","filename":"file5"},{"photo_id":"1398518940","filename":"file2"},{"photo_id":"1398518947","filename":"file4"},{"photo_id":"1398518938","filename":"file1"},{"photo_id":"1398518935","filename":"file0"},{"photo_id":"1398518943","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518950":["hashtag1","hashtag2"]},{"1398518938":["hashtag1","hashtag2"]},{"1398518947":["hashtag1","hashtag2"]},{"1398518935":["hashtag1","hashtag2"]},{"1398518940":["hashtag1","hashtag2"]},{"1398518943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518950, 1398518938, 1398518947, 1398518935, 1398518940, 1398518943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63955640792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:52:42.104018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_44_1658.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_46_1637.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_47_1604.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_49_1562.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_52_3167.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_54_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_44_1658.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_46_1637.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_47_1604.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_49_1562.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_52_3167.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_54_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518956","1398518961","1398518970","1398518966","1398518975","1398518957"],"photo_ids_order":["1398518956","1398518957","1398518961","1398518966","1398518970","1398518975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4878a18ab338ef1bd03d8ba6c416fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody3147144820558346346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_44_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4cf6a622f6178a9465c5c2be6c4bf54c.jpg","text":"TemporaryFile(/tmp/multipartBody8168377295688952905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_47_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa6dfaaee3b731afe1163d8b94711cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3977722749235004216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_52_3167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd2ab635f373fdc988d2835f05c5ff34.jpg","text":"TemporaryFile(/tmp/multipartBody4693977633024290387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_49_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e659bc6317390b71c72c177d542995a.jpg","text":"TemporaryFile(/tmp/multipartBody5168370016686219768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_54_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a947eeba833bf32ab4a3fceb9db0bf25.jpg","text":"TemporaryFile(/tmp/multipartBody1840353510077580300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299223101,"filename":"image_01112025_19_15_46_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518961","file1":"1398518957","file0":"1398518956","file4":"1398518970","file5":"1398518975","file3":"1398518966"},"map_files_photo_id_array":[{"photo_id":"1398518975","filename":"file5"},{"photo_id":"1398518961","filename":"file2"},{"photo_id":"1398518970","filename":"file4"},{"photo_id":"1398518957","filename":"file1"},{"photo_id":"1398518956","filename":"file0"},{"photo_id":"1398518966","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398518956":["hashtag1","hashtag2"]},{"1398518961":["hashtag1","hashtag2"]},{"1398518970":["hashtag1","hashtag2"]},{"1398518966":["hashtag1","hashtag2"]},{"1398518975":["hashtag1","hashtag2"]},{"1398518957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398518956, 1398518961, 1398518970, 1398518966, 1398518975, 1398518957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22684931755066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:53:22.376481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/24/image_09122025_09_25_05_10634.jpg', '/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_15_9580.jpg', '/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_25_9930.jpg', '/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_35_10657.jpg', '/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_45_9605.jpg', '/home/pi/Desktop/images/09122025/09/25/image_09122025_09_26_05_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/24/image_09122025_09_25_05_10634.jpg
/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_15_9580.jpg
/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_25_9930.jpg
/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_35_10657.jpg
/home/pi/Desktop/images/09122025/09/25/image_09122025_09_25_45_9605.jpg
/home/pi/Desktop/images/09122025/09/25/image_09122025_09_26_05_10524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398518985","1398518988","1398518982","1398518996","1398518978","1398518992"],"photo_ids_order":["1398518978","1398518982","1398518985","1398518988","1398518992","1398518996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d6dfa434f7439f8ca154b1656f71302.jpg","text":"TemporaryFile(/tmp/multipartBody8285308338545472757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_25_25_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0a50f6a158ba29ea81c90b8585ee5cc.jpg","text":"TemporaryFile(/tmp/multipartBody8546378165342722257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_25_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c93eb6ecff0fd42708b080b044176d7.jpg","text":"TemporaryFile(/tmp/multipartBody5836072038445392803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_25_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df5e012c4d48df3f7e278fab75df487f.jpg","text":"TemporaryFile(/tmp/multipartBody7628238424712871147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_26_05_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77694783ce31e4f37dddb5606e918b43.jpg","text":"TemporaryFile(/tmp/multipartBody4765145600407718730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_25_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f30cb185b51c513b4979e7cd05f8deb0.jpg","text":"TemporaryFile(/tmp/multipartBody5257405115035450116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299262921,"filename":"image_09122025_09_25_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398518985","file1":"1398518982","file0":"1398518978","file4":"1398518992","file5":"1398518996","file3":"1398518988"},"map_files_photo_id_array":[{"photo_id":"1398518996","filename":"file5"},{"photo_id":"1398518985","filename":"file2"},{"photo_id":"1398518992","filename":"file4"},{"photo_id":"1398518982","filename":"file1"},{"photo_id":"1398518978","filename":"file0"},{"photo_id":"1398518988","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398518985":["hashtag1","hashtag2"]},{"1398518988":["hashtag1","hashtag2"]},{"1398518982":["hashtag1","hashtag2"]},{"1398518996":["hashtag1","hashtag2"]},{"1398518978":["hashtag1","hashtag2"]},{"1398518992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398518985, 1398518988, 1398518982, 1398518996, 1398518978, 1398518992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20528221130371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:54:03.047817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_15_9811.jpg', '/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_25_10547.jpg', '/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_35_9523.jpg', '/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_45_9558.jpg', '/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_55_10554.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_05_9497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_15_9811.jpg
/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_25_10547.jpg
/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_35_9523.jpg
/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_45_9558.jpg
/home/pi/Desktop/images/09122025/09/26/image_09122025_09_26_55_10554.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_05_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519018","1398519012","1398519006","1398519015","1398519009","1398519002"],"photo_ids_order":["1398519002","1398519006","1398519009","1398519012","1398519015","1398519018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53aa0a7ecf0714ac841edc536c55b457.jpg","text":"TemporaryFile(/tmp/multipartBody8520919681738268088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_27_05_9497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2f9008f939672dbf13a916129d09cb5.jpg","text":"TemporaryFile(/tmp/multipartBody670591615642643249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_26_45_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11fe2775633fe94d5a788964ec1059fa.jpg","text":"TemporaryFile(/tmp/multipartBody2237703341029182092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_26_25_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/959053d7f3996417059444e0b5bc265f.jpg","text":"TemporaryFile(/tmp/multipartBody4768109633046427094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_26_55_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4679a917e2d6bf484e39b77f9838e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody3870129466336716476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_26_35_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9888c33e8f125de26e81a710894190ee.jpg","text":"TemporaryFile(/tmp/multipartBody7278952288678099196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299303609,"filename":"image_09122025_09_26_15_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519009","file1":"1398519006","file0":"1398519002","file4":"1398519015","file5":"1398519018","file3":"1398519012"},"map_files_photo_id_array":[{"photo_id":"1398519018","filename":"file5"},{"photo_id":"1398519009","filename":"file2"},{"photo_id":"1398519015","filename":"file4"},{"photo_id":"1398519006","filename":"file1"},{"photo_id":"1398519002","filename":"file0"},{"photo_id":"1398519012","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519018":["hashtag1","hashtag2"]},{"1398519012":["hashtag1","hashtag2"]},{"1398519006":["hashtag1","hashtag2"]},{"1398519015":["hashtag1","hashtag2"]},{"1398519009":["hashtag1","hashtag2"]},{"1398519002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519018, 1398519012, 1398519006, 1398519015, 1398519009, 1398519002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417320013046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:54:42.714839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_55_1563.jpg', '/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_57_1926.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_01_1745.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_02_1680.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_04_1591.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_05_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_55_1563.jpg
/home/pi/Desktop/images/01112025/19/15/image_01112025_19_15_57_1926.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_01_1745.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_02_1680.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_04_1591.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_05_1614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519043","1398519031","1398519039","1398519027","1398519035","1398519023"],"photo_ids_order":["1398519023","1398519027","1398519031","1398519035","1398519039","1398519043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8063e0afc169e4e555fde9dd30c43ff.jpg","text":"TemporaryFile(/tmp/multipartBody4262194236092615672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_16_05_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54b4c6fc1b177ec2fba3a62f3224f926.jpg","text":"TemporaryFile(/tmp/multipartBody2427422310667519469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_16_01_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2482c3818a85dd1c8edb53f7c5151b17.jpg","text":"TemporaryFile(/tmp/multipartBody4464680898480285606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_16_04_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6919fe92515f50ccf2f99ebbd02b2df.jpg","text":"TemporaryFile(/tmp/multipartBody5195734574622707532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_15_57_1926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d08c8e522730fb5f7e21fd3f5747c1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5473601676726782027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_16_02_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fc29e78b5495d4c1de8b32c978a3e46.jpg","text":"TemporaryFile(/tmp/multipartBody6803543425033941481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299343693,"filename":"image_01112025_19_15_55_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519031","file1":"1398519027","file0":"1398519023","file4":"1398519039","file5":"1398519043","file3":"1398519035"},"map_files_photo_id_array":[{"photo_id":"1398519043","filename":"file5"},{"photo_id":"1398519031","filename":"file2"},{"photo_id":"1398519039","filename":"file4"},{"photo_id":"1398519027","filename":"file1"},{"photo_id":"1398519023","filename":"file0"},{"photo_id":"1398519035","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398519043":["hashtag1","hashtag2"]},{"1398519031":["hashtag1","hashtag2"]},{"1398519039":["hashtag1","hashtag2"]},{"1398519027":["hashtag1","hashtag2"]},{"1398519035":["hashtag1","hashtag2"]},{"1398519023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398519043, 1398519031, 1398519039, 1398519027, 1398519035, 1398519023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95133590698242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:55:21.981087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_15_10710.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_25_9601.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_35_9706.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_45_10544.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_55_9549.jpg', '/home/pi/Desktop/images/09122025/09/27/image_09122025_09_28_05_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_15_10710.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_25_9601.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_35_9706.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_45_10544.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_27_55_9549.jpg
/home/pi/Desktop/images/09122025/09/27/image_09122025_09_28_05_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519052","1398519049","1398519057","1398519059","1398519061","1398519055"],"photo_ids_order":["1398519049","1398519052","1398519055","1398519057","1398519059","1398519061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a606e61e75031bbbe82183c46681b873.jpg","text":"TemporaryFile(/tmp/multipartBody1796769769927984836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_27_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f17302cae66a3646e22904eff72e3312.jpg","text":"TemporaryFile(/tmp/multipartBody7487475565604495124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_27_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/653fa35b2923dd1c681b3c7b56282eba.jpg","text":"TemporaryFile(/tmp/multipartBody2871600960694136515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_27_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/003460b6fe875c31cf20fe974f855e3e.jpg","text":"TemporaryFile(/tmp/multipartBody278381476396134724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_27_55_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ca110ea53aa3aed7437beaa3a1e4552.jpg","text":"TemporaryFile(/tmp/multipartBody9075751675512144424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_28_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9488b392afc9aa44eca6129bcdfbd81a.jpg","text":"TemporaryFile(/tmp/multipartBody4669766511004249588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299382593,"filename":"image_09122025_09_27_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519055","file1":"1398519052","file0":"1398519049","file4":"1398519059","file5":"1398519061","file3":"1398519057"},"map_files_photo_id_array":[{"photo_id":"1398519061","filename":"file5"},{"photo_id":"1398519055","filename":"file2"},{"photo_id":"1398519059","filename":"file4"},{"photo_id":"1398519052","filename":"file1"},{"photo_id":"1398519049","filename":"file0"},{"photo_id":"1398519057","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519052":["hashtag1","hashtag2"]},{"1398519049":["hashtag1","hashtag2"]},{"1398519057":["hashtag1","hashtag2"]},{"1398519059":["hashtag1","hashtag2"]},{"1398519061":["hashtag1","hashtag2"]},{"1398519055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519052, 1398519049, 1398519057, 1398519059, 1398519061, 1398519055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30894684791565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:56:02.772895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_15_9685.jpg', '/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_25_9771.jpg', '/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_35_10591.jpg', '/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_45_9660.jpg', '/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_55_9650.jpg', '/home/pi/Desktop/images/09122025/09/28/image_09122025_09_29_05_10512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_15_9685.jpg
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_25_9771.jpg
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_35_10591.jpg
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_45_9660.jpg
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_28_55_9650.jpg
/home/pi/Desktop/images/09122025/09/28/image_09122025_09_29_05_10512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519084","1398519081","1398519078","1398519086","1398519088","1398519073"],"photo_ids_order":["1398519073","1398519078","1398519081","1398519084","1398519086","1398519088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/092f2516b9e36ff3b40963650f353305.jpg","text":"TemporaryFile(/tmp/multipartBody9101226524617532161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_28_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a15ca442745dc4f3da1ab6543c04a78.jpg","text":"TemporaryFile(/tmp/multipartBody1693230541583536433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_28_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26f737dc00cdf1cd5ed1a97fd6b0369f.jpg","text":"TemporaryFile(/tmp/multipartBody2172670031481601087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_28_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0076c74d3c9d8fef1dc1f4ccb89d62bb.jpg","text":"TemporaryFile(/tmp/multipartBody3285607349706807472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_28_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/074bcd3a8068d01c27610cca88b06b46.jpg","text":"TemporaryFile(/tmp/multipartBody6450053287110903073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_29_05_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0656dbbc9043bf58a7c3b9fd88a6a671.jpg","text":"TemporaryFile(/tmp/multipartBody5376567954020803569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299423339,"filename":"image_09122025_09_28_15_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519081","file1":"1398519078","file0":"1398519073","file4":"1398519086","file5":"1398519088","file3":"1398519084"},"map_files_photo_id_array":[{"photo_id":"1398519088","filename":"file5"},{"photo_id":"1398519081","filename":"file2"},{"photo_id":"1398519086","filename":"file4"},{"photo_id":"1398519078","filename":"file1"},{"photo_id":"1398519073","filename":"file0"},{"photo_id":"1398519084","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519084":["hashtag1","hashtag2"]},{"1398519081":["hashtag1","hashtag2"]},{"1398519078":["hashtag1","hashtag2"]},{"1398519086":["hashtag1","hashtag2"]},{"1398519088":["hashtag1","hashtag2"]},{"1398519073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519084, 1398519081, 1398519078, 1398519086, 1398519088, 1398519073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.070472240448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 17:56:42.297306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_07_1864.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_09_1650.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_11_1614.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_12_1601.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_16_2127.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_18_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_07_1864.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_09_1650.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_11_1614.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_12_1601.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_16_2127.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_18_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519106","1398519109","1398519099","1398519103","1398519095","1398519114"],"photo_ids_order":["1398519095","1398519099","1398519103","1398519106","1398519109","1398519114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e51a1c736758d5f52a8cc90d482af92e.jpg","text":"TemporaryFile(/tmp/multipartBody3038302704962009197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_12_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c977933f8278466d99e4f08462abf43e.jpg","text":"TemporaryFile(/tmp/multipartBody1472398204749623516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_16_2127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40320c2c6bdf7205315c28d3ce096979.jpg","text":"TemporaryFile(/tmp/multipartBody6738227669655023329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_09_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/965727aa22d411e927eee0a4922521d8.jpg","text":"TemporaryFile(/tmp/multipartBody8108737108740331837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_11_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e411b0483eee6f7bb639771e5877bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5702135114018208896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_07_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e46b2640285f23e085b34e2a1570b72.jpg","text":"TemporaryFile(/tmp/multipartBody8364371866459045997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299463277,"filename":"image_01112025_19_16_18_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519103","file1":"1398519099","file0":"1398519095","file4":"1398519109","file5":"1398519114","file3":"1398519106"},"map_files_photo_id_array":[{"photo_id":"1398519114","filename":"file5"},{"photo_id":"1398519103","filename":"file2"},{"photo_id":"1398519109","filename":"file4"},{"photo_id":"1398519099","filename":"file1"},{"photo_id":"1398519095","filename":"file0"},{"photo_id":"1398519106","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398519106":["hashtag1","hashtag2"]},{"1398519109":["hashtag1","hashtag2"]},{"1398519099":["hashtag1","hashtag2"]},{"1398519103":["hashtag1","hashtag2"]},{"1398519095":["hashtag1","hashtag2"]},{"1398519114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398519106, 1398519109, 1398519099, 1398519103, 1398519095, 1398519114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48569631576538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 17:57:22.500573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_15_9815.jpg', '/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_35_10622.jpg', '/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_45_9648.jpg', '/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_55_9702.jpg', '/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_14_10043.jpg', '/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_24_10067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_15_9815.jpg
/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_35_10622.jpg
/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_45_9648.jpg
/home/pi/Desktop/images/09122025/09/29/image_09122025_09_29_55_9702.jpg
/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_14_10043.jpg
/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_24_10067.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519297","1398519183","1398519260","1398519224","1398519146","1398519335"],"photo_ids_order":["1398519146","1398519183","1398519224","1398519260","1398519297","1398519335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d06594891c9b9c30e7fd81e68626f328.jpg","text":"TemporaryFile(/tmp/multipartBody8028004788663962129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_31_14_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4f85910d6e9cd3b61e0597a8feffb7e.jpg","text":"TemporaryFile(/tmp/multipartBody9059821551618209686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_29_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33e62b039713ab5761e0b4d72f98ff68.jpg","text":"TemporaryFile(/tmp/multipartBody1013005427688974878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_29_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc416caaff4d4f922740f01a5840f395.jpg","text":"TemporaryFile(/tmp/multipartBody1369459714164524038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_29_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d874fb5ea304569465021ea0a9682f7.jpg","text":"TemporaryFile(/tmp/multipartBody7311717615766132730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_29_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/138615d09e2df02752c7f640b55fa339.jpg","text":"TemporaryFile(/tmp/multipartBody1481324241865854278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299503087,"filename":"image_09122025_09_31_24_10067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519224","file1":"1398519183","file0":"1398519146","file4":"1398519297","file5":"1398519335","file3":"1398519260"},"map_files_photo_id_array":[{"photo_id":"1398519335","filename":"file5"},{"photo_id":"1398519224","filename":"file2"},{"photo_id":"1398519297","filename":"file4"},{"photo_id":"1398519183","filename":"file1"},{"photo_id":"1398519146","filename":"file0"},{"photo_id":"1398519260","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519297":["hashtag1","hashtag2"]},{"1398519183":["hashtag1","hashtag2"]},{"1398519260":["hashtag1","hashtag2"]},{"1398519224":["hashtag1","hashtag2"]},{"1398519146":["hashtag1","hashtag2"]},{"1398519335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519297, 1398519183, 1398519260, 1398519224, 1398519146, 1398519335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27966547012329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 17:59:03.611844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_39_14815.jpg', '/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_44_5654.jpg', '/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_54_9725.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_14_20106.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_16_1833.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_24_7787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_39_14815.jpg
/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_44_5654.jpg
/home/pi/Desktop/images/09122025/09/31/image_09122025_09_31_54_9725.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_14_20106.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_16_1833.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_24_7787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519712","1398519709","1398519699","1398519703","1398519684","1398519694"],"photo_ids_order":["1398519684","1398519694","1398519699","1398519703","1398519709","1398519712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08f148487af1fe9254241e55d7581dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2851470628878531671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_32_24_7787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5880be35f75aa5015ce6b5f6397310b.jpg","text":"TemporaryFile(/tmp/multipartBody7951276106020616270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_32_16_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04f1dadf70b91505e4537311fa0562de.jpg","text":"TemporaryFile(/tmp/multipartBody8024117834745474510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_31_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d717f23b91388ee8ad26ec64543d097.jpg","text":"TemporaryFile(/tmp/multipartBody6083613039393988587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_32_14_20106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3117d52c90dc153fa45dfcb020edf5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3399204906643723522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_31_39_14815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c08220bfb3adf6dbc05446beee27317d.jpg","text":"TemporaryFile(/tmp/multipartBody5756485258715498220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299604477,"filename":"image_09122025_09_31_44_5654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519699","file1":"1398519694","file0":"1398519684","file4":"1398519709","file5":"1398519712","file3":"1398519703"},"map_files_photo_id_array":[{"photo_id":"1398519712","filename":"file5"},{"photo_id":"1398519699","filename":"file2"},{"photo_id":"1398519709","filename":"file4"},{"photo_id":"1398519694","filename":"file1"},{"photo_id":"1398519684","filename":"file0"},{"photo_id":"1398519703","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519712":["hashtag1","hashtag2"]},{"1398519709":["hashtag1","hashtag2"]},{"1398519699":["hashtag1","hashtag2"]},{"1398519703":["hashtag1","hashtag2"]},{"1398519684":["hashtag1","hashtag2"]},{"1398519694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519712, 1398519709, 1398519699, 1398519703, 1398519684, 1398519694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52693796157837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:00:02.391752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_35_10683.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_44_9643.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_54_10190.jpg', '/home/pi/Desktop/images/09122025/09/32/image_09122025_09_33_04_9663.jpg', '/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_15_10721.jpg', '/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_35_10683.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_44_9643.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_32_54_10190.jpg
/home/pi/Desktop/images/09122025/09/32/image_09122025_09_33_04_9663.jpg
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_15_10721.jpg
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519727","1398519736","1398519723","1398519729","1398519734","1398519731"],"photo_ids_order":["1398519723","1398519727","1398519729","1398519731","1398519734","1398519736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84b90a826973a53c713629dedb62a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody6225216219272961587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_32_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ad18ef609b38c0e65753efb8b1910fd.jpg","text":"TemporaryFile(/tmp/multipartBody1001389255438417861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_33_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db3e849af3d6b7a9a181a8be70200882.jpg","text":"TemporaryFile(/tmp/multipartBody186693767979655096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_32_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc22a596b7ffe99e0cf4f8eabea03459.jpg","text":"TemporaryFile(/tmp/multipartBody2441860867340194355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_32_54_10190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a95cbe7ed5116e15894ad1168aea06e.jpg","text":"TemporaryFile(/tmp/multipartBody8050795031665206330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_33_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a656ea4e042d092f3af723676fb6d9a4.jpg","text":"TemporaryFile(/tmp/multipartBody7951257418665447886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299662957,"filename":"image_09122025_09_33_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519729","file1":"1398519727","file0":"1398519723","file4":"1398519734","file5":"1398519736","file3":"1398519731"},"map_files_photo_id_array":[{"photo_id":"1398519736","filename":"file5"},{"photo_id":"1398519729","filename":"file2"},{"photo_id":"1398519734","filename":"file4"},{"photo_id":"1398519727","filename":"file1"},{"photo_id":"1398519723","filename":"file0"},{"photo_id":"1398519731","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519727":["hashtag1","hashtag2"]},{"1398519736":["hashtag1","hashtag2"]},{"1398519723":["hashtag1","hashtag2"]},{"1398519729":["hashtag1","hashtag2"]},{"1398519734":["hashtag1","hashtag2"]},{"1398519731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519727, 1398519736, 1398519723, 1398519729, 1398519734, 1398519731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83936381340027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:00:41.960267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_19_1627.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_21_1751.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_25_2033.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_26_1603.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_28_1676.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_29_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_19_1627.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_21_1751.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_25_2033.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_26_1603.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_28_1676.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_29_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519748","1398519753","1398519762","1398519756","1398519765","1398519759"],"photo_ids_order":["1398519748","1398519753","1398519756","1398519759","1398519762","1398519765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/288f31fdeea7ad26301b7a78bbf72828.jpg","text":"TemporaryFile(/tmp/multipartBody6093391685657788936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_19_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b91a05b9f4354eae3c8133b30b84bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody3462104373472699522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_21_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c918f75bcea368395f8741d3799586c.jpg","text":"TemporaryFile(/tmp/multipartBody3143684349927173722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_28_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af45eef51488c2ac2d9374133bdb43ab.jpg","text":"TemporaryFile(/tmp/multipartBody2316774938621199222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_25_2033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9456b65ce7426bfe6c12f565d8d9321e.jpg","text":"TemporaryFile(/tmp/multipartBody3651170324640324993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_29_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae9ca5cb96ccdcbe038b34799a0399be.jpg","text":"TemporaryFile(/tmp/multipartBody4713827514753155466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299702968,"filename":"image_01112025_19_16_26_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519756","file1":"1398519753","file0":"1398519748","file4":"1398519762","file5":"1398519765","file3":"1398519759"},"map_files_photo_id_array":[{"photo_id":"1398519765","filename":"file5"},{"photo_id":"1398519756","filename":"file2"},{"photo_id":"1398519762","filename":"file4"},{"photo_id":"1398519753","filename":"file1"},{"photo_id":"1398519748","filename":"file0"},{"photo_id":"1398519759","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398519748":["hashtag1","hashtag2"]},{"1398519753":["hashtag1","hashtag2"]},{"1398519762":["hashtag1","hashtag2"]},{"1398519756":["hashtag1","hashtag2"]},{"1398519765":["hashtag1","hashtag2"]},{"1398519759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398519748, 1398519753, 1398519762, 1398519756, 1398519765, 1398519759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.954413652420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:01:22.230939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_35_10216.jpg', '/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_44_9644.jpg', '/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_55_10470.jpg', '/home/pi/Desktop/images/09122025/09/33/image_09122025_09_34_04_9588.jpg', '/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_14_9701.jpg', '/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_35_10216.jpg
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_44_9644.jpg
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_33_55_10470.jpg
/home/pi/Desktop/images/09122025/09/33/image_09122025_09_34_04_9588.jpg
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_14_9701.jpg
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_25_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519772","1398519774","1398519783","1398519777","1398519779","1398519775"],"photo_ids_order":["1398519772","1398519774","1398519775","1398519777","1398519779","1398519783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8e90532df733c3ace8fa6209f3d83f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1645462380579984101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_33_35_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16914a5a5080fa2f384fc0461c6699f9.jpg","text":"TemporaryFile(/tmp/multipartBody2936056571161297858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_33_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed0ed1b83bfad2b29d0458434d0ae9b3.jpg","text":"TemporaryFile(/tmp/multipartBody7269464983875534632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_34_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b7bd020fa76fe96f6e85111d9287177.jpg","text":"TemporaryFile(/tmp/multipartBody4836328917877257442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_34_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5cda3b80b50d1b8d3d15be7eff0d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7469046329309713501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_34_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b610521de64db40ce413c82e74e92a8.jpg","text":"TemporaryFile(/tmp/multipartBody3962967918850508786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299742779,"filename":"image_09122025_09_33_55_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519775","file1":"1398519774","file0":"1398519772","file4":"1398519779","file5":"1398519783","file3":"1398519777"},"map_files_photo_id_array":[{"photo_id":"1398519783","filename":"file5"},{"photo_id":"1398519775","filename":"file2"},{"photo_id":"1398519779","filename":"file4"},{"photo_id":"1398519774","filename":"file1"},{"photo_id":"1398519772","filename":"file0"},{"photo_id":"1398519777","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519772":["hashtag1","hashtag2"]},{"1398519774":["hashtag1","hashtag2"]},{"1398519783":["hashtag1","hashtag2"]},{"1398519777":["hashtag1","hashtag2"]},{"1398519779":["hashtag1","hashtag2"]},{"1398519775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519772, 1398519774, 1398519783, 1398519777, 1398519779, 1398519775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35261940956116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:02:02.825740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_34_9556.jpg', '/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_44_9629.jpg', '/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_55_10631.jpg', '/home/pi/Desktop/images/09122025/09/34/image_09122025_09_35_04_9673.jpg', '/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_15_10593.jpg', '/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_34_9556.jpg
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_44_9629.jpg
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_34_55_10631.jpg
/home/pi/Desktop/images/09122025/09/34/image_09122025_09_35_04_9673.jpg
/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_15_10593.jpg
/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_34_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398519919","1398520129","1398519881","1398519962","1398520209","1398520046"],"photo_ids_order":["1398519881","1398519919","1398519962","1398520046","1398520129","1398520209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62bdbc531d421fc6c7bffdc4b6111dad.jpg","text":"TemporaryFile(/tmp/multipartBody4324636683004293130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_34_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1af88a35cdd86430a05d0b2b2e712fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8515226789664577213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_35_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab1ccf99c4fd3f513266aff99eda0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5751851762092430393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_34_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb60c817a8828c2c191f4620c675f95a.jpg","text":"TemporaryFile(/tmp/multipartBody395984336166672088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_34_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/571b844e8ad568f2a35207da8e7b31b6.jpg","text":"TemporaryFile(/tmp/multipartBody3843230622500911674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_35_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2237feec58509b81cd611659228bba2f.jpg","text":"TemporaryFile(/tmp/multipartBody8292411220353761114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299783387,"filename":"image_09122025_09_35_04_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398519962","file1":"1398519919","file0":"1398519881","file4":"1398520129","file5":"1398520209","file3":"1398520046"},"map_files_photo_id_array":[{"photo_id":"1398520209","filename":"file5"},{"photo_id":"1398519962","filename":"file2"},{"photo_id":"1398520129","filename":"file4"},{"photo_id":"1398519919","filename":"file1"},{"photo_id":"1398519881","filename":"file0"},{"photo_id":"1398520046","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398519919":["hashtag1","hashtag2"]},{"1398520129":["hashtag1","hashtag2"]},{"1398519881":["hashtag1","hashtag2"]},{"1398519962":["hashtag1","hashtag2"]},{"1398520209":["hashtag1","hashtag2"]},{"1398520046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398519919, 1398520129, 1398519881, 1398519962, 1398520209, 1398520046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92759084701538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:02:42.430156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_31_1802.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_33_1833.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_37_3706.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_40_2924.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_42_2637.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_45_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_31_1802.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_33_1833.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_37_3706.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_40_2924.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_42_2637.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_45_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398520777","1398520627","1398520549","1398520476","1398520871","1398520699"],"photo_ids_order":["1398520476","1398520549","1398520627","1398520699","1398520777","1398520871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8f79cad171f50ed5084f65b7fbe111d.jpg","text":"TemporaryFile(/tmp/multipartBody8710799470316329195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_42_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1082a706faed0416110c04fdf54e061f.jpg","text":"TemporaryFile(/tmp/multipartBody2514816586545400018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_37_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afdb54f77b8caaf39f0f92fd1c433eac.jpg","text":"TemporaryFile(/tmp/multipartBody6879111716990394126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_33_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/057b415dd96450eeeb1646824f18209b.jpg","text":"TemporaryFile(/tmp/multipartBody2172743646194766522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_31_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a472114ba9c72eb663fbd716d75b5f5.jpg","text":"TemporaryFile(/tmp/multipartBody5345069982280994592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_45_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f27073b7562f62413d740dc93113482.jpg","text":"TemporaryFile(/tmp/multipartBody4538638544898543667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299823403,"filename":"image_01112025_19_16_40_2924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398520627","file1":"1398520549","file0":"1398520476","file4":"1398520777","file5":"1398520871","file3":"1398520699"},"map_files_photo_id_array":[{"photo_id":"1398520871","filename":"file5"},{"photo_id":"1398520627","filename":"file2"},{"photo_id":"1398520777","filename":"file4"},{"photo_id":"1398520549","filename":"file1"},{"photo_id":"1398520476","filename":"file0"},{"photo_id":"1398520699","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398520777":["hashtag1","hashtag2"]},{"1398520627":["hashtag1","hashtag2"]},{"1398520549":["hashtag1","hashtag2"]},{"1398520476":["hashtag1","hashtag2"]},{"1398520871":["hashtag1","hashtag2"]},{"1398520699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398520777, 1398520627, 1398520549, 1398520476, 1398520871, 1398520699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46733331680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:03:22.717709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_45_10701.jpg', '/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_54_9650.jpg', '/home/pi/Desktop/images/09122025/09/35/image_09122025_09_36_04_9563.jpg', '/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_15_10659.jpg', '/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_24_9772.jpg', '/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_45_10701.jpg
/home/pi/Desktop/images/09122025/09/35/image_09122025_09_35_54_9650.jpg
/home/pi/Desktop/images/09122025/09/35/image_09122025_09_36_04_9563.jpg
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_15_10659.jpg
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_24_9772.jpg
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_34_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398521298","1398521215","1398521445","1398521372","1398521138","1398521519"],"photo_ids_order":["1398521138","1398521215","1398521298","1398521372","1398521445","1398521519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c31feb4b13369caa0e5d33678cb4aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody8899139298171821146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_36_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03d5e383a43769f3fe15f7a5b398a469.jpg","text":"TemporaryFile(/tmp/multipartBody6018608078034277073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_35_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c38e3085b74f08c4c900cf9e99c032f3.jpg","text":"TemporaryFile(/tmp/multipartBody5136480430960039932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_36_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1da1b21ad1c21fc4cce289922e9a1e57.jpg","text":"TemporaryFile(/tmp/multipartBody859159491425654701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_36_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a04b08d66a941554e908b35c140771a3.jpg","text":"TemporaryFile(/tmp/multipartBody298584415211277795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_35_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffaa3f0c14ae737ba571cc46ceec0feb.jpg","text":"TemporaryFile(/tmp/multipartBody2096933409326648964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299863298,"filename":"image_09122025_09_36_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398521298","file1":"1398521215","file0":"1398521138","file4":"1398521445","file5":"1398521519","file3":"1398521372"},"map_files_photo_id_array":[{"photo_id":"1398521519","filename":"file5"},{"photo_id":"1398521298","filename":"file2"},{"photo_id":"1398521445","filename":"file4"},{"photo_id":"1398521215","filename":"file1"},{"photo_id":"1398521138","filename":"file0"},{"photo_id":"1398521372","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398521298":["hashtag1","hashtag2"]},{"1398521215":["hashtag1","hashtag2"]},{"1398521445":["hashtag1","hashtag2"]},{"1398521372":["hashtag1","hashtag2"]},{"1398521138":["hashtag1","hashtag2"]},{"1398521519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398521298, 1398521215, 1398521445, 1398521372, 1398521138, 1398521519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42396950721741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:04:02.617478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_44_9954.jpg', '/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_55_10584.jpg', '/home/pi/Desktop/images/09122025/09/36/image_09122025_09_37_04_9634.jpg', '/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_14_9716.jpg', '/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_25_10704.jpg', '/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_34_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_44_9954.jpg
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_36_55_10584.jpg
/home/pi/Desktop/images/09122025/09/36/image_09122025_09_37_04_9634.jpg
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_14_9716.jpg
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_25_10704.jpg
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_34_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398522016","1398521902","1398521978","1398521939","1398521791","1398521866"],"photo_ids_order":["1398521791","1398521866","1398521902","1398521939","1398521978","1398522016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc79b03ba8405ad07a7641deca3101a8.jpg","text":"TemporaryFile(/tmp/multipartBody9028582681468687980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_37_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/245eb1eb02e5d8e4db507734ebeb9361.jpg","text":"TemporaryFile(/tmp/multipartBody7643846137266808111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_37_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e6f54f261ce28e5839ce80232ac2bee.jpg","text":"TemporaryFile(/tmp/multipartBody7455036282442375019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_37_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2e84d3160e12167d23c57588391586f.jpg","text":"TemporaryFile(/tmp/multipartBody2614535847788936524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_37_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb1dbcbf74d65b15964db853c9083e21.jpg","text":"TemporaryFile(/tmp/multipartBody4441222953022760542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_36_44_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d6f986e1964a59948bc729efc944533.jpg","text":"TemporaryFile(/tmp/multipartBody7419004578352561645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299903270,"filename":"image_09122025_09_36_55_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398521902","file1":"1398521866","file0":"1398521791","file4":"1398521978","file5":"1398522016","file3":"1398521939"},"map_files_photo_id_array":[{"photo_id":"1398522016","filename":"file5"},{"photo_id":"1398521902","filename":"file2"},{"photo_id":"1398521978","filename":"file4"},{"photo_id":"1398521866","filename":"file1"},{"photo_id":"1398521791","filename":"file0"},{"photo_id":"1398521939","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398522016":["hashtag1","hashtag2"]},{"1398521902":["hashtag1","hashtag2"]},{"1398521978":["hashtag1","hashtag2"]},{"1398521939":["hashtag1","hashtag2"]},{"1398521791":["hashtag1","hashtag2"]},{"1398521866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398522016, 1398521902, 1398521978, 1398521939, 1398521791, 1398521866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93984079360962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:04:41.848046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_49_3789.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_51_2689.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_54_2669.jpg', '/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_58_3593.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_01_3264.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_04_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_49_3789.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_51_2689.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_54_2669.jpg
/home/pi/Desktop/images/01112025/19/16/image_01112025_19_16_58_3593.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_01_3264.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_04_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398522048","1398522051","1398522045","1398522089","1398522041","1398522055"],"photo_ids_order":["1398522041","1398522045","1398522048","1398522051","1398522055","1398522089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc45af63a2f8b5b112dba06b8b2fdc60.jpg","text":"TemporaryFile(/tmp/multipartBody589211018423500372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_16_54_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e19529471e8322dff712814e9f9ed95.jpg","text":"TemporaryFile(/tmp/multipartBody6306108011965425989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_16_58_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f560cb0e6a653ef1da1e57a5bf487ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7570515071279065731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_16_51_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a025c96ac7ecaff4cdf7603adfd65992.jpg","text":"TemporaryFile(/tmp/multipartBody435218650650244211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_17_04_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42bd323ab3e8268676faaa16a7643244.jpg","text":"TemporaryFile(/tmp/multipartBody8868985862791159044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_16_49_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5bf5e0fb9188ae5e4d9b7e0230cb458.jpg","text":"TemporaryFile(/tmp/multipartBody3611317481882300027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299942841,"filename":"image_01112025_19_17_01_3264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398522048","file1":"1398522045","file0":"1398522041","file4":"1398522055","file5":"1398522089","file3":"1398522051"},"map_files_photo_id_array":[{"photo_id":"1398522089","filename":"file5"},{"photo_id":"1398522048","filename":"file2"},{"photo_id":"1398522055","filename":"file4"},{"photo_id":"1398522045","filename":"file1"},{"photo_id":"1398522041","filename":"file0"},{"photo_id":"1398522051","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398522048":["hashtag1","hashtag2"]},{"1398522051":["hashtag1","hashtag2"]},{"1398522045":["hashtag1","hashtag2"]},{"1398522089":["hashtag1","hashtag2"]},{"1398522041":["hashtag1","hashtag2"]},{"1398522055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398522048, 1398522051, 1398522045, 1398522089, 1398522041, 1398522055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92065787315369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:05:32.055091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/05/image_08122025_13_06_05_9625.jpg', '/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_14_9762.jpg', '/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_25_10504.jpg', '/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_36_11580.jpg', '/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_44_7805.jpg', '/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/05/image_08122025_13_06_05_9625.jpg
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_14_9762.jpg
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_25_10504.jpg
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_36_11580.jpg
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_44_7805.jpg
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_06_55_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398522327","1398522398","1398522263","1398522260","1398522442","1398522265"],"photo_ids_order":["1398522260","1398522263","1398522265","1398522327","1398522398","1398522442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e0406059fa39db608fc4605071db190.jpg","text":"TemporaryFile(/tmp/multipartBody3607404496998019646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_36_11580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e5e155a9d119ffaf2a31b12d911148f.jpg","text":"TemporaryFile(/tmp/multipartBody1788379530299358538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_44_7805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e65683f23617c9c29b3be65a9f75a767.jpg","text":"TemporaryFile(/tmp/multipartBody6734456957306068135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9da7485ed8d203183102f5ff32bf5f83.jpg","text":"TemporaryFile(/tmp/multipartBody6194711602893427281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8612644438c043c1cb05dd071806460d.jpg","text":"TemporaryFile(/tmp/multipartBody3067460516555331773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5379aae007ca3bd8ffb2e5cb98fba804.jpg","text":"TemporaryFile(/tmp/multipartBody4039271372624876482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765299993971,"filename":"image_08122025_13_06_25_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398522265","file1":"1398522263","file0":"1398522260","file4":"1398522398","file5":"1398522442","file3":"1398522327"},"map_files_photo_id_array":[{"photo_id":"1398522442","filename":"file5"},{"photo_id":"1398522265","filename":"file2"},{"photo_id":"1398522398","filename":"file4"},{"photo_id":"1398522263","filename":"file1"},{"photo_id":"1398522260","filename":"file0"},{"photo_id":"1398522327","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398522327":["hashtag1","hashtag2"]},{"1398522398":["hashtag1","hashtag2"]},{"1398522263":["hashtag1","hashtag2"]},{"1398522260":["hashtag1","hashtag2"]},{"1398522442":["hashtag1","hashtag2"]},{"1398522265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398522327, 1398522398, 1398522263, 1398522260, 1398522442, 1398522265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.275856018066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:06:12.194225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/06/image_08122025_13_07_05_9756.jpg', '/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_14_9622.jpg', '/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_25_10620.jpg', '/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_34_9560.jpg', '/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_44_9643.jpg', '/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/06/image_08122025_13_07_05_9756.jpg
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_14_9622.jpg
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_25_10620.jpg
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_34_9560.jpg
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_44_9643.jpg
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_07_55_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398522792","1398522666","1398522627","1398522828","1398522743","1398522704"],"photo_ids_order":["1398522627","1398522666","1398522704","1398522743","1398522792","1398522828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36f42e38feaa482b51a4f73f59f5ac14.jpg","text":"TemporaryFile(/tmp/multipartBody3558415510712325608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e77d66f00c6357d87e94b7286f103a90.jpg","text":"TemporaryFile(/tmp/multipartBody909817142155436419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53cfc4d7649dcdefcd93437854496901.jpg","text":"TemporaryFile(/tmp/multipartBody2531618810343782937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9df1f76c39516149f47d9bbaf8d30f07.jpg","text":"TemporaryFile(/tmp/multipartBody3645399472492248851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/402624070df7abf1e35c9463034b5dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6198279192774718736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9b5790eee873fdc388abce5c1f3f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4168519047251180347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300033968,"filename":"image_08122025_13_07_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398522704","file1":"1398522666","file0":"1398522627","file4":"1398522792","file5":"1398522828","file3":"1398522743"},"map_files_photo_id_array":[{"photo_id":"1398522828","filename":"file5"},{"photo_id":"1398522704","filename":"file2"},{"photo_id":"1398522792","filename":"file4"},{"photo_id":"1398522666","filename":"file1"},{"photo_id":"1398522627","filename":"file0"},{"photo_id":"1398522743","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398522792":["hashtag1","hashtag2"]},{"1398522666":["hashtag1","hashtag2"]},{"1398522627":["hashtag1","hashtag2"]},{"1398522828":["hashtag1","hashtag2"]},{"1398522743":["hashtag1","hashtag2"]},{"1398522704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398522792, 1398522666, 1398522627, 1398522828, 1398522743, 1398522704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.308143615722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:07:03.337717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_45_10567.jpg', '/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_55_9692.jpg', '/home/pi/Desktop/images/09122025/09/37/image_09122025_09_38_04_9781.jpg', '/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_14_9583.jpg', '/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_25_10710.jpg', '/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_45_7589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_45_10567.jpg
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_37_55_9692.jpg
/home/pi/Desktop/images/09122025/09/37/image_09122025_09_38_04_9781.jpg
/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_14_9583.jpg
/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_25_10710.jpg
/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_45_7589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398522990","1398522879","1398522966","1398522986","1398522926","1398522988"],"photo_ids_order":["1398522879","1398522926","1398522966","1398522986","1398522988","1398522990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba1e28aff62b8c7b307db0dc938d3a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3834027629897645234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_38_45_7589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9105a415153881f57e147eb9337aa27f.jpg","text":"TemporaryFile(/tmp/multipartBody707958216246988533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_37_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f55479210d4647d7739a1b1d82e17281.jpg","text":"TemporaryFile(/tmp/multipartBody6722383413208538478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_38_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd42e7bff39ed715ad04d61659148869.jpg","text":"TemporaryFile(/tmp/multipartBody7518171377837750020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_38_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08e86c3ebf2edb9c72764f96eaaf7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7397390567957333369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_37_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3503339b324d4ea630db6ee62185850.jpg","text":"TemporaryFile(/tmp/multipartBody7517003774587819767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300083944,"filename":"image_09122025_09_38_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398522966","file1":"1398522926","file0":"1398522879","file4":"1398522988","file5":"1398522990","file3":"1398522986"},"map_files_photo_id_array":[{"photo_id":"1398522990","filename":"file5"},{"photo_id":"1398522966","filename":"file2"},{"photo_id":"1398522988","filename":"file4"},{"photo_id":"1398522926","filename":"file1"},{"photo_id":"1398522879","filename":"file0"},{"photo_id":"1398522986","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398522990":["hashtag1","hashtag2"]},{"1398522879":["hashtag1","hashtag2"]},{"1398522966":["hashtag1","hashtag2"]},{"1398522986":["hashtag1","hashtag2"]},{"1398522926":["hashtag1","hashtag2"]},{"1398522988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398522990, 1398522879, 1398522966, 1398522986, 1398522926, 1398522988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47455358505249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:07:42.557797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_06_2681.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_09_2576.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_12_3634.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_15_2679.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_18_2675.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_24_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_06_2681.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_09_2576.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_12_3634.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_15_2679.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_18_2675.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_24_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523122","1398523125","1398523119","1398523100","1398523069","1398523129"],"photo_ids_order":["1398523069","1398523100","1398523119","1398523122","1398523125","1398523129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68d7769c0e990d539ff54481ae7b8a09.jpg","text":"TemporaryFile(/tmp/multipartBody3851275504545965483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_15_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b16d5939317d8b8d6910c745ae91dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6311531202591140754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_18_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbb5a423ff18d496f46a2d08f2a6e594.jpg","text":"TemporaryFile(/tmp/multipartBody2643413532114359777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_12_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6e08483d30d9a130266928a3a629d91.jpg","text":"TemporaryFile(/tmp/multipartBody2312001037006197017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_09_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0dff1d2d4ed63be1c677348a15e214fd.jpg","text":"TemporaryFile(/tmp/multipartBody3389324857277786910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_06_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/304018619c7a44ec25b5c1b269adbbe6.jpg","text":"TemporaryFile(/tmp/multipartBody2928453306821787648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300123563,"filename":"image_01112025_19_17_24_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523119","file1":"1398523100","file0":"1398523069","file4":"1398523125","file5":"1398523129","file3":"1398523122"},"map_files_photo_id_array":[{"photo_id":"1398523129","filename":"file5"},{"photo_id":"1398523119","filename":"file2"},{"photo_id":"1398523125","filename":"file4"},{"photo_id":"1398523100","filename":"file1"},{"photo_id":"1398523069","filename":"file0"},{"photo_id":"1398523122","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523122":["hashtag1","hashtag2"]},{"1398523125":["hashtag1","hashtag2"]},{"1398523119":["hashtag1","hashtag2"]},{"1398523100":["hashtag1","hashtag2"]},{"1398523069":["hashtag1","hashtag2"]},{"1398523129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523122, 1398523125, 1398523119, 1398523100, 1398523069, 1398523129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.968055725097656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:08:22.866265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_54_9563.jpg', '/home/pi/Desktop/images/09122025/09/38/image_09122025_09_39_05_10280.jpg', '/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_14_9818.jpg', '/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_24_9662.jpg', '/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_35_10679.jpg', '/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/38/image_09122025_09_38_54_9563.jpg
/home/pi/Desktop/images/09122025/09/38/image_09122025_09_39_05_10280.jpg
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_14_9818.jpg
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_24_9662.jpg
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_35_10679.jpg
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523152","1398523146","1398523142","1398523148","1398523144","1398523138"],"photo_ids_order":["1398523138","1398523142","1398523144","1398523146","1398523148","1398523152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f445933aaa70b64d7b7b98b09e8b33d8.jpg","text":"TemporaryFile(/tmp/multipartBody5489103806216846173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_39_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fac9a807c2d78ea5c42d2620047786da.jpg","text":"TemporaryFile(/tmp/multipartBody4088866891454038766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_39_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a26e45a766dd00a4077c862c801316ac.jpg","text":"TemporaryFile(/tmp/multipartBody3364856713946864262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_39_05_10280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20a8b076068bf9138679843c93a1540a.jpg","text":"TemporaryFile(/tmp/multipartBody7580170212167994038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_39_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80f4c993e8522fb651758505f0b8fc5b.jpg","text":"TemporaryFile(/tmp/multipartBody7498255955139337083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_39_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f19e8d1f70a6a9bbb996284f9296a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7150541567931117353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300163419,"filename":"image_09122025_09_38_54_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523144","file1":"1398523142","file0":"1398523138","file4":"1398523148","file5":"1398523152","file3":"1398523146"},"map_files_photo_id_array":[{"photo_id":"1398523152","filename":"file5"},{"photo_id":"1398523144","filename":"file2"},{"photo_id":"1398523148","filename":"file4"},{"photo_id":"1398523142","filename":"file1"},{"photo_id":"1398523138","filename":"file0"},{"photo_id":"1398523146","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523152":["hashtag1","hashtag2"]},{"1398523146":["hashtag1","hashtag2"]},{"1398523142":["hashtag1","hashtag2"]},{"1398523148":["hashtag1","hashtag2"]},{"1398523144":["hashtag1","hashtag2"]},{"1398523138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523152, 1398523146, 1398523142, 1398523148, 1398523144, 1398523138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59845447540283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:09:02.956996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_55_10346.jpg', '/home/pi/Desktop/images/09122025/09/39/image_09122025_09_40_04_9631.jpg', '/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_14_9727.jpg', '/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_25_10609.jpg', '/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_34_9505.jpg', '/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_45_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_39_55_10346.jpg
/home/pi/Desktop/images/09122025/09/39/image_09122025_09_40_04_9631.jpg
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_14_9727.jpg
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_25_10609.jpg
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_34_9505.jpg
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_45_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523166","1398523174","1398523168","1398523177","1398523170","1398523164"],"photo_ids_order":["1398523164","1398523166","1398523168","1398523170","1398523174","1398523177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cdf38de753d74be3117388eda1d3c067.jpg","text":"TemporaryFile(/tmp/multipartBody115601072948072117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_40_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff4f04923f57e180c51316bf011e6258.jpg","text":"TemporaryFile(/tmp/multipartBody78545859895249927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_40_34_9505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/716efbd6671712ef3f1c9cf92be3d2f7.jpg","text":"TemporaryFile(/tmp/multipartBody784379984186521203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_40_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0049cc3002010267e0cdfa3f14b6d72.jpg","text":"TemporaryFile(/tmp/multipartBody2186026476978894318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_40_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4972716fd2d0e3d0dd7ac0e07b01d6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6472474187675622760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_40_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c98a09d4108b9fbcdafd1edf4d660222.jpg","text":"TemporaryFile(/tmp/multipartBody4218862555614595596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300203730,"filename":"image_09122025_09_39_55_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523168","file1":"1398523166","file0":"1398523164","file4":"1398523174","file5":"1398523177","file3":"1398523170"},"map_files_photo_id_array":[{"photo_id":"1398523177","filename":"file5"},{"photo_id":"1398523168","filename":"file2"},{"photo_id":"1398523174","filename":"file4"},{"photo_id":"1398523166","filename":"file1"},{"photo_id":"1398523164","filename":"file0"},{"photo_id":"1398523170","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523166":["hashtag1","hashtag2"]},{"1398523174":["hashtag1","hashtag2"]},{"1398523168":["hashtag1","hashtag2"]},{"1398523177":["hashtag1","hashtag2"]},{"1398523170":["hashtag1","hashtag2"]},{"1398523164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523166, 1398523174, 1398523168, 1398523177, 1398523170, 1398523164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69293284416199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:09:41.931321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_28_3516.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_33_2722.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_37_3697.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_42_2564.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_46_3644.jpg', '/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_51_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_28_3516.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_33_2722.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_37_3697.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_42_2564.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_46_3644.jpg
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_17_51_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523181","1398523198","1398523183","1398523194","1398523188","1398523191"],"photo_ids_order":["1398523181","1398523183","1398523188","1398523191","1398523194","1398523198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b4425e976dc71c4a736f71c1efa4e65.jpg","text":"TemporaryFile(/tmp/multipartBody1385789010076337064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_28_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0f3331df34dffa9b4865c3e4ca6de0d.jpg","text":"TemporaryFile(/tmp/multipartBody1574537907709187175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_51_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c81437a9c068bce501c0223912fc48ef.jpg","text":"TemporaryFile(/tmp/multipartBody5807279747908619364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_33_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/75c6ed3e098bf40edf79230a8bed81aa.jpg","text":"TemporaryFile(/tmp/multipartBody4057646764224666943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_46_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2f63f9f789870fbe963cf14a04dfa09.jpg","text":"TemporaryFile(/tmp/multipartBody1376776797592863634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_37_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c6dbf6ffd843a2fa1bdd73dd0b537fa.jpg","text":"TemporaryFile(/tmp/multipartBody136593295901442156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300242896,"filename":"image_01112025_19_17_42_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523188","file1":"1398523183","file0":"1398523181","file4":"1398523194","file5":"1398523198","file3":"1398523191"},"map_files_photo_id_array":[{"photo_id":"1398523198","filename":"file5"},{"photo_id":"1398523188","filename":"file2"},{"photo_id":"1398523194","filename":"file4"},{"photo_id":"1398523183","filename":"file1"},{"photo_id":"1398523181","filename":"file0"},{"photo_id":"1398523191","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523181":["hashtag1","hashtag2"]},{"1398523198":["hashtag1","hashtag2"]},{"1398523183":["hashtag1","hashtag2"]},{"1398523194":["hashtag1","hashtag2"]},{"1398523188":["hashtag1","hashtag2"]},{"1398523191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523181, 1398523198, 1398523183, 1398523194, 1398523188, 1398523191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83509683609009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:10:22.247730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_54_9557.jpg', '/home/pi/Desktop/images/09122025/09/40/image_09122025_09_41_04_9597.jpg', '/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_15_10696.jpg', '/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_24_9811.jpg', '/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_34_9550.jpg', '/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_45_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_40_54_9557.jpg
/home/pi/Desktop/images/09122025/09/40/image_09122025_09_41_04_9597.jpg
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_15_10696.jpg
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_24_9811.jpg
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_34_9550.jpg
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_45_10544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523251","1398523206","1398523335","1398523292","1398523210","1398523204"],"photo_ids_order":["1398523204","1398523206","1398523210","1398523251","1398523292","1398523335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50ace8bc7c8c1ef6e6ab8cd360a9a919.jpg","text":"TemporaryFile(/tmp/multipartBody5499615495415027925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_41_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5e23048b9c64557d596489e7aba00ba.jpg","text":"TemporaryFile(/tmp/multipartBody7260733119578465418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_41_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bd111a1801b8009f0038daea5d6ce5a.jpg","text":"TemporaryFile(/tmp/multipartBody2019543057406862517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_41_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03f0eb1c156accd109d874eb728bd157.jpg","text":"TemporaryFile(/tmp/multipartBody3302994620436372458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_41_34_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3e88ae21c8b1112dfb3eaf872b2b4d7.jpg","text":"TemporaryFile(/tmp/multipartBody3351077743911699293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_41_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65e16151b102e69853a30974bc8c111f.jpg","text":"TemporaryFile(/tmp/multipartBody8649740502299952103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300282796,"filename":"image_09122025_09_40_54_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523210","file1":"1398523206","file0":"1398523204","file4":"1398523292","file5":"1398523335","file3":"1398523251"},"map_files_photo_id_array":[{"photo_id":"1398523335","filename":"file5"},{"photo_id":"1398523210","filename":"file2"},{"photo_id":"1398523292","filename":"file4"},{"photo_id":"1398523206","filename":"file1"},{"photo_id":"1398523204","filename":"file0"},{"photo_id":"1398523251","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523251":["hashtag1","hashtag2"]},{"1398523206":["hashtag1","hashtag2"]},{"1398523335":["hashtag1","hashtag2"]},{"1398523292":["hashtag1","hashtag2"]},{"1398523210":["hashtag1","hashtag2"]},{"1398523204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523251, 1398523206, 1398523335, 1398523292, 1398523210, 1398523204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37051224708557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:11:03.097745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_54_9766.jpg', '/home/pi/Desktop/images/09122025/09/41/image_09122025_09_42_04_9659.jpg', '/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_15_10549.jpg', '/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_24_9716.jpg', '/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_35_10576.jpg', '/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_41_54_9766.jpg
/home/pi/Desktop/images/09122025/09/41/image_09122025_09_42_04_9659.jpg
/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_15_10549.jpg
/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_24_9716.jpg
/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_35_10576.jpg
/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_45_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523469","1398523463","1398523457","1398523465","1398523467","1398523461"],"photo_ids_order":["1398523457","1398523461","1398523463","1398523465","1398523467","1398523469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4bea1934968c34580281eca81a3c23f7.jpg","text":"TemporaryFile(/tmp/multipartBody1853940161524491313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_42_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b08332961401e946d29776cc2318855f.jpg","text":"TemporaryFile(/tmp/multipartBody3528908863735811163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_42_15_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4bee9c169bf8802f01a36a3bcd3d400.jpg","text":"TemporaryFile(/tmp/multipartBody823280129779776570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_41_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/551702bf946ab325be931d53544eb461.jpg","text":"TemporaryFile(/tmp/multipartBody7841945495280513307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_42_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40dfc438c2ffa6e5dd5b3687fd7ab3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3609106486543324648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_42_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb50cb3e94cb0d811deb5aa723795fff.jpg","text":"TemporaryFile(/tmp/multipartBody8088661357578196998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300323704,"filename":"image_09122025_09_42_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523463","file1":"1398523461","file0":"1398523457","file4":"1398523467","file5":"1398523469","file3":"1398523465"},"map_files_photo_id_array":[{"photo_id":"1398523469","filename":"file5"},{"photo_id":"1398523463","filename":"file2"},{"photo_id":"1398523467","filename":"file4"},{"photo_id":"1398523461","filename":"file1"},{"photo_id":"1398523457","filename":"file0"},{"photo_id":"1398523465","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523469":["hashtag1","hashtag2"]},{"1398523463":["hashtag1","hashtag2"]},{"1398523457":["hashtag1","hashtag2"]},{"1398523465":["hashtag1","hashtag2"]},{"1398523467":["hashtag1","hashtag2"]},{"1398523461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523469, 1398523463, 1398523457, 1398523465, 1398523467, 1398523461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77942895889282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:11:42.479240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/17/image_01112025_19_18_00_2642.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_03_2568.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_06_3681.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_09_2748.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_12_2730.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_16_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/17/image_01112025_19_18_00_2642.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_03_2568.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_06_3681.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_09_2748.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_12_2730.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_16_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523484","1398523480","1398523477","1398523491","1398523485","1398523488"],"photo_ids_order":["1398523477","1398523480","1398523484","1398523485","1398523488","1398523491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b56416707d8982bbbea085eadbfd1af.jpg","text":"TemporaryFile(/tmp/multipartBody8858688493386620657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_06_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f5918faa36f24f17c3e02f309257d38.jpg","text":"TemporaryFile(/tmp/multipartBody2894762638155297912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_03_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22bdebf03ba882be40b326f628a80085.jpg","text":"TemporaryFile(/tmp/multipartBody4007053392601807485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_00_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17869476915b5fb83ebf8be5c37decef.jpg","text":"TemporaryFile(/tmp/multipartBody4355057658771071586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_16_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3880a97fa392492772c25f7b1fdb5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7787112364687487268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_09_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4202cf96b56bf5770f033e38aa0d2502.jpg","text":"TemporaryFile(/tmp/multipartBody7733326489747900168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300363748,"filename":"image_01112025_19_18_12_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523484","file1":"1398523480","file0":"1398523477","file4":"1398523488","file5":"1398523491","file3":"1398523485"},"map_files_photo_id_array":[{"photo_id":"1398523491","filename":"file5"},{"photo_id":"1398523484","filename":"file2"},{"photo_id":"1398523488","filename":"file4"},{"photo_id":"1398523480","filename":"file1"},{"photo_id":"1398523477","filename":"file0"},{"photo_id":"1398523485","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523484":["hashtag1","hashtag2"]},{"1398523480":["hashtag1","hashtag2"]},{"1398523477":["hashtag1","hashtag2"]},{"1398523491":["hashtag1","hashtag2"]},{"1398523485":["hashtag1","hashtag2"]},{"1398523488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523484, 1398523480, 1398523477, 1398523491, 1398523485, 1398523488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67471432685852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:12:22.723810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_54_9664.jpg', '/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_14_9581.jpg', '/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_24_9823.jpg', '/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_34_9648.jpg', '/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_44_10586.jpg', '/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/42/image_09122025_09_42_54_9664.jpg
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_14_9581.jpg
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_24_9823.jpg
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_34_9648.jpg
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_44_10586.jpg
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_43_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523509","1398523508","1398523523","1398523517","1398523502","1398523505"],"photo_ids_order":["1398523502","1398523505","1398523508","1398523509","1398523517","1398523523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e450cfd8bd56e2f7d6b2b0a5e52f1254.jpg","text":"TemporaryFile(/tmp/multipartBody1954969303060144716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_43_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4b0b6bf0cce73cd3838f05214a35236a.jpg","text":"TemporaryFile(/tmp/multipartBody414704926950319858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_43_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c031c99139a6a6a69b77d765097a61b3.jpg","text":"TemporaryFile(/tmp/multipartBody1753916997430451166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_43_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb23d53da57c98feb4d6e42d66dc7235.jpg","text":"TemporaryFile(/tmp/multipartBody7834055509204241967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_43_44_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06480b843c63997a5731fb62ae86c55b.jpg","text":"TemporaryFile(/tmp/multipartBody9205405335763912419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_42_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d09245ca0678a70f2875f6edb0f5b55.jpg","text":"TemporaryFile(/tmp/multipartBody14873718560003190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300403275,"filename":"image_09122025_09_43_14_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523508","file1":"1398523505","file0":"1398523502","file4":"1398523517","file5":"1398523523","file3":"1398523509"},"map_files_photo_id_array":[{"photo_id":"1398523523","filename":"file5"},{"photo_id":"1398523508","filename":"file2"},{"photo_id":"1398523517","filename":"file4"},{"photo_id":"1398523505","filename":"file1"},{"photo_id":"1398523502","filename":"file0"},{"photo_id":"1398523509","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523509":["hashtag1","hashtag2"]},{"1398523508":["hashtag1","hashtag2"]},{"1398523523":["hashtag1","hashtag2"]},{"1398523517":["hashtag1","hashtag2"]},{"1398523502":["hashtag1","hashtag2"]},{"1398523505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523509, 1398523508, 1398523523, 1398523517, 1398523502, 1398523505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22034955024719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:13:02.596297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/43/image_09122025_09_44_05_10595.jpg', '/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_14_9631.jpg', '/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_24_9743.jpg', '/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_35_10516.jpg', '/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_44_9524.jpg', '/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_55_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/43/image_09122025_09_44_05_10595.jpg
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_14_9631.jpg
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_24_9743.jpg
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_35_10516.jpg
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_44_9524.jpg
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_44_55_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523539","1398523533","1398523541","1398523543","1398523537","1398523546"],"photo_ids_order":["1398523533","1398523537","1398523539","1398523541","1398523543","1398523546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1338b11f65d48c02a0ce4f01ef8e9b27.jpg","text":"TemporaryFile(/tmp/multipartBody2288529423214145776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76785b57a71436ccbdebe058352815ef.jpg","text":"TemporaryFile(/tmp/multipartBody5583773945300576728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_05_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc769d8b0a92433df251c6177a1f192e.jpg","text":"TemporaryFile(/tmp/multipartBody2443946539256406124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_35_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c49dec05f01f2846e8df5b94f8b0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8086463833254170015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_44_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26cb80d0601dd917efee67901cdf6519.jpg","text":"TemporaryFile(/tmp/multipartBody7625521216392560054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa5eb0dc84419ed9ccf14f4805458b02.jpg","text":"TemporaryFile(/tmp/multipartBody7068095611393716304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300443265,"filename":"image_09122025_09_44_55_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523539","file1":"1398523537","file0":"1398523533","file4":"1398523543","file5":"1398523546","file3":"1398523541"},"map_files_photo_id_array":[{"photo_id":"1398523546","filename":"file5"},{"photo_id":"1398523539","filename":"file2"},{"photo_id":"1398523543","filename":"file4"},{"photo_id":"1398523537","filename":"file1"},{"photo_id":"1398523533","filename":"file0"},{"photo_id":"1398523541","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523539":["hashtag1","hashtag2"]},{"1398523533":["hashtag1","hashtag2"]},{"1398523541":["hashtag1","hashtag2"]},{"1398523543":["hashtag1","hashtag2"]},{"1398523537":["hashtag1","hashtag2"]},{"1398523546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523539, 1398523533, 1398523541, 1398523543, 1398523537, 1398523546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86076474189758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:13:41.973273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_18_2717.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_21_2658.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_24_2752.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_27_3690.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_30_2676.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_36_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_18_2717.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_21_2658.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_24_2752.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_27_3690.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_30_2676.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_36_3542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523551","1398523562","1398523555","1398523558","1398523567","1398523572"],"photo_ids_order":["1398523551","1398523555","1398523558","1398523562","1398523567","1398523572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f018ec232145f26514fe9431810657e2.jpg","text":"TemporaryFile(/tmp/multipartBody1320914083075275096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_18_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f12e2fba00f79326178d29f9645bcc72.jpg","text":"TemporaryFile(/tmp/multipartBody1735131149119299534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_27_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b699e81771d1ee117dd4a77b0529b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4568477115058816438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_21_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d1b2934b2570c2ec1edccc729a16bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8554643033793489492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_24_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/738d1d77ec9be6fe19e68798d2346627.jpg","text":"TemporaryFile(/tmp/multipartBody4959121800030693715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_30_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0f76f2c77932cf272147701aa06a753.jpg","text":"TemporaryFile(/tmp/multipartBody5646923688623600874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300482947,"filename":"image_01112025_19_18_36_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523558","file1":"1398523555","file0":"1398523551","file4":"1398523567","file5":"1398523572","file3":"1398523562"},"map_files_photo_id_array":[{"photo_id":"1398523572","filename":"file5"},{"photo_id":"1398523558","filename":"file2"},{"photo_id":"1398523567","filename":"file4"},{"photo_id":"1398523555","filename":"file1"},{"photo_id":"1398523551","filename":"file0"},{"photo_id":"1398523562","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523551":["hashtag1","hashtag2"]},{"1398523562":["hashtag1","hashtag2"]},{"1398523555":["hashtag1","hashtag2"]},{"1398523558":["hashtag1","hashtag2"]},{"1398523567":["hashtag1","hashtag2"]},{"1398523572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523551, 1398523562, 1398523555, 1398523558, 1398523567, 1398523572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18894004821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:14:22.179572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/44/image_09122025_09_45_04_9587.jpg', '/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_14_9700.jpg', '/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_25_10654.jpg', '/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_34_9722.jpg', '/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_44_9638.jpg', '/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_55_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/44/image_09122025_09_45_04_9587.jpg
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_14_9700.jpg
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_25_10654.jpg
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_34_9722.jpg
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_44_9638.jpg
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_45_55_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523577","1398523594","1398523585","1398523599","1398523581","1398523575"],"photo_ids_order":["1398523575","1398523577","1398523581","1398523585","1398523594","1398523599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d396c655c7382ca7125cd4d6d55ab721.jpg","text":"TemporaryFile(/tmp/multipartBody1006352271736838251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a4cf5759f3a0aeaa0fa72aa38a17372.jpg","text":"TemporaryFile(/tmp/multipartBody4993693308944336675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/480b8653ed70c58a4126fec7cdf949db.jpg","text":"TemporaryFile(/tmp/multipartBody8670757658725506911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1385c098edc070aef205782dfad449c0.jpg","text":"TemporaryFile(/tmp/multipartBody9206236288599594957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c8864b87e6a4618fd5e9a53108b2775.jpg","text":"TemporaryFile(/tmp/multipartBody5915278038823682283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0b9b4c3f80a7aca620896c4bfad68b8.jpg","text":"TemporaryFile(/tmp/multipartBody3613759437971941419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300522755,"filename":"image_09122025_09_45_04_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523581","file1":"1398523577","file0":"1398523575","file4":"1398523594","file5":"1398523599","file3":"1398523585"},"map_files_photo_id_array":[{"photo_id":"1398523599","filename":"file5"},{"photo_id":"1398523581","filename":"file2"},{"photo_id":"1398523594","filename":"file4"},{"photo_id":"1398523577","filename":"file1"},{"photo_id":"1398523575","filename":"file0"},{"photo_id":"1398523585","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523577":["hashtag1","hashtag2"]},{"1398523594":["hashtag1","hashtag2"]},{"1398523585":["hashtag1","hashtag2"]},{"1398523599":["hashtag1","hashtag2"]},{"1398523581":["hashtag1","hashtag2"]},{"1398523575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523577, 1398523594, 1398523585, 1398523599, 1398523581, 1398523575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07163214683533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:15:02.970626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/45/image_09122025_09_46_04_9613.jpg', '/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_14_9627.jpg', '/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_25_10740.jpg', '/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_34_9577.jpg', '/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_45_10612.jpg', '/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_55_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/45/image_09122025_09_46_04_9613.jpg
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_14_9627.jpg
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_25_10740.jpg
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_34_9577.jpg
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_45_10612.jpg
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_46_55_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523629","1398523620","1398523626","1398523622","1398523624","1398523615"],"photo_ids_order":["1398523615","1398523620","1398523622","1398523624","1398523626","1398523629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79353179b9b5fe4ac048ac29dbecfd55.jpg","text":"TemporaryFile(/tmp/multipartBody2720576348782898884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_55_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/207a368bc885d5c5bc249f42d1f5ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody5354133197283359400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e50ce89784e6d6943ac66238cf154c43.jpg","text":"TemporaryFile(/tmp/multipartBody2918866740381966916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/182c5c098f5e51512f3fad7626780aff.jpg","text":"TemporaryFile(/tmp/multipartBody6678685108377103630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de04c3f1c893fa5b2e30377a8d94e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1661749855837028861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_34_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/182e0827852e757bfefaf7579517485d.jpg","text":"TemporaryFile(/tmp/multipartBody6926299103676066828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300563589,"filename":"image_09122025_09_46_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523622","file1":"1398523620","file0":"1398523615","file4":"1398523626","file5":"1398523629","file3":"1398523624"},"map_files_photo_id_array":[{"photo_id":"1398523629","filename":"file5"},{"photo_id":"1398523622","filename":"file2"},{"photo_id":"1398523626","filename":"file4"},{"photo_id":"1398523620","filename":"file1"},{"photo_id":"1398523615","filename":"file0"},{"photo_id":"1398523624","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523629":["hashtag1","hashtag2"]},{"1398523620":["hashtag1","hashtag2"]},{"1398523626":["hashtag1","hashtag2"]},{"1398523622":["hashtag1","hashtag2"]},{"1398523624":["hashtag1","hashtag2"]},{"1398523615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523629, 1398523620, 1398523626, 1398523622, 1398523624, 1398523615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.752480268478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:15:42.406174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_39_2492.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_42_2798.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_45_3755.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_48_2666.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_51_2649.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_54_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_39_2492.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_42_2798.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_45_3755.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_48_2666.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_51_2649.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_54_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523635","1398523643","1398523646","1398523649","1398523639","1398523653"],"photo_ids_order":["1398523635","1398523639","1398523643","1398523646","1398523649","1398523653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5084e0a8657778bd6807b1a5e36f1448.jpg","text":"TemporaryFile(/tmp/multipartBody8826130572903106261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_39_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9032f6ae017f75271bec576811aa1caa.jpg","text":"TemporaryFile(/tmp/multipartBody2321039314927298669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_45_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d9ba255af0b3002e74abc552513741c.jpg","text":"TemporaryFile(/tmp/multipartBody6883767362193626963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c84dee47f9de0953e1a198f02f7b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2217516742799892917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_51_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f819b8ea960021980a081d733d6baaf9.jpg","text":"TemporaryFile(/tmp/multipartBody4284764386021896515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_42_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2696afaa0834e63cc6f6f081109cafc7.jpg","text":"TemporaryFile(/tmp/multipartBody7080055370074010524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300603380,"filename":"image_01112025_19_18_54_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523643","file1":"1398523639","file0":"1398523635","file4":"1398523649","file5":"1398523653","file3":"1398523646"},"map_files_photo_id_array":[{"photo_id":"1398523653","filename":"file5"},{"photo_id":"1398523643","filename":"file2"},{"photo_id":"1398523649","filename":"file4"},{"photo_id":"1398523639","filename":"file1"},{"photo_id":"1398523635","filename":"file0"},{"photo_id":"1398523646","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523635":["hashtag1","hashtag2"]},{"1398523643":["hashtag1","hashtag2"]},{"1398523646":["hashtag1","hashtag2"]},{"1398523649":["hashtag1","hashtag2"]},{"1398523639":["hashtag1","hashtag2"]},{"1398523653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523635, 1398523643, 1398523646, 1398523649, 1398523639, 1398523653)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.50560545921326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:16:32.728997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/07/image_08122025_13_08_04_9670.jpg', '/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_14_9662.jpg', '/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_25_10572.jpg', '/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_34_9583.jpg', '/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_45_10744.jpg', '/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_55_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/07/image_08122025_13_08_04_9670.jpg
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_14_9662.jpg
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_25_10572.jpg
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_34_9583.jpg
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_45_10744.jpg
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_08_55_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523662","1398523676","1398523672","1398523669","1398523666","1398523686"],"photo_ids_order":["1398523662","1398523666","1398523669","1398523672","1398523676","1398523686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cddb798bc6cce4d8eecf1c35a93bb7e9.jpg","text":"TemporaryFile(/tmp/multipartBody6397496697917293312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e766dacdb6255fc9146a94fb8142b37d.jpg","text":"TemporaryFile(/tmp/multipartBody5019933338323289896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bab9d13f49decf1df1ebe21b1790fe39.jpg","text":"TemporaryFile(/tmp/multipartBody1582677570882431011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecd5713cb923f428e320de5ada187f94.jpg","text":"TemporaryFile(/tmp/multipartBody8056789637242156232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7d5465d5d920f28b27af7f4c8ebc050.jpg","text":"TemporaryFile(/tmp/multipartBody4978628811531488994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1631d62297325107f391b7a801ddf2de.jpg","text":"TemporaryFile(/tmp/multipartBody7113216497335228898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300654640,"filename":"image_08122025_13_08_55_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523669","file1":"1398523666","file0":"1398523662","file4":"1398523676","file5":"1398523686","file3":"1398523672"},"map_files_photo_id_array":[{"photo_id":"1398523686","filename":"file5"},{"photo_id":"1398523669","filename":"file2"},{"photo_id":"1398523676","filename":"file4"},{"photo_id":"1398523666","filename":"file1"},{"photo_id":"1398523662","filename":"file0"},{"photo_id":"1398523672","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398523662":["hashtag1","hashtag2"]},{"1398523676":["hashtag1","hashtag2"]},{"1398523672":["hashtag1","hashtag2"]},{"1398523669":["hashtag1","hashtag2"]},{"1398523666":["hashtag1","hashtag2"]},{"1398523686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398523662, 1398523676, 1398523672, 1398523669, 1398523666, 1398523686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48145532608032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:17:18.890704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/08/image_08122025_13_09_04_9563.jpg', '/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_15_10671.jpg', '/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_24_9647.jpg', '/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_34_9762.jpg', '/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_45_10623.jpg', '/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/08/image_08122025_13_09_04_9563.jpg
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_15_10671.jpg
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_24_9647.jpg
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_34_9762.jpg
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_45_10623.jpg
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_09_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523710","1398523707","1398523697","1398523700","1398523703","1398523705"],"photo_ids_order":["1398523697","1398523700","1398523703","1398523705","1398523707","1398523710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87f4ddbfc8b10e2c28e91babee4826f5.jpg","text":"TemporaryFile(/tmp/multipartBody4632551807785920014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/396b62e8241e27430d69a2cee63a6874.jpg","text":"TemporaryFile(/tmp/multipartBody4143802379446498408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dca6374f9b92cc2ef0fbf564a95b69b4.jpg","text":"TemporaryFile(/tmp/multipartBody8114093035674788544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecb114d1219d376d5eb87327995bc1fa.jpg","text":"TemporaryFile(/tmp/multipartBody8268734620665913791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc301ee353fb0049f4bf4bc92d286585.jpg","text":"TemporaryFile(/tmp/multipartBody1241352502000020817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/59d3a81d61adbe2243bc060689ee1107.jpg","text":"TemporaryFile(/tmp/multipartBody3565633510199419977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300700653,"filename":"image_08122025_13_09_34_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523703","file1":"1398523700","file0":"1398523697","file4":"1398523707","file5":"1398523710","file3":"1398523705"},"map_files_photo_id_array":[{"photo_id":"1398523710","filename":"file5"},{"photo_id":"1398523703","filename":"file2"},{"photo_id":"1398523707","filename":"file4"},{"photo_id":"1398523700","filename":"file1"},{"photo_id":"1398523697","filename":"file0"},{"photo_id":"1398523705","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398523710":["hashtag1","hashtag2"]},{"1398523707":["hashtag1","hashtag2"]},{"1398523697":["hashtag1","hashtag2"]},{"1398523700":["hashtag1","hashtag2"]},{"1398523703":["hashtag1","hashtag2"]},{"1398523705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398523710, 1398523707, 1398523697, 1398523700, 1398523703, 1398523705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77590608596802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:18:02.461509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/46/image_09122025_09_47_04_9687.jpg', '/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_14_9617.jpg', '/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_25_10783.jpg', '/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_35_9738.jpg', '/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_44_9551.jpg', '/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_55_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/46/image_09122025_09_47_04_9687.jpg
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_14_9617.jpg
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_25_10783.jpg
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_35_9738.jpg
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_44_9551.jpg
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_47_55_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523722","1398523730","1398523733","1398523736","1398523738","1398523726"],"photo_ids_order":["1398523722","1398523726","1398523730","1398523733","1398523736","1398523738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/410a01215b8556782b289aaf3c480b30.jpg","text":"TemporaryFile(/tmp/multipartBody3081964274573248134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61b212f33a1dd58907ce028f131925da.jpg","text":"TemporaryFile(/tmp/multipartBody9112614052978970687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_25_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4ca433d43024aa69642bd7198aa6b83.jpg","text":"TemporaryFile(/tmp/multipartBody2807947659269634934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1000b7866892fbd4d9eab82675b6868f.jpg","text":"TemporaryFile(/tmp/multipartBody5301971277911574812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_44_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5797e71e4f4b61a302c9d85060948dc.jpg","text":"TemporaryFile(/tmp/multipartBody4126825981213322940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2564d95d73db35f9ce9c813a6a1cb914.jpg","text":"TemporaryFile(/tmp/multipartBody7900222743283452907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300743076,"filename":"image_09122025_09_47_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523730","file1":"1398523726","file0":"1398523722","file4":"1398523736","file5":"1398523738","file3":"1398523733"},"map_files_photo_id_array":[{"photo_id":"1398523738","filename":"file5"},{"photo_id":"1398523730","filename":"file2"},{"photo_id":"1398523736","filename":"file4"},{"photo_id":"1398523726","filename":"file1"},{"photo_id":"1398523722","filename":"file0"},{"photo_id":"1398523733","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523722":["hashtag1","hashtag2"]},{"1398523730":["hashtag1","hashtag2"]},{"1398523733":["hashtag1","hashtag2"]},{"1398523736":["hashtag1","hashtag2"]},{"1398523738":["hashtag1","hashtag2"]},{"1398523726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523722, 1398523730, 1398523733, 1398523736, 1398523738, 1398523726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.990625858306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:18:42.198519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_57_2684.jpg', '/home/pi/Desktop/images/01112025/19/18/image_01112025_19_19_01_3545.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_06_2628.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_10_3607.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_15_2792.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_18_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_18_57_2684.jpg
/home/pi/Desktop/images/01112025/19/18/image_01112025_19_19_01_3545.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_06_2628.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_10_3607.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_15_2792.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_18_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523769","1398523760","1398523766","1398523783","1398523756","1398523773"],"photo_ids_order":["1398523756","1398523760","1398523766","1398523769","1398523773","1398523783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/256fc531d0b3404b58b5bd3bd9179338.jpg","text":"TemporaryFile(/tmp/multipartBody2091903240425587475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_19_10_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f6bf836e6ead7e1426b65bcea2f9869.jpg","text":"TemporaryFile(/tmp/multipartBody3104859592051379008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_19_01_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f79b5ea2a8ff468e972315661b26273b.jpg","text":"TemporaryFile(/tmp/multipartBody1640167163161888292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_19_06_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2c7f83899e904014b8f349b710bd199.jpg","text":"TemporaryFile(/tmp/multipartBody1382653603099533617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_19_18_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3abc83aece5f0eb6595adeb2eea07690.jpg","text":"TemporaryFile(/tmp/multipartBody949732628566786342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_18_57_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92e068a9cbba14c4cc92d7ccf6576311.jpg","text":"TemporaryFile(/tmp/multipartBody5694905466150438957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300783201,"filename":"image_01112025_19_19_15_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523766","file1":"1398523760","file0":"1398523756","file4":"1398523773","file5":"1398523783","file3":"1398523769"},"map_files_photo_id_array":[{"photo_id":"1398523783","filename":"file5"},{"photo_id":"1398523766","filename":"file2"},{"photo_id":"1398523773","filename":"file4"},{"photo_id":"1398523760","filename":"file1"},{"photo_id":"1398523756","filename":"file0"},{"photo_id":"1398523769","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523769":["hashtag1","hashtag2"]},{"1398523760":["hashtag1","hashtag2"]},{"1398523766":["hashtag1","hashtag2"]},{"1398523783":["hashtag1","hashtag2"]},{"1398523756":["hashtag1","hashtag2"]},{"1398523773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523769, 1398523760, 1398523766, 1398523783, 1398523756, 1398523773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.823370695114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:19:22.440312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/47/image_09122025_09_48_04_9631.jpg', '/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_14_9528.jpg', '/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_25_10787.jpg', '/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_34_9566.jpg', '/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_44_9725.jpg', '/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_55_10807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/47/image_09122025_09_48_04_9631.jpg
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_14_9528.jpg
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_25_10787.jpg
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_34_9566.jpg
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_44_9725.jpg
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_48_55_10807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523809","1398523800","1398523806","1398523796","1398523799","1398523814"],"photo_ids_order":["1398523796","1398523799","1398523800","1398523806","1398523809","1398523814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5e8c07f8ebcb6e38b989f45209a8bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7468454861667367404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/265e58aa1c509f1056fd3ff5c17fed36.jpg","text":"TemporaryFile(/tmp/multipartBody5393463737103483792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_25_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5a0b2d716b123ef872dfacd0c425d98.jpg","text":"TemporaryFile(/tmp/multipartBody4918045400851221429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f19fd375b521931c6ef90d6535499b96.jpg","text":"TemporaryFile(/tmp/multipartBody7511979322175307315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9dc02f6924e5fede0504e8f36197956c.jpg","text":"TemporaryFile(/tmp/multipartBody7761252415886319641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_14_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97a62c9792b3b8df0fb8c23ed40f3f3b.jpg","text":"TemporaryFile(/tmp/multipartBody6680756090416702303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300823002,"filename":"image_09122025_09_48_55_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523800","file1":"1398523799","file0":"1398523796","file4":"1398523809","file5":"1398523814","file3":"1398523806"},"map_files_photo_id_array":[{"photo_id":"1398523814","filename":"file5"},{"photo_id":"1398523800","filename":"file2"},{"photo_id":"1398523809","filename":"file4"},{"photo_id":"1398523799","filename":"file1"},{"photo_id":"1398523796","filename":"file0"},{"photo_id":"1398523806","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523809":["hashtag1","hashtag2"]},{"1398523800":["hashtag1","hashtag2"]},{"1398523806":["hashtag1","hashtag2"]},{"1398523796":["hashtag1","hashtag2"]},{"1398523799":["hashtag1","hashtag2"]},{"1398523814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523809, 1398523800, 1398523806, 1398523796, 1398523799, 1398523814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.243547201156616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:20:03.005818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/48/image_09122025_09_49_04_9616.jpg', '/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_14_9649.jpg', '/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_25_10687.jpg', '/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_34_9606.jpg', '/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_44_9804.jpg', '/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_54_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/48/image_09122025_09_49_04_9616.jpg
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_14_9649.jpg
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_25_10687.jpg
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_34_9606.jpg
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_44_9804.jpg
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_49_54_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523827","1398523838","1398523829","1398523834","1398523831","1398523825"],"photo_ids_order":["1398523825","1398523827","1398523829","1398523831","1398523834","1398523838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35b8972b29494f1c80c714b5fb25b6a9.jpg","text":"TemporaryFile(/tmp/multipartBody7146319059178958923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22d260211fefaca28d2a2bd7237ce2e0.jpg","text":"TemporaryFile(/tmp/multipartBody319424597487037282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0de77f3e6e11a9953fd3ab18e03ebd1.jpg","text":"TemporaryFile(/tmp/multipartBody2174892357100440896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5857f7e2aaf7202e4b5281162ec168c.jpg","text":"TemporaryFile(/tmp/multipartBody2703153110806908476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/970fca7b7bcaf0056f4b61e292ddc497.jpg","text":"TemporaryFile(/tmp/multipartBody3970525598319425253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a5482fd20a4f17e5f81436e2bf84b19.jpg","text":"TemporaryFile(/tmp/multipartBody852980139417522504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300863582,"filename":"image_09122025_09_49_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523829","file1":"1398523827","file0":"1398523825","file4":"1398523834","file5":"1398523838","file3":"1398523831"},"map_files_photo_id_array":[{"photo_id":"1398523838","filename":"file5"},{"photo_id":"1398523829","filename":"file2"},{"photo_id":"1398523834","filename":"file4"},{"photo_id":"1398523827","filename":"file1"},{"photo_id":"1398523825","filename":"file0"},{"photo_id":"1398523831","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523827":["hashtag1","hashtag2"]},{"1398523838":["hashtag1","hashtag2"]},{"1398523829":["hashtag1","hashtag2"]},{"1398523834":["hashtag1","hashtag2"]},{"1398523831":["hashtag1","hashtag2"]},{"1398523825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523827, 1398523838, 1398523829, 1398523834, 1398523831, 1398523825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5387499332428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:20:42.645792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_21_3643.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_24_2598.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_27_2798.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_30_3590.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_33_2623.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_36_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_21_3643.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_24_2598.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_27_2798.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_30_3590.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_33_2623.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_36_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523852","1398523861","1398523855","1398523849","1398523858","1398523845"],"photo_ids_order":["1398523845","1398523849","1398523852","1398523855","1398523858","1398523861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33d5225c5b9fd0f9ae4283c6b7b0fda7.jpg","text":"TemporaryFile(/tmp/multipartBody6663062230560881467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_27_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a3866e52e8888e9c651d3adf38fa5d7.jpg","text":"TemporaryFile(/tmp/multipartBody2170090861742434265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_36_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d496d1d6a5e40c4b719df5b73493933.jpg","text":"TemporaryFile(/tmp/multipartBody6974219807293357225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_30_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ae6fb309ad1398707b786fb6c42b589.jpg","text":"TemporaryFile(/tmp/multipartBody7382932426254301505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_24_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a897fd068921dad1b3f923d995c10e29.jpg","text":"TemporaryFile(/tmp/multipartBody4340119940809682010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_33_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04179e849d4489c9adc0dfc3585cd79b.jpg","text":"TemporaryFile(/tmp/multipartBody2036600272922492379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300903648,"filename":"image_01112025_19_19_21_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523852","file1":"1398523849","file0":"1398523845","file4":"1398523858","file5":"1398523861","file3":"1398523855"},"map_files_photo_id_array":[{"photo_id":"1398523861","filename":"file5"},{"photo_id":"1398523852","filename":"file2"},{"photo_id":"1398523858","filename":"file4"},{"photo_id":"1398523849","filename":"file1"},{"photo_id":"1398523845","filename":"file0"},{"photo_id":"1398523855","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523852":["hashtag1","hashtag2"]},{"1398523861":["hashtag1","hashtag2"]},{"1398523855":["hashtag1","hashtag2"]},{"1398523849":["hashtag1","hashtag2"]},{"1398523858":["hashtag1","hashtag2"]},{"1398523845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523852, 1398523861, 1398523855, 1398523849, 1398523858, 1398523845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43111968040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:21:22.018312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/49/image_09122025_09_50_05_10648.jpg', '/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_14_9758.jpg', '/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_24_9774.jpg', '/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_35_10598.jpg', '/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_44_9697.jpg', '/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/49/image_09122025_09_50_05_10648.jpg
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_14_9758.jpg
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_24_9774.jpg
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_35_10598.jpg
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_44_9697.jpg
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_50_54_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523895","1398523889","1398523897","1398523891","1398523893","1398523900"],"photo_ids_order":["1398523889","1398523891","1398523893","1398523895","1398523897","1398523900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/774da8fcc11fd278b3a1e26b066fc446.jpg","text":"TemporaryFile(/tmp/multipartBody5000417973418535019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e59c6a82eeb7b203abf109daf728fca.jpg","text":"TemporaryFile(/tmp/multipartBody1846850033423141073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8a9ea615db60cc6da6ddc601d06f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8370319178859066519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06c307b88fec7e9769890c83d45f5613.jpg","text":"TemporaryFile(/tmp/multipartBody8221249398282272563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d941e0ba40f87e3a2fe374fb2c63fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2739067868647874575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_24_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0d6dd7cf7188d69e079a19745e57db4.jpg","text":"TemporaryFile(/tmp/multipartBody2197226133033196633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300942575,"filename":"image_09122025_09_50_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523893","file1":"1398523891","file0":"1398523889","file4":"1398523897","file5":"1398523900","file3":"1398523895"},"map_files_photo_id_array":[{"photo_id":"1398523900","filename":"file5"},{"photo_id":"1398523893","filename":"file2"},{"photo_id":"1398523897","filename":"file4"},{"photo_id":"1398523891","filename":"file1"},{"photo_id":"1398523889","filename":"file0"},{"photo_id":"1398523895","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523895":["hashtag1","hashtag2"]},{"1398523889":["hashtag1","hashtag2"]},{"1398523897":["hashtag1","hashtag2"]},{"1398523891":["hashtag1","hashtag2"]},{"1398523893":["hashtag1","hashtag2"]},{"1398523900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523895, 1398523889, 1398523897, 1398523891, 1398523893, 1398523900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.846001863479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:22:02.716233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/50/image_09122025_09_51_05_10631.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_14_9651.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_24_9660.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_35_10702.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_44_9556.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_51_05_10631.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_14_9651.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_24_9660.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_35_10702.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_44_9556.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_54_9668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4720191955566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:22:12.181933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/09/image_08122025_13_10_04_9613.jpg', '/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_15_10738.jpg', '/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_25_9727.jpg', '/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_35_10501.jpg', '/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_44_9315.jpg', '/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/09/image_08122025_13_10_04_9613.jpg
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_15_10738.jpg
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_25_9727.jpg
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_35_10501.jpg
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_44_9315.jpg
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_10_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523926","1398523929","1398523920","1398523916","1398523936","1398523924"],"photo_ids_order":["1398523916","1398523920","1398523924","1398523926","1398523929","1398523936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5e15a27dd722b13532940a1d7e4be05.jpg","text":"TemporaryFile(/tmp/multipartBody6472915063592073339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_35_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29c207cdcb8ae7d7edf938c3bae29696.jpg","text":"TemporaryFile(/tmp/multipartBody5333338414285582952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_44_9315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd1157953401389fbb21dd6fcacbd857.jpg","text":"TemporaryFile(/tmp/multipartBody4710278065518977332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_15_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56af28bb9f4a470796851900d755f43f.jpg","text":"TemporaryFile(/tmp/multipartBody520791800059809750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3f2a57de168a9820a5e54a1af855bbf.jpg","text":"TemporaryFile(/tmp/multipartBody38670946784411544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/391b3a045bc10817bb8206f862173774.jpg","text":"TemporaryFile(/tmp/multipartBody7177072262613216243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765300993961,"filename":"image_08122025_13_10_25_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523924","file1":"1398523920","file0":"1398523916","file4":"1398523929","file5":"1398523936","file3":"1398523926"},"map_files_photo_id_array":[{"photo_id":"1398523936","filename":"file5"},{"photo_id":"1398523924","filename":"file2"},{"photo_id":"1398523929","filename":"file4"},{"photo_id":"1398523920","filename":"file1"},{"photo_id":"1398523916","filename":"file0"},{"photo_id":"1398523926","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398523926":["hashtag1","hashtag2"]},{"1398523929":["hashtag1","hashtag2"]},{"1398523920":["hashtag1","hashtag2"]},{"1398523916":["hashtag1","hashtag2"]},{"1398523936":["hashtag1","hashtag2"]},{"1398523924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398523926, 1398523929, 1398523920, 1398523916, 1398523936, 1398523924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58484244346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:23:02.933732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/50/image_09122025_09_51_05_10631.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_14_9651.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_24_9660.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_35_10702.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_44_9556.jpg', '/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/50/image_09122025_09_51_05_10631.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_14_9651.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_24_9660.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_35_10702.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_44_9556.jpg
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_51_54_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523961","1398523964","1398523958","1398523960","1398523954","1398523962"],"photo_ids_order":["1398523954","1398523958","1398523960","1398523961","1398523962","1398523964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/500dc6f1f5bf4ecfdb526fd4838dd926.jpg","text":"TemporaryFile(/tmp/multipartBody3629696173977091127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_35_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc79aadd2a03119302e9d2c0331fe496.jpg","text":"TemporaryFile(/tmp/multipartBody2896938323989785161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc9ad5d3d6537d455e29db9cad53d4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1423549179796579440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3edc96b0bbbe1ec6034aeabf53d2b071.jpg","text":"TemporaryFile(/tmp/multipartBody5285918715781195811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f8cf1d02d50f13e64206dfaf4c6c295.jpg","text":"TemporaryFile(/tmp/multipartBody1848497951196955255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04e661505de7915aff104b8e49cfb081.jpg","text":"TemporaryFile(/tmp/multipartBody8397475602693728939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301043556,"filename":"image_09122025_09_51_44_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523960","file1":"1398523958","file0":"1398523954","file4":"1398523962","file5":"1398523964","file3":"1398523961"},"map_files_photo_id_array":[{"photo_id":"1398523964","filename":"file5"},{"photo_id":"1398523960","filename":"file2"},{"photo_id":"1398523962","filename":"file4"},{"photo_id":"1398523958","filename":"file1"},{"photo_id":"1398523954","filename":"file0"},{"photo_id":"1398523961","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523961":["hashtag1","hashtag2"]},{"1398523964":["hashtag1","hashtag2"]},{"1398523958":["hashtag1","hashtag2"]},{"1398523960":["hashtag1","hashtag2"]},{"1398523954":["hashtag1","hashtag2"]},{"1398523962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523961, 1398523964, 1398523958, 1398523960, 1398523954, 1398523962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57621240615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:23:42.449800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_39_3772.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_42_2873.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_45_2677.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_48_2721.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_51_3697.jpg', '/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_54_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_39_3772.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_42_2873.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_45_2677.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_48_2721.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_51_3697.jpg
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_54_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523988","1398523981","1398523984","1398523975","1398523977","1398523971"],"photo_ids_order":["1398523971","1398523975","1398523977","1398523981","1398523984","1398523988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11dfb239ed63f19cfccd132f16e9eb35.jpg","text":"TemporaryFile(/tmp/multipartBody8142473547417591623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_54_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54ec21a4ed99c0b2d657b485c09e21be.jpg","text":"TemporaryFile(/tmp/multipartBody3869334468780545103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a7384b5bbc5d328f5cc10b362440d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4148388716825893885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_51_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eafa5afd7659aeff5bb182458fb20ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8852704334660393193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_42_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0db9b9bb7361246761d91ae51e4b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7336106719111819800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_45_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f17f08946c3fa9705ab9bdc87b8320ce.jpg","text":"TemporaryFile(/tmp/multipartBody5804952948324629420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301083430,"filename":"image_01112025_19_19_39_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398523977","file1":"1398523975","file0":"1398523971","file4":"1398523984","file5":"1398523988","file3":"1398523981"},"map_files_photo_id_array":[{"photo_id":"1398523988","filename":"file5"},{"photo_id":"1398523977","filename":"file2"},{"photo_id":"1398523984","filename":"file4"},{"photo_id":"1398523975","filename":"file1"},{"photo_id":"1398523971","filename":"file0"},{"photo_id":"1398523981","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398523988":["hashtag1","hashtag2"]},{"1398523981":["hashtag1","hashtag2"]},{"1398523984":["hashtag1","hashtag2"]},{"1398523975":["hashtag1","hashtag2"]},{"1398523977":["hashtag1","hashtag2"]},{"1398523971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398523988, 1398523981, 1398523984, 1398523975, 1398523977, 1398523971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98054265975952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:24:22.735229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/51/image_09122025_09_52_05_10663.jpg', '/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_14_9668.jpg', '/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_24_9642.jpg', '/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_34_10564.jpg', '/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_44_9752.jpg', '/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_55_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/51/image_09122025_09_52_05_10663.jpg
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_14_9668.jpg
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_24_9642.jpg
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_34_10564.jpg
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_44_9752.jpg
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_52_55_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398523994","1398524018","1398524002","1398524005","1398524010","1398523998"],"photo_ids_order":["1398523994","1398523998","1398524002","1398524005","1398524010","1398524018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15a25614892a79da4185173a6f774682.jpg","text":"TemporaryFile(/tmp/multipartBody737775271187585071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/008639c2cdeae992d5bbef3b3c83114d.jpg","text":"TemporaryFile(/tmp/multipartBody5204669719728308093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd1458832a12c48f714b3835d62f6883.jpg","text":"TemporaryFile(/tmp/multipartBody7259383171353688553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/370a825b2ef0a047d65ffb7e2388b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody498716140983841513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_34_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5cf9b519356bf0a1f256b2377f6b45c6.jpg","text":"TemporaryFile(/tmp/multipartBody2923134064335809957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7583577cee065621ad420c37447b5497.jpg","text":"TemporaryFile(/tmp/multipartBody8068167534653096944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301123291,"filename":"image_09122025_09_52_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524002","file1":"1398523998","file0":"1398523994","file4":"1398524010","file5":"1398524018","file3":"1398524005"},"map_files_photo_id_array":[{"photo_id":"1398524018","filename":"file5"},{"photo_id":"1398524002","filename":"file2"},{"photo_id":"1398524010","filename":"file4"},{"photo_id":"1398523998","filename":"file1"},{"photo_id":"1398523994","filename":"file0"},{"photo_id":"1398524005","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398523994":["hashtag1","hashtag2"]},{"1398524018":["hashtag1","hashtag2"]},{"1398524002":["hashtag1","hashtag2"]},{"1398524005":["hashtag1","hashtag2"]},{"1398524010":["hashtag1","hashtag2"]},{"1398523998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398523994, 1398524018, 1398524002, 1398524005, 1398524010, 1398523998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36317777633667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:25:02.667177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/52/image_09122025_09_53_05_9677.jpg', '/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_14_9563.jpg', '/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_25_10646.jpg', '/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_34_9541.jpg', '/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_44_9607.jpg', '/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_54_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/52/image_09122025_09_53_05_9677.jpg
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_14_9563.jpg
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_25_10646.jpg
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_34_9541.jpg
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_44_9607.jpg
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_53_54_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524027","1398524043","1398524037","1398524046","1398524040","1398524034"],"photo_ids_order":["1398524027","1398524034","1398524037","1398524040","1398524043","1398524046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3de80b0ceb5628eabccd87a3cbb61a09.jpg","text":"TemporaryFile(/tmp/multipartBody8723613117056961950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8642634553502209e47b07c1d5ca5ece.jpg","text":"TemporaryFile(/tmp/multipartBody5216528747384681217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11148a6fc6ae46ced9f949a1ad63baf7.jpg","text":"TemporaryFile(/tmp/multipartBody3775575947817287559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1ff2a7128563dae0403a6ce46bf65a9.jpg","text":"TemporaryFile(/tmp/multipartBody6312879447571662823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_54_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/067a6fe9f7333f260c52e3e356738f72.jpg","text":"TemporaryFile(/tmp/multipartBody3920972451422058312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f7463f527db294be18f50dca100d8534.jpg","text":"TemporaryFile(/tmp/multipartBody1437480069896761201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301163292,"filename":"image_09122025_09_53_14_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524037","file1":"1398524034","file0":"1398524027","file4":"1398524043","file5":"1398524046","file3":"1398524040"},"map_files_photo_id_array":[{"photo_id":"1398524046","filename":"file5"},{"photo_id":"1398524037","filename":"file2"},{"photo_id":"1398524043","filename":"file4"},{"photo_id":"1398524034","filename":"file1"},{"photo_id":"1398524027","filename":"file0"},{"photo_id":"1398524040","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524027":["hashtag1","hashtag2"]},{"1398524043":["hashtag1","hashtag2"]},{"1398524037":["hashtag1","hashtag2"]},{"1398524046":["hashtag1","hashtag2"]},{"1398524040":["hashtag1","hashtag2"]},{"1398524034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524027, 1398524043, 1398524037, 1398524046, 1398524040, 1398524034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60940885543823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:25:41.968832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_57_2850.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_03_3544.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_06_2783.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_09_2580.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_12_3607.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_18_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/19/image_01112025_19_19_57_2850.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_03_3544.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_06_2783.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_09_2580.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_12_3607.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_18_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524060","1398524057","1398524051","1398524053","1398524055","1398524049"],"photo_ids_order":["1398524049","1398524051","1398524053","1398524055","1398524057","1398524060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7214e209fc77ce7904ba71f4db7b7f00.jpg","text":"TemporaryFile(/tmp/multipartBody7818076809782359449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_20_18_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a5457a618e96b27de88b442bc8b64ef.jpg","text":"TemporaryFile(/tmp/multipartBody8629068779903401975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_20_12_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c36b10c33f2f3dbdb9a9c159c5eb6a2.jpg","text":"TemporaryFile(/tmp/multipartBody5600910959059002662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_20_03_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21183b8468606537bf0d018a7b4e1257.jpg","text":"TemporaryFile(/tmp/multipartBody7582543013129807169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_20_06_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2b531f010e3ed258866c9820f90b101.jpg","text":"TemporaryFile(/tmp/multipartBody8159433783860099580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_20_09_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88238a7592185ce44ae78f2aaf7ba86b.jpg","text":"TemporaryFile(/tmp/multipartBody8405239122153602966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301202979,"filename":"image_01112025_19_19_57_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524053","file1":"1398524051","file0":"1398524049","file4":"1398524057","file5":"1398524060","file3":"1398524055"},"map_files_photo_id_array":[{"photo_id":"1398524060","filename":"file5"},{"photo_id":"1398524053","filename":"file2"},{"photo_id":"1398524057","filename":"file4"},{"photo_id":"1398524051","filename":"file1"},{"photo_id":"1398524049","filename":"file0"},{"photo_id":"1398524055","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524060":["hashtag1","hashtag2"]},{"1398524057":["hashtag1","hashtag2"]},{"1398524051":["hashtag1","hashtag2"]},{"1398524053":["hashtag1","hashtag2"]},{"1398524055":["hashtag1","hashtag2"]},{"1398524049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524060, 1398524057, 1398524051, 1398524053, 1398524055, 1398524049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98772072792053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:26:22.207787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/53/image_09122025_09_54_04_9639.jpg', '/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_15_10642.jpg', '/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_24_9591.jpg', '/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_34_9615.jpg', '/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_45_10770.jpg', '/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/53/image_09122025_09_54_04_9639.jpg
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_15_10642.jpg
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_24_9591.jpg
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_34_9615.jpg
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_45_10770.jpg
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_54_54_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524072","1398524086","1398524074","1398524068","1398524082","1398524079"],"photo_ids_order":["1398524068","1398524072","1398524074","1398524079","1398524082","1398524086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/163cc24a85b650bde4db84c724866145.jpg","text":"TemporaryFile(/tmp/multipartBody3521684710048280842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d955b15f5bf8e1cf7450fde8a75dcd66.jpg","text":"TemporaryFile(/tmp/multipartBody5479523848384213712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2aaea3d3dcf186c9143bb21274cfaab3.jpg","text":"TemporaryFile(/tmp/multipartBody2216527417533829842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41fb1da06ebca1335314f46025c6fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody7779433862354576729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84bc811a75e49e20d08c06f6633a9002.jpg","text":"TemporaryFile(/tmp/multipartBody9116758399991524811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7415c46d5706dbeacd39613f331b41cc.jpg","text":"TemporaryFile(/tmp/multipartBody8414099563269117876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301242775,"filename":"image_09122025_09_54_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524074","file1":"1398524072","file0":"1398524068","file4":"1398524082","file5":"1398524086","file3":"1398524079"},"map_files_photo_id_array":[{"photo_id":"1398524086","filename":"file5"},{"photo_id":"1398524074","filename":"file2"},{"photo_id":"1398524082","filename":"file4"},{"photo_id":"1398524072","filename":"file1"},{"photo_id":"1398524068","filename":"file0"},{"photo_id":"1398524079","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524072":["hashtag1","hashtag2"]},{"1398524086":["hashtag1","hashtag2"]},{"1398524074":["hashtag1","hashtag2"]},{"1398524068":["hashtag1","hashtag2"]},{"1398524082":["hashtag1","hashtag2"]},{"1398524079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524072, 1398524086, 1398524074, 1398524068, 1398524082, 1398524079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06562948226929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:27:03.008669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/54/image_09122025_09_55_04_9673.jpg', '/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_15_10677.jpg', '/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_24_9705.jpg', '/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_34_9679.jpg', '/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_45_10743.jpg', '/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/54/image_09122025_09_55_04_9673.jpg
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_15_10677.jpg
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_24_9705.jpg
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_34_9679.jpg
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_45_10743.jpg
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_55_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524115","1398524109","1398524103","1398524111","1398524113","1398524107"],"photo_ids_order":["1398524103","1398524107","1398524109","1398524111","1398524113","1398524115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f91b0e0b2059176342c320429d53e917.jpg","text":"TemporaryFile(/tmp/multipartBody276471208078596157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36594c587cb254bbabaeb0a2b962f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody90131482899313031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1a5e7554b8f751e44c25b079359b6b0.jpg","text":"TemporaryFile(/tmp/multipartBody2750447118225993639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ede57a6b60b00946a11c78d21e1b8de.jpg","text":"TemporaryFile(/tmp/multipartBody8497558450370094821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2cb446dde485869878e5b1280fde4f04.jpg","text":"TemporaryFile(/tmp/multipartBody7714784663211194629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7421c591305704e2c9a76dbc99149cf6.jpg","text":"TemporaryFile(/tmp/multipartBody2573660562644796070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301283630,"filename":"image_09122025_09_55_15_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524109","file1":"1398524107","file0":"1398524103","file4":"1398524113","file5":"1398524115","file3":"1398524111"},"map_files_photo_id_array":[{"photo_id":"1398524115","filename":"file5"},{"photo_id":"1398524109","filename":"file2"},{"photo_id":"1398524113","filename":"file4"},{"photo_id":"1398524107","filename":"file1"},{"photo_id":"1398524103","filename":"file0"},{"photo_id":"1398524111","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524115":["hashtag1","hashtag2"]},{"1398524109":["hashtag1","hashtag2"]},{"1398524103":["hashtag1","hashtag2"]},{"1398524111":["hashtag1","hashtag2"]},{"1398524113":["hashtag1","hashtag2"]},{"1398524107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524115, 1398524109, 1398524103, 1398524111, 1398524113, 1398524107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.463082790374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:28:05.594503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/55/image_09122025_09_56_04_9617.jpg', '/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_14_9825.jpg', '/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_25_10705.jpg', '/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_44_9616.jpg', '/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_55_10620.jpg', '/home/pi/Desktop/images/09122025/09/56/image_09122025_09_57_04_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/55/image_09122025_09_56_04_9617.jpg
/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_14_9825.jpg
/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_25_10705.jpg
/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_44_9616.jpg
/home/pi/Desktop/images/09122025/09/56/image_09122025_09_56_55_10620.jpg
/home/pi/Desktop/images/09122025/09/56/image_09122025_09_57_04_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398524135","1398524144","1398524138","1398524140","1398524142","1398524148"],"photo_ids_order":["1398524135","1398524138","1398524140","1398524142","1398524144","1398524148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92c3b0c0f9726ef235d9e5d168cc5a97.jpg","text":"TemporaryFile(/tmp/multipartBody2206002138904802712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_56_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c8a0b0b849e3e7ce05ae3b70f67bdee.jpg","text":"TemporaryFile(/tmp/multipartBody5108699191297288077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_56_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a87863c2baf4cdd6b5369aae0698064.jpg","text":"TemporaryFile(/tmp/multipartBody7793072379844189699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_56_14_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a9fca5787cb2fecf424f0a9b7fd2a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8687602210820600940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_56_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/388c83dff328ca31bd2baf12d100839c.jpg","text":"TemporaryFile(/tmp/multipartBody5635604409219738967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_56_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/218203fe53a5f1f7caacf87ae9ea6ab6.jpg","text":"TemporaryFile(/tmp/multipartBody3975352309419287410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301346173,"filename":"image_09122025_09_57_04_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524140","file1":"1398524138","file0":"1398524135","file4":"1398524144","file5":"1398524148","file3":"1398524142"},"map_files_photo_id_array":[{"photo_id":"1398524148","filename":"file5"},{"photo_id":"1398524140","filename":"file2"},{"photo_id":"1398524144","filename":"file4"},{"photo_id":"1398524138","filename":"file1"},{"photo_id":"1398524135","filename":"file0"},{"photo_id":"1398524142","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524135":["hashtag1","hashtag2"]},{"1398524144":["hashtag1","hashtag2"]},{"1398524138":["hashtag1","hashtag2"]},{"1398524140":["hashtag1","hashtag2"]},{"1398524142":["hashtag1","hashtag2"]},{"1398524148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524135, 1398524144, 1398524138, 1398524140, 1398524142, 1398524148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8122296333313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:29:03.383768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_14_9709.jpg', '/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_25_10544.jpg', '/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_34_9545.jpg', '/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_44_9779.jpg', '/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_55_10580.jpg', '/home/pi/Desktop/images/09122025/09/57/image_09122025_09_58_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_14_9709.jpg
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_25_10544.jpg
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_34_9545.jpg
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_44_9779.jpg
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_57_55_10580.jpg
/home/pi/Desktop/images/09122025/09/57/image_09122025_09_58_04_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524177","1398524170","1398524167","1398524172","1398524181","1398524175"],"photo_ids_order":["1398524167","1398524170","1398524172","1398524175","1398524177","1398524181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f331226e118bd542ad7e7eb5c3d1ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7153081512148597543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_57_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2a394000ba0b090dfc28d65b41463a5.jpg","text":"TemporaryFile(/tmp/multipartBody5043977673631982577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_57_25_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b59f0a0e717cb80d2f8e48ad7ff86dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5604513382303501740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_57_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03c65212f6d107a0e37ab501e0f39d25.jpg","text":"TemporaryFile(/tmp/multipartBody7876105191749489230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_57_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0833026cc3eb9bbfbc98b14dcd5e9f60.jpg","text":"TemporaryFile(/tmp/multipartBody4579269795996652634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_58_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c332504a8de7cf5a5e73f78a128fb2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6295080051165239543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301404080,"filename":"image_09122025_09_57_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524172","file1":"1398524170","file0":"1398524167","file4":"1398524177","file5":"1398524181","file3":"1398524175"},"map_files_photo_id_array":[{"photo_id":"1398524181","filename":"file5"},{"photo_id":"1398524172","filename":"file2"},{"photo_id":"1398524177","filename":"file4"},{"photo_id":"1398524170","filename":"file1"},{"photo_id":"1398524167","filename":"file0"},{"photo_id":"1398524175","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524177":["hashtag1","hashtag2"]},{"1398524170":["hashtag1","hashtag2"]},{"1398524167":["hashtag1","hashtag2"]},{"1398524172":["hashtag1","hashtag2"]},{"1398524181":["hashtag1","hashtag2"]},{"1398524175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524177, 1398524170, 1398524167, 1398524172, 1398524181, 1398524175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25882434844971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:29:42.623821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_21_2626.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_24_2754.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_27_3624.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_30_2820.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_33_2973.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_36_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_21_2626.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_24_2754.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_27_3624.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_30_2820.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_33_2973.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_36_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524186","1398524189","1398524191","1398524199","1398524193","1398524195"],"photo_ids_order":["1398524186","1398524189","1398524191","1398524193","1398524195","1398524199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dda7e6eb8b622458b41ea7a1ed20ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4006829887344450756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_21_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3efe65de4ad89a73acffa013e0631369.jpg","text":"TemporaryFile(/tmp/multipartBody3688475828027667682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_24_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7226c0e02f1344d10b96c6c7a6237f35.jpg","text":"TemporaryFile(/tmp/multipartBody739536273192279841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_27_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a993971f5ed2fe290848fba176804736.jpg","text":"TemporaryFile(/tmp/multipartBody4717904096981803536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_36_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca0d47c5d186b9ce624f8152aa387254.jpg","text":"TemporaryFile(/tmp/multipartBody1860972636020625914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_30_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa09e6011b778b4e7b23e2b350ac9abe.jpg","text":"TemporaryFile(/tmp/multipartBody7820271644965350837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301443688,"filename":"image_01112025_19_20_33_2973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524191","file1":"1398524189","file0":"1398524186","file4":"1398524195","file5":"1398524199","file3":"1398524193"},"map_files_photo_id_array":[{"photo_id":"1398524199","filename":"file5"},{"photo_id":"1398524191","filename":"file2"},{"photo_id":"1398524195","filename":"file4"},{"photo_id":"1398524189","filename":"file1"},{"photo_id":"1398524186","filename":"file0"},{"photo_id":"1398524193","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524186":["hashtag1","hashtag2"]},{"1398524189":["hashtag1","hashtag2"]},{"1398524191":["hashtag1","hashtag2"]},{"1398524199":["hashtag1","hashtag2"]},{"1398524193":["hashtag1","hashtag2"]},{"1398524195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524186, 1398524189, 1398524191, 1398524199, 1398524193, 1398524195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.110973596572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:30:22.793760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_15_10574.jpg', '/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_24_9601.jpg', '/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_34_9695.jpg', '/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_45_10684.jpg', '/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_54_9717.jpg', '/home/pi/Desktop/images/09122025/09/58/image_09122025_09_59_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_15_10574.jpg
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_24_9601.jpg
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_34_9695.jpg
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_45_10684.jpg
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_58_54_9717.jpg
/home/pi/Desktop/images/09122025/09/58/image_09122025_09_59_04_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524208","1398524222","1398524216","1398524206","1398524218","1398524226"],"photo_ids_order":["1398524206","1398524208","1398524216","1398524218","1398524222","1398524226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d3787b23752a3af3065bc84e7e7ea07.jpg","text":"TemporaryFile(/tmp/multipartBody8391788015113152854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_58_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c14e14eb1a738998e033a539e5b73880.jpg","text":"TemporaryFile(/tmp/multipartBody2770625815973438608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_58_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5959ce0810ef42348bf2b4da6dfd4561.jpg","text":"TemporaryFile(/tmp/multipartBody7934523893603723942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_58_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eee62bf91c379cfc0737430d42e62631.jpg","text":"TemporaryFile(/tmp/multipartBody245016174816296984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_58_15_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1da2c8aa688ffaec838f7665bb578e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4407551200725321653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_58_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/740269b541a66218a62b6eececb0cca5.jpg","text":"TemporaryFile(/tmp/multipartBody5451483597326413132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301483348,"filename":"image_09122025_09_59_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524216","file1":"1398524208","file0":"1398524206","file4":"1398524222","file5":"1398524226","file3":"1398524218"},"map_files_photo_id_array":[{"photo_id":"1398524226","filename":"file5"},{"photo_id":"1398524216","filename":"file2"},{"photo_id":"1398524222","filename":"file4"},{"photo_id":"1398524208","filename":"file1"},{"photo_id":"1398524206","filename":"file0"},{"photo_id":"1398524218","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524208":["hashtag1","hashtag2"]},{"1398524222":["hashtag1","hashtag2"]},{"1398524216":["hashtag1","hashtag2"]},{"1398524206":["hashtag1","hashtag2"]},{"1398524218":["hashtag1","hashtag2"]},{"1398524226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524208, 1398524222, 1398524216, 1398524206, 1398524218, 1398524226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85911774635315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:31:03.393939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_15_10572.jpg', '/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_24_9636.jpg', '/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_34_9607.jpg', '/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_45_10924.jpg', '/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_15_10055.jpg', '/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_15_10572.jpg
/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_24_9636.jpg
/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_34_9607.jpg
/home/pi/Desktop/images/09122025/09/59/image_09122025_09_59_45_10924.jpg
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_15_10055.jpg
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_25_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398524253","1398524241","1398524250","1398524244","1398524238","1398524247"],"photo_ids_order":["1398524238","1398524241","1398524244","1398524247","1398524250","1398524253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47a118b5041595142728d65ee8871f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8133667216800762114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_10_00_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd213e21e22f5775a5be5f809d89953c.jpg","text":"TemporaryFile(/tmp/multipartBody1942277983660246903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_09_59_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/503d0849d7bdea0a728b8aa5426744f3.jpg","text":"TemporaryFile(/tmp/multipartBody1468461307478439909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_10_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b42da06751dd32c7857a93f5259c472.jpg","text":"TemporaryFile(/tmp/multipartBody3008650021847152768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_09_59_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4a1613cb73617d87596fa2c6a4b4a30.jpg","text":"TemporaryFile(/tmp/multipartBody4476953013334911830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_09_59_15_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0dec46ab2c2698a07c92690f83d6c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody3412891476244055375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301524022,"filename":"image_09122025_09_59_45_10924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524244","file1":"1398524241","file0":"1398524238","file4":"1398524250","file5":"1398524253","file3":"1398524247"},"map_files_photo_id_array":[{"photo_id":"1398524253","filename":"file5"},{"photo_id":"1398524244","filename":"file2"},{"photo_id":"1398524250","filename":"file4"},{"photo_id":"1398524241","filename":"file1"},{"photo_id":"1398524238","filename":"file0"},{"photo_id":"1398524247","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524253":["hashtag1","hashtag2"]},{"1398524241":["hashtag1","hashtag2"]},{"1398524250":["hashtag1","hashtag2"]},{"1398524244":["hashtag1","hashtag2"]},{"1398524238":["hashtag1","hashtag2"]},{"1398524247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524253, 1398524241, 1398524250, 1398524244, 1398524238, 1398524247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72595191001892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:32:03.216073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_35_9688.jpg', '/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_46_10583.jpg', '/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_55_9746.jpg', '/home/pi/Desktop/images/09122025/10/00/image_09122025_10_01_05_9742.jpg', '/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_15_9700.jpg', '/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_25_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_35_9688.jpg
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_46_10583.jpg
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_00_55_9746.jpg
/home/pi/Desktop/images/09122025/10/00/image_09122025_10_01_05_9742.jpg
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_15_9700.jpg
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_25_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524270","1398524267","1398524281","1398524278","1398524272","1398524274"],"photo_ids_order":["1398524267","1398524270","1398524272","1398524274","1398524278","1398524281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00f647b2edeff1442b8a2b06c4661b19.jpg","text":"TemporaryFile(/tmp/multipartBody1785981519890874474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_00_46_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f63270c3b2f39613a0b8636e728a2793.jpg","text":"TemporaryFile(/tmp/multipartBody6070533425659436617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_00_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ef256ea89ee7a8c93b55c01c66d52d2.jpg","text":"TemporaryFile(/tmp/multipartBody7300085427058999219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_01_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ac8c09c59366230c5db118a4e9c600d.jpg","text":"TemporaryFile(/tmp/multipartBody4209274787156908514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_01_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6d1dc74ee1ce7b06288a5de07b5f502.jpg","text":"TemporaryFile(/tmp/multipartBody3168637477325866472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_00_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85976a9db900c889bf36dc95ed7d6d72.jpg","text":"TemporaryFile(/tmp/multipartBody578273074754805700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301583837,"filename":"image_09122025_10_01_05_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524272","file1":"1398524270","file0":"1398524267","file4":"1398524278","file5":"1398524281","file3":"1398524274"},"map_files_photo_id_array":[{"photo_id":"1398524281","filename":"file5"},{"photo_id":"1398524272","filename":"file2"},{"photo_id":"1398524278","filename":"file4"},{"photo_id":"1398524270","filename":"file1"},{"photo_id":"1398524267","filename":"file0"},{"photo_id":"1398524274","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524270":["hashtag1","hashtag2"]},{"1398524267":["hashtag1","hashtag2"]},{"1398524281":["hashtag1","hashtag2"]},{"1398524278":["hashtag1","hashtag2"]},{"1398524272":["hashtag1","hashtag2"]},{"1398524274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524270, 1398524267, 1398524281, 1398524278, 1398524272, 1398524274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.595757722854614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:32:42.839472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_39_3613.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_42_2656.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_45_2684.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_47_2836.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_51_3821.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_39_3613.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_42_2656.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_45_2684.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_47_2836.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_51_3821.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_54_2675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8658950328826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:33:02.690394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_35_9803.jpg', '/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_45_9831.jpg', '/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_55_9719.jpg', '/home/pi/Desktop/images/09122025/10/01/image_09122025_10_02_05_10627.jpg', '/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_15_9891.jpg', '/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_25_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_35_9803.jpg
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_45_9831.jpg
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_01_55_9719.jpg
/home/pi/Desktop/images/09122025/10/01/image_09122025_10_02_05_10627.jpg
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_15_9891.jpg
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_25_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524339","1398524333","1398524342","1398524341","1398524344","1398524337"],"photo_ids_order":["1398524333","1398524337","1398524339","1398524341","1398524342","1398524344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/753957b77216b1bab06df8b9f421483a.jpg","text":"TemporaryFile(/tmp/multipartBody6931358740638426262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_01_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d284a877483f6ec42a42a9b0e381e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2936629951184977164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_01_35_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38154b2a7bfc336d35e59a4a8835a591.jpg","text":"TemporaryFile(/tmp/multipartBody4230933455929988298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_02_15_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d70cdd199b0b43d6c815cb9665e6b1b8.jpg","text":"TemporaryFile(/tmp/multipartBody369999741348687831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_02_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0868147cda73e6561d7196e1b32a7d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8730712853331985325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_02_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b0bcdf3f7c5a372f5c1265ea9249eea.jpg","text":"TemporaryFile(/tmp/multipartBody2198043407553121147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301643309,"filename":"image_09122025_10_01_45_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524339","file1":"1398524337","file0":"1398524333","file4":"1398524342","file5":"1398524344","file3":"1398524341"},"map_files_photo_id_array":[{"photo_id":"1398524344","filename":"file5"},{"photo_id":"1398524339","filename":"file2"},{"photo_id":"1398524342","filename":"file4"},{"photo_id":"1398524337","filename":"file1"},{"photo_id":"1398524333","filename":"file0"},{"photo_id":"1398524341","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524339":["hashtag1","hashtag2"]},{"1398524333":["hashtag1","hashtag2"]},{"1398524342":["hashtag1","hashtag2"]},{"1398524341":["hashtag1","hashtag2"]},{"1398524344":["hashtag1","hashtag2"]},{"1398524337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524339, 1398524333, 1398524342, 1398524341, 1398524344, 1398524337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42762494087219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:33:42.090341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_39_3613.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_42_2656.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_45_2684.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_47_2836.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_51_3821.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_39_3613.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_42_2656.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_45_2684.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_47_2836.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_51_3821.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_54_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524363","1398524357","1398524354","1398524368","1398524359","1398524361"],"photo_ids_order":["1398524354","1398524357","1398524359","1398524361","1398524363","1398524368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f22ac9f0160d1b64c7d2dabf5ce6d8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6082061791783059823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_51_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92b6a020f9ecf6c8cc02fa75acede1c8.jpg","text":"TemporaryFile(/tmp/multipartBody6703955619495938777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_42_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e551a56bfc5dbcbf998a685a9a4dc2fe.jpg","text":"TemporaryFile(/tmp/multipartBody7361933809480047542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_39_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/009fba1555d2bea649dc3d8815ef2054.jpg","text":"TemporaryFile(/tmp/multipartBody5463624920542217278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_54_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15e8ecaa271778a45a5b7fb7065d891a.jpg","text":"TemporaryFile(/tmp/multipartBody8762830042894838597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_45_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88cb0a9ddabc0d31534d591f55b3c374.jpg","text":"TemporaryFile(/tmp/multipartBody5956533351626410632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301682992,"filename":"image_01112025_19_20_47_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524359","file1":"1398524357","file0":"1398524354","file4":"1398524363","file5":"1398524368","file3":"1398524361"},"map_files_photo_id_array":[{"photo_id":"1398524368","filename":"file5"},{"photo_id":"1398524359","filename":"file2"},{"photo_id":"1398524363","filename":"file4"},{"photo_id":"1398524357","filename":"file1"},{"photo_id":"1398524354","filename":"file0"},{"photo_id":"1398524361","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524363":["hashtag1","hashtag2"]},{"1398524357":["hashtag1","hashtag2"]},{"1398524354":["hashtag1","hashtag2"]},{"1398524368":["hashtag1","hashtag2"]},{"1398524359":["hashtag1","hashtag2"]},{"1398524361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524363, 1398524357, 1398524354, 1398524368, 1398524359, 1398524361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98139977455139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:34:22.270206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_36_10587.jpg', '/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_45_9639.jpg', '/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_55_9586.jpg', '/home/pi/Desktop/images/09122025/10/02/image_09122025_10_03_05_10603.jpg', '/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_15_9743.jpg', '/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_25_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_36_10587.jpg
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_45_9639.jpg
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_02_55_9586.jpg
/home/pi/Desktop/images/09122025/10/02/image_09122025_10_03_05_10603.jpg
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_15_9743.jpg
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_25_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524390","1398524380","1398524383","1398524397","1398524391","1398524393"],"photo_ids_order":["1398524380","1398524383","1398524390","1398524391","1398524393","1398524397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d45efd97faa52497df493bbf09ce432.jpg","text":"TemporaryFile(/tmp/multipartBody2438240945873868752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_02_55_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6fb4a4f50d7f935aab967c9887e6c57.jpg","text":"TemporaryFile(/tmp/multipartBody2140248845631263036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_02_36_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faf66da1cbea0428baecc87fe474523a.jpg","text":"TemporaryFile(/tmp/multipartBody9190787442415997203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_02_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a9b0a912fff6d9f09f32553438db4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3032080307266671658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_03_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ace1a06b20ad8e09f14c22c0ef5f6c8.jpg","text":"TemporaryFile(/tmp/multipartBody7875567892094855188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_03_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6b901fa546f02d22ce6dccf9b08e2c8e.jpg","text":"TemporaryFile(/tmp/multipartBody881548639850200492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301722865,"filename":"image_09122025_10_03_15_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524390","file1":"1398524383","file0":"1398524380","file4":"1398524393","file5":"1398524397","file3":"1398524391"},"map_files_photo_id_array":[{"photo_id":"1398524397","filename":"file5"},{"photo_id":"1398524390","filename":"file2"},{"photo_id":"1398524393","filename":"file4"},{"photo_id":"1398524383","filename":"file1"},{"photo_id":"1398524380","filename":"file0"},{"photo_id":"1398524391","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524390":["hashtag1","hashtag2"]},{"1398524380":["hashtag1","hashtag2"]},{"1398524383":["hashtag1","hashtag2"]},{"1398524397":["hashtag1","hashtag2"]},{"1398524391":["hashtag1","hashtag2"]},{"1398524393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524390, 1398524380, 1398524383, 1398524397, 1398524391, 1398524393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99270486831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:35:03.070453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_35_10611.jpg', '/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_45_9639.jpg', '/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_56_10591.jpg', '/home/pi/Desktop/images/09122025/10/03/image_09122025_10_04_05_9594.jpg', '/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_15_9585.jpg', '/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_26_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_35_10611.jpg
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_45_9639.jpg
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_03_56_10591.jpg
/home/pi/Desktop/images/09122025/10/03/image_09122025_10_04_05_9594.jpg
/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_15_9585.jpg
/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_26_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524423","1398524425","1398524419","1398524428","1398524421","1398524415"],"photo_ids_order":["1398524415","1398524419","1398524421","1398524423","1398524425","1398524428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcec7cb262dc10920dc33b7840a41fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3356770668493766230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_04_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6de8635b40ef5a6fc0dd21a980c936be.jpg","text":"TemporaryFile(/tmp/multipartBody3450156517046474302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_04_15_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39c8cf1ce56228ed73fb13831fb4daae.jpg","text":"TemporaryFile(/tmp/multipartBody8605918755905263664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_03_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55a9d77234caea924c9d61a83e4600d9.jpg","text":"TemporaryFile(/tmp/multipartBody7754119501047197888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_04_26_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1c08d279312f62737757f5724bd9390.jpg","text":"TemporaryFile(/tmp/multipartBody3073644402909865351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_03_56_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc736ec5a2a9df8cc72a3b87a58b51ff.jpg","text":"TemporaryFile(/tmp/multipartBody1584136223559388957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301763752,"filename":"image_09122025_10_03_35_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524421","file1":"1398524419","file0":"1398524415","file4":"1398524425","file5":"1398524428","file3":"1398524423"},"map_files_photo_id_array":[{"photo_id":"1398524428","filename":"file5"},{"photo_id":"1398524421","filename":"file2"},{"photo_id":"1398524425","filename":"file4"},{"photo_id":"1398524419","filename":"file1"},{"photo_id":"1398524415","filename":"file0"},{"photo_id":"1398524423","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524423":["hashtag1","hashtag2"]},{"1398524425":["hashtag1","hashtag2"]},{"1398524419":["hashtag1","hashtag2"]},{"1398524428":["hashtag1","hashtag2"]},{"1398524421":["hashtag1","hashtag2"]},{"1398524415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524423, 1398524425, 1398524419, 1398524428, 1398524421, 1398524415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98605251312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:35:42.502335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_56_2561.jpg', '/home/pi/Desktop/images/01112025/19/20/image_01112025_19_21_00_3636.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_03_2833.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_06_2592.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_09_3640.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_15_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_20_56_2561.jpg
/home/pi/Desktop/images/01112025/19/20/image_01112025_19_21_00_3636.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_03_2833.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_06_2592.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_09_3640.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_15_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524462","1398524456","1398524468","1398524464","1398524434","1398524466"],"photo_ids_order":["1398524434","1398524456","1398524462","1398524464","1398524466","1398524468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63f3a7faab1177eb05f8fc2a6531647e.jpg","text":"TemporaryFile(/tmp/multipartBody3480068922945249016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_21_03_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2048fbc34323c48881a08721d9bb5ee.jpg","text":"TemporaryFile(/tmp/multipartBody5536659302893826444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_21_00_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c5761a57d38e74d76bc4e2727f56780.jpg","text":"TemporaryFile(/tmp/multipartBody2133588806809340550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_21_15_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b1dae2c19c7919a3c7d625e027218d1.jpg","text":"TemporaryFile(/tmp/multipartBody7764934539230759720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_21_06_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9976b09283c5a5d5122f0ed0a345a05a.jpg","text":"TemporaryFile(/tmp/multipartBody987826337750540656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_20_56_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/977271d47f34734de2b129bde3bfa1c2.jpg","text":"TemporaryFile(/tmp/multipartBody1609058758857363502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301803523,"filename":"image_01112025_19_21_09_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524462","file1":"1398524456","file0":"1398524434","file4":"1398524466","file5":"1398524468","file3":"1398524464"},"map_files_photo_id_array":[{"photo_id":"1398524468","filename":"file5"},{"photo_id":"1398524462","filename":"file2"},{"photo_id":"1398524466","filename":"file4"},{"photo_id":"1398524456","filename":"file1"},{"photo_id":"1398524434","filename":"file0"},{"photo_id":"1398524464","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524462":["hashtag1","hashtag2"]},{"1398524456":["hashtag1","hashtag2"]},{"1398524468":["hashtag1","hashtag2"]},{"1398524464":["hashtag1","hashtag2"]},{"1398524434":["hashtag1","hashtag2"]},{"1398524466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524462, 1398524456, 1398524468, 1398524464, 1398524434, 1398524466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40832185745239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:36:22.695925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_35_9721.jpg', '/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_45_9756.jpg', '/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_55_9659.jpg', '/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_13_10036.jpg', '/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_24_10756.jpg', '/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_35_9721.jpg
/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_45_9756.jpg
/home/pi/Desktop/images/09122025/10/04/image_09122025_10_04_55_9659.jpg
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_13_10036.jpg
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_24_10756.jpg
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_34_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524495","1398524489","1398524486","1398524491","1398524482","1398524478"],"photo_ids_order":["1398524478","1398524482","1398524486","1398524489","1398524491","1398524495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d9fbb52cd5c388701eb2f9120b789f3.jpg","text":"TemporaryFile(/tmp/multipartBody8415309419394185802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_06_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/febe1702465858501b8a12ecf9923731.jpg","text":"TemporaryFile(/tmp/multipartBody1462063241314827166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_06_13_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/989186ea8aebf72bc76d1990f246657c.jpg","text":"TemporaryFile(/tmp/multipartBody8944868631080810992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_04_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/925fae9dde9eab6525b64473f1b44d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7974400264325329370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_06_24_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3de146866aeb55fa94e0a8d86ee0dd73.jpg","text":"TemporaryFile(/tmp/multipartBody5732235755249205560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_04_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2602b76bebc4609d812491a7cf34b70c.jpg","text":"TemporaryFile(/tmp/multipartBody8943700974574179381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301843311,"filename":"image_09122025_10_04_35_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524486","file1":"1398524482","file0":"1398524478","file4":"1398524491","file5":"1398524495","file3":"1398524489"},"map_files_photo_id_array":[{"photo_id":"1398524495","filename":"file5"},{"photo_id":"1398524486","filename":"file2"},{"photo_id":"1398524491","filename":"file4"},{"photo_id":"1398524482","filename":"file1"},{"photo_id":"1398524478","filename":"file0"},{"photo_id":"1398524489","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524495":["hashtag1","hashtag2"]},{"1398524489":["hashtag1","hashtag2"]},{"1398524486":["hashtag1","hashtag2"]},{"1398524491":["hashtag1","hashtag2"]},{"1398524482":["hashtag1","hashtag2"]},{"1398524478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524495, 1398524489, 1398524486, 1398524491, 1398524482, 1398524478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50973391532898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:37:02.580239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_44_9794.jpg', '/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_54_10674.jpg', '/home/pi/Desktop/images/09122025/10/06/image_09122025_10_07_04_9713.jpg', '/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_14_9617.jpg', '/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_24_10620.jpg', '/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_44_9794.jpg
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_06_54_10674.jpg
/home/pi/Desktop/images/09122025/10/06/image_09122025_10_07_04_9713.jpg
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_14_9617.jpg
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_24_10620.jpg
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_34_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524507","1398524504","1398524512","1398524515","1398524509","1398524517"],"photo_ids_order":["1398524504","1398524507","1398524509","1398524512","1398524515","1398524517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f1865d7697850da86f1f2a7a0dd2848.jpg","text":"TemporaryFile(/tmp/multipartBody79665923805675734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_06_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34d7be734e034c497bee59b23973927f.jpg","text":"TemporaryFile(/tmp/multipartBody6281211635530540521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_06_44_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3debaff4554c3242fdfbd0d83e47051.jpg","text":"TemporaryFile(/tmp/multipartBody5854672658086848679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_07_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6f0c213a945e49f062a67994fad60ea.jpg","text":"TemporaryFile(/tmp/multipartBody5008455284987798916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_07_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a7a7845021def4afc95c5adf474c7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1567093002106848646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_07_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/310048b7c10703c7c533e9238eaccd48.jpg","text":"TemporaryFile(/tmp/multipartBody2585645257839037821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301883198,"filename":"image_09122025_10_07_34_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524509","file1":"1398524507","file0":"1398524504","file4":"1398524515","file5":"1398524517","file3":"1398524512"},"map_files_photo_id_array":[{"photo_id":"1398524517","filename":"file5"},{"photo_id":"1398524509","filename":"file2"},{"photo_id":"1398524515","filename":"file4"},{"photo_id":"1398524507","filename":"file1"},{"photo_id":"1398524504","filename":"file0"},{"photo_id":"1398524512","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524507":["hashtag1","hashtag2"]},{"1398524504":["hashtag1","hashtag2"]},{"1398524512":["hashtag1","hashtag2"]},{"1398524515":["hashtag1","hashtag2"]},{"1398524509":["hashtag1","hashtag2"]},{"1398524517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524507, 1398524504, 1398524512, 1398524515, 1398524509, 1398524517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83343172073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:37:41.967938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_18_3714.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_24_5673.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_26_1692.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_27_1768.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_30_2679.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_33_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_18_3714.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_24_5673.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_26_1692.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_27_1768.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_30_2679.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_33_2524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524539","1398524527","1398524532","1398524541","1398524535","1398524523"],"photo_ids_order":["1398524523","1398524527","1398524532","1398524535","1398524539","1398524541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8eb84e25aed5c55ec4f68753e90b3f0.jpg","text":"TemporaryFile(/tmp/multipartBody1953716311030889643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_30_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d6761975f10c51434422ed252caaa4a.jpg","text":"TemporaryFile(/tmp/multipartBody7032557067895476062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_24_5673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bee399fdc6deab6cf4b3061794297a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3800539185055093172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_26_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cd611b6efefe730b594ec80400a0b07.jpg","text":"TemporaryFile(/tmp/multipartBody8210831377055620795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_33_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e442770528941efd2c3f64c57465bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2118356302638956155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_27_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d6283fbb37f0936dbedc2bbe8fcd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1879622614827926748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301922993,"filename":"image_01112025_19_21_18_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524532","file1":"1398524527","file0":"1398524523","file4":"1398524539","file5":"1398524541","file3":"1398524535"},"map_files_photo_id_array":[{"photo_id":"1398524541","filename":"file5"},{"photo_id":"1398524532","filename":"file2"},{"photo_id":"1398524539","filename":"file4"},{"photo_id":"1398524527","filename":"file1"},{"photo_id":"1398524523","filename":"file0"},{"photo_id":"1398524535","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524539":["hashtag1","hashtag2"]},{"1398524527":["hashtag1","hashtag2"]},{"1398524532":["hashtag1","hashtag2"]},{"1398524541":["hashtag1","hashtag2"]},{"1398524535":["hashtag1","hashtag2"]},{"1398524523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524539, 1398524527, 1398524532, 1398524541, 1398524535, 1398524523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.339444160461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:38:22.180069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_43_9518.jpg', '/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_54_10643.jpg', '/home/pi/Desktop/images/09122025/10/07/image_09122025_10_08_04_9640.jpg', '/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_14_10609.jpg', '/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_24_9546.jpg', '/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_33_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_43_9518.jpg
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_07_54_10643.jpg
/home/pi/Desktop/images/09122025/10/07/image_09122025_10_08_04_9640.jpg
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_14_10609.jpg
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_24_9546.jpg
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_33_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524558","1398524546","1398524566","1398524554","1398524550","1398524556"],"photo_ids_order":["1398524546","1398524550","1398524554","1398524556","1398524558","1398524566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa7fff7cef5bfadbb4fa87c3524b2890.jpg","text":"TemporaryFile(/tmp/multipartBody8269568551048462785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_08_24_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a7f19f6a874dee2fcd84479689dc73a.jpg","text":"TemporaryFile(/tmp/multipartBody6432662054893587415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_07_43_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45e79f0ac45de749030dd5abc6ace260.jpg","text":"TemporaryFile(/tmp/multipartBody5603955871119706347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_08_33_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17cae74de9493fba587db8e831fe5982.jpg","text":"TemporaryFile(/tmp/multipartBody7238951774317492132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_08_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61c8516539b430996384958e7e2be292.jpg","text":"TemporaryFile(/tmp/multipartBody8835329133081145584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_07_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/95d0756b705900db5cfde10f01533eb3.jpg","text":"TemporaryFile(/tmp/multipartBody3247525736160143852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765301962745,"filename":"image_09122025_10_08_14_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524554","file1":"1398524550","file0":"1398524546","file4":"1398524558","file5":"1398524566","file3":"1398524556"},"map_files_photo_id_array":[{"photo_id":"1398524566","filename":"file5"},{"photo_id":"1398524554","filename":"file2"},{"photo_id":"1398524558","filename":"file4"},{"photo_id":"1398524550","filename":"file1"},{"photo_id":"1398524546","filename":"file0"},{"photo_id":"1398524556","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524558":["hashtag1","hashtag2"]},{"1398524546":["hashtag1","hashtag2"]},{"1398524566":["hashtag1","hashtag2"]},{"1398524554":["hashtag1","hashtag2"]},{"1398524550":["hashtag1","hashtag2"]},{"1398524556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524558, 1398524546, 1398524566, 1398524554, 1398524550, 1398524556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44339895248413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:39:03.363026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_44_10608.jpg', '/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_54_9731.jpg', '/home/pi/Desktop/images/09122025/10/08/image_09122025_10_09_03_9602.jpg', '/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_14_10576.jpg', '/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_24_9825.jpg', '/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_34_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_44_10608.jpg
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_08_54_9731.jpg
/home/pi/Desktop/images/09122025/10/08/image_09122025_10_09_03_9602.jpg
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_14_10576.jpg
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_24_9825.jpg
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_34_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524619","1398524624","1398524621","1398524615","1398524617","1398524611"],"photo_ids_order":["1398524611","1398524615","1398524617","1398524619","1398524621","1398524624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0b3ad1fa6c2028aed68d5434ab24ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5907521433212794785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_09_14_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a5773e60909fd989547a52d031a07de.jpg","text":"TemporaryFile(/tmp/multipartBody293533761449632700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_09_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e4fb265f3e96412c22f00e92e86fb223.jpg","text":"TemporaryFile(/tmp/multipartBody5043888656032115825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_09_24_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dd95896e01e9de6c6380e3d758fbb51.jpg","text":"TemporaryFile(/tmp/multipartBody8028796980089070608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_08_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2c9a001b53abd990d3e9471855830cd.jpg","text":"TemporaryFile(/tmp/multipartBody5401526100098141436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_09_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5edee0d3a507ed4a68fe3ed71ec28b32.jpg","text":"TemporaryFile(/tmp/multipartBody280066603439113738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302004093,"filename":"image_09122025_10_08_44_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524617","file1":"1398524615","file0":"1398524611","file4":"1398524621","file5":"1398524624","file3":"1398524619"},"map_files_photo_id_array":[{"photo_id":"1398524624","filename":"file5"},{"photo_id":"1398524617","filename":"file2"},{"photo_id":"1398524621","filename":"file4"},{"photo_id":"1398524615","filename":"file1"},{"photo_id":"1398524611","filename":"file0"},{"photo_id":"1398524619","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524619":["hashtag1","hashtag2"]},{"1398524624":["hashtag1","hashtag2"]},{"1398524621":["hashtag1","hashtag2"]},{"1398524615":["hashtag1","hashtag2"]},{"1398524617":["hashtag1","hashtag2"]},{"1398524611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524619, 1398524624, 1398524621, 1398524615, 1398524617, 1398524611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79877066612244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:39:42.358605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_35_2776.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_39_3742.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_42_2528.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_44_2655.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_51_2738.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_53_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_35_2776.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_39_3742.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_42_2528.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_44_2655.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_51_2738.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_53_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524642","1398524636","1398524651","1398524639","1398524647","1398524632"],"photo_ids_order":["1398524632","1398524636","1398524639","1398524642","1398524647","1398524651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18e2b776331a81eb81e03624e32627c7.jpg","text":"TemporaryFile(/tmp/multipartBody3423436391076208603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_44_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3716d30b698bacfd0e73765261694ff.jpg","text":"TemporaryFile(/tmp/multipartBody5886781734925814761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_39_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ddd50608c58f2289bc1035a4c69a8aea.jpg","text":"TemporaryFile(/tmp/multipartBody6605482329155966035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_53_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54ed48e8e6fd224cfe67851f934c7e93.jpg","text":"TemporaryFile(/tmp/multipartBody693519164855250797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_42_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c878984006831fa742e1b993374bbaf.jpg","text":"TemporaryFile(/tmp/multipartBody782428125646320818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_51_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/188c812a4dbc64d7062caca93234be43.jpg","text":"TemporaryFile(/tmp/multipartBody5829170460825547137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302043335,"filename":"image_01112025_19_21_35_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524639","file1":"1398524636","file0":"1398524632","file4":"1398524647","file5":"1398524651","file3":"1398524642"},"map_files_photo_id_array":[{"photo_id":"1398524651","filename":"file5"},{"photo_id":"1398524639","filename":"file2"},{"photo_id":"1398524647","filename":"file4"},{"photo_id":"1398524636","filename":"file1"},{"photo_id":"1398524632","filename":"file0"},{"photo_id":"1398524642","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524642":["hashtag1","hashtag2"]},{"1398524636":["hashtag1","hashtag2"]},{"1398524651":["hashtag1","hashtag2"]},{"1398524639":["hashtag1","hashtag2"]},{"1398524647":["hashtag1","hashtag2"]},{"1398524632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524642, 1398524636, 1398524651, 1398524639, 1398524647, 1398524632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.131181716918945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:40:22.702401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_44_10667.jpg', '/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_54_9770.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_14_10054.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_25_10651.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_34_9607.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_44_10667.jpg
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_54_9770.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_14_10054.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_25_10651.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_34_9607.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_44_9708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46091246604919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:40:32.654098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/10/image_08122025_13_11_05_9674.jpg', '/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_14_9610.jpg', '/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_25_10679.jpg', '/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_34_9525.jpg', '/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_44_9727.jpg', '/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_55_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/10/image_08122025_13_11_05_9674.jpg
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_14_9610.jpg
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_25_10679.jpg
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_34_9525.jpg
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_44_9727.jpg
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_11_55_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524672","1398524684","1398524678","1398524663","1398524668","1398524676"],"photo_ids_order":["1398524663","1398524668","1398524672","1398524676","1398524678","1398524684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/053e88a95a688e2a39db1dbf07ed447c.jpg","text":"TemporaryFile(/tmp/multipartBody4867135014846824387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ec6d964f66a6d3eba400157caf7a969.jpg","text":"TemporaryFile(/tmp/multipartBody3560356029973843374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a9b03fc91b47a30078fea744e18b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody6107810757070994200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f18deb1ee9e7e23eef01008bd3099528.jpg","text":"TemporaryFile(/tmp/multipartBody8888678499324428181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e36d7b65870b9dbbb3661269d263275.jpg","text":"TemporaryFile(/tmp/multipartBody1335685950296458020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d979d6452f909752d18a272d344c03b9.jpg","text":"TemporaryFile(/tmp/multipartBody2035306124872367062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302094540,"filename":"image_08122025_13_11_34_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524672","file1":"1398524668","file0":"1398524663","file4":"1398524678","file5":"1398524684","file3":"1398524676"},"map_files_photo_id_array":[{"photo_id":"1398524684","filename":"file5"},{"photo_id":"1398524672","filename":"file2"},{"photo_id":"1398524678","filename":"file4"},{"photo_id":"1398524668","filename":"file1"},{"photo_id":"1398524663","filename":"file0"},{"photo_id":"1398524676","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398524672":["hashtag1","hashtag2"]},{"1398524684":["hashtag1","hashtag2"]},{"1398524678":["hashtag1","hashtag2"]},{"1398524663":["hashtag1","hashtag2"]},{"1398524668":["hashtag1","hashtag2"]},{"1398524676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398524672, 1398524684, 1398524678, 1398524663, 1398524668, 1398524676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.092286586761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:41:12.776710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/11/image_08122025_13_12_04_9503.jpg', '/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_15_10631.jpg', '/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_25_9734.jpg', '/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_34_9566.jpg', '/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_45_10595.jpg', '/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_55_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/11/image_08122025_13_12_04_9503.jpg
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_15_10631.jpg
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_25_9734.jpg
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_34_9566.jpg
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_45_10595.jpg
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_12_55_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524703","1398524705","1398524695","1398524698","1398524701","1398524694"],"photo_ids_order":["1398524694","1398524695","1398524698","1398524701","1398524703","1398524705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c2b8d48e264cf1bd5d62a8d606749e2.jpg","text":"TemporaryFile(/tmp/multipartBody1981487600937152208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19365a3ec3b6116ec66e447c1db687bb.jpg","text":"TemporaryFile(/tmp/multipartBody3474204836196641197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acb5bf4d40649e1e0f978dfcc6a96c21.jpg","text":"TemporaryFile(/tmp/multipartBody5631136571511954680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24eb22eb92287e5dbc63f0bf050d0cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5389788386372151700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5f04616ac70c4509a120f39864772ac.jpg","text":"TemporaryFile(/tmp/multipartBody6570710815381418392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83545eaee426cc1dcf28269a74e52e7b.jpg","text":"TemporaryFile(/tmp/multipartBody246998015687506035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302134560,"filename":"image_08122025_13_12_04_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524698","file1":"1398524695","file0":"1398524694","file4":"1398524703","file5":"1398524705","file3":"1398524701"},"map_files_photo_id_array":[{"photo_id":"1398524705","filename":"file5"},{"photo_id":"1398524698","filename":"file2"},{"photo_id":"1398524703","filename":"file4"},{"photo_id":"1398524695","filename":"file1"},{"photo_id":"1398524694","filename":"file0"},{"photo_id":"1398524701","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398524703":["hashtag1","hashtag2"]},{"1398524705":["hashtag1","hashtag2"]},{"1398524695":["hashtag1","hashtag2"]},{"1398524698":["hashtag1","hashtag2"]},{"1398524701":["hashtag1","hashtag2"]},{"1398524694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398524703, 1398524705, 1398524695, 1398524698, 1398524701, 1398524694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90511226654053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:42:02.365128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_44_10667.jpg', '/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_54_9770.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_14_10054.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_25_10651.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_34_9607.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_44_10667.jpg
/home/pi/Desktop/images/09122025/10/09/image_09122025_10_09_54_9770.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_14_10054.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_25_10651.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_34_9607.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_44_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524732","1398524746","1398524743","1398524739","1398524748","1398524736"],"photo_ids_order":["1398524732","1398524736","1398524739","1398524743","1398524746","1398524748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52199f6b8fcf5d49d7c89461c29081de.jpg","text":"TemporaryFile(/tmp/multipartBody4022783217616919081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_09_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb1bbaee8f0fc54f9e10286fb79242e1.jpg","text":"TemporaryFile(/tmp/multipartBody5145172343725789734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_10_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f3603cf7b425c9a5ce10b9e69b02538.jpg","text":"TemporaryFile(/tmp/multipartBody1627085576259450279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_10_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b255b2507a5d4a2b8c3c8eaa0f4bde63.jpg","text":"TemporaryFile(/tmp/multipartBody2014751321700309853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_10_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2729fbc0db625a4762549de05ed83ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3382168696172656419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_10_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d44c2f782de526abf44e7a1fd5c17e86.jpg","text":"TemporaryFile(/tmp/multipartBody2095794201498283189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302182959,"filename":"image_09122025_10_09_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524739","file1":"1398524736","file0":"1398524732","file4":"1398524746","file5":"1398524748","file3":"1398524743"},"map_files_photo_id_array":[{"photo_id":"1398524748","filename":"file5"},{"photo_id":"1398524739","filename":"file2"},{"photo_id":"1398524746","filename":"file4"},{"photo_id":"1398524736","filename":"file1"},{"photo_id":"1398524732","filename":"file0"},{"photo_id":"1398524743","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524732":["hashtag1","hashtag2"]},{"1398524746":["hashtag1","hashtag2"]},{"1398524743":["hashtag1","hashtag2"]},{"1398524739":["hashtag1","hashtag2"]},{"1398524748":["hashtag1","hashtag2"]},{"1398524736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524732, 1398524746, 1398524743, 1398524739, 1398524748, 1398524736)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.186689376831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:43:08.743994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_55_10783.jpg', '/home/pi/Desktop/images/09122025/10/10/image_09122025_10_11_04_9705.jpg', '/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_14_9592.jpg', '/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_25_10636.jpg', '/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_34_9648.jpg', '/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_45_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_10_55_10783.jpg
/home/pi/Desktop/images/09122025/10/10/image_09122025_10_11_04_9705.jpg
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_14_9592.jpg
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_25_10636.jpg
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_34_9648.jpg
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_45_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398524777","1398524779","1398524781","1398524775","1398524784","1398524772"],"photo_ids_order":["1398524772","1398524775","1398524777","1398524779","1398524781","1398524784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e4f60616af871e6ee0435bea2cb2db5b.jpg","text":"TemporaryFile(/tmp/multipartBody1068609421028560902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_11_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82dcb97d69194618fade756c4d37d156.jpg","text":"TemporaryFile(/tmp/multipartBody3572089099927673773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_11_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79ee89ab3e9349238b23e2c636ddfb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6414104373836096942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_11_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69ffff69e69d4c58bb3c5a5bbb4bc574.jpg","text":"TemporaryFile(/tmp/multipartBody6331676894195162417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_11_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/084f529a4dcac70d7cbd856ae16f44f1.jpg","text":"TemporaryFile(/tmp/multipartBody5595052540347545106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_11_45_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2db8f2b2d6c4ae2f791ba774a3c84d1.jpg","text":"TemporaryFile(/tmp/multipartBody6433740725077082348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302251065,"filename":"image_09122025_10_10_55_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524777","file1":"1398524775","file0":"1398524772","file4":"1398524781","file5":"1398524784","file3":"1398524779"},"map_files_photo_id_array":[{"photo_id":"1398524784","filename":"file5"},{"photo_id":"1398524777","filename":"file2"},{"photo_id":"1398524781","filename":"file4"},{"photo_id":"1398524775","filename":"file1"},{"photo_id":"1398524772","filename":"file0"},{"photo_id":"1398524779","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524777":["hashtag1","hashtag2"]},{"1398524779":["hashtag1","hashtag2"]},{"1398524781":["hashtag1","hashtag2"]},{"1398524775":["hashtag1","hashtag2"]},{"1398524784":["hashtag1","hashtag2"]},{"1398524772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524777, 1398524779, 1398524781, 1398524775, 1398524784, 1398524772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84451723098755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:44:02.768871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_55_9739.jpg', '/home/pi/Desktop/images/09122025/10/11/image_09122025_10_12_04_9808.jpg', '/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_14_9561.jpg', '/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_24_10505.jpg', '/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_34_9695.jpg', '/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_45_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_11_55_9739.jpg
/home/pi/Desktop/images/09122025/10/11/image_09122025_10_12_04_9808.jpg
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_14_9561.jpg
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_24_10505.jpg
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_34_9695.jpg
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_45_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524802","1398524813","1398524797","1398524811","1398524805","1398524808"],"photo_ids_order":["1398524797","1398524802","1398524805","1398524808","1398524811","1398524813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23a1dd58571775bcdde1d148c9e44de2.jpg","text":"TemporaryFile(/tmp/multipartBody2987937729027579608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_12_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/321c0f07190c714e1bc8de91aa502850.jpg","text":"TemporaryFile(/tmp/multipartBody9366136101049102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_12_45_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26ca7aad37b57060f949c1bf8cf70d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2485490874532173076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_11_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83905400bc462e6c5225f226bac285c7.jpg","text":"TemporaryFile(/tmp/multipartBody3960023959245492344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_12_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbdf69ed7786eed89257f3f109d26397.jpg","text":"TemporaryFile(/tmp/multipartBody6284737732191673138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_12_14_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3e81a010887c0c95c09117406851703.jpg","text":"TemporaryFile(/tmp/multipartBody1193709103315984099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302303460,"filename":"image_09122025_10_12_24_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524805","file1":"1398524802","file0":"1398524797","file4":"1398524811","file5":"1398524813","file3":"1398524808"},"map_files_photo_id_array":[{"photo_id":"1398524813","filename":"file5"},{"photo_id":"1398524805","filename":"file2"},{"photo_id":"1398524811","filename":"file4"},{"photo_id":"1398524802","filename":"file1"},{"photo_id":"1398524797","filename":"file0"},{"photo_id":"1398524808","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524802":["hashtag1","hashtag2"]},{"1398524813":["hashtag1","hashtag2"]},{"1398524797":["hashtag1","hashtag2"]},{"1398524811":["hashtag1","hashtag2"]},{"1398524805":["hashtag1","hashtag2"]},{"1398524808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524802, 1398524813, 1398524797, 1398524811, 1398524805, 1398524808)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.94570779800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:45:03.052607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_55_9805.jpg', '/home/pi/Desktop/images/09122025/10/12/image_09122025_10_13_05_9751.jpg', '/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_14_9518.jpg', '/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_25_10683.jpg', '/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_34_9660.jpg', '/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_44_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_12_55_9805.jpg
/home/pi/Desktop/images/09122025/10/12/image_09122025_10_13_05_9751.jpg
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_14_9518.jpg
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_25_10683.jpg
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_34_9660.jpg
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_44_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524870","1398524873","1398524876","1398524863","1398524880","1398524882"],"photo_ids_order":["1398524863","1398524870","1398524873","1398524876","1398524880","1398524882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3801fcb37b4fda5af65f2c0228e5bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1464694955704737577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_13_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af0e4d7a7d3bd248d8495840d87d07e6.jpg","text":"TemporaryFile(/tmp/multipartBody8196497697088969052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_13_14_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c73b43bcc63a187224e365fdff0895c7.jpg","text":"TemporaryFile(/tmp/multipartBody313384764913070369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_13_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46e04caf9f58225134c05a660c6b1f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8422520866881221768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_12_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af5f253ebc2e407fb783df2102e97a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8301400828799900091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_13_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e89fec554041c59263e7635e3f6d9092.jpg","text":"TemporaryFile(/tmp/multipartBody3570903709268926234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302363687,"filename":"image_09122025_10_13_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524873","file1":"1398524870","file0":"1398524863","file4":"1398524880","file5":"1398524882","file3":"1398524876"},"map_files_photo_id_array":[{"photo_id":"1398524882","filename":"file5"},{"photo_id":"1398524873","filename":"file2"},{"photo_id":"1398524880","filename":"file4"},{"photo_id":"1398524870","filename":"file1"},{"photo_id":"1398524863","filename":"file0"},{"photo_id":"1398524876","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524870":["hashtag1","hashtag2"]},{"1398524873":["hashtag1","hashtag2"]},{"1398524876":["hashtag1","hashtag2"]},{"1398524863":["hashtag1","hashtag2"]},{"1398524880":["hashtag1","hashtag2"]},{"1398524882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524870, 1398524873, 1398524876, 1398524863, 1398524880, 1398524882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.357040882110596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:45:42.440252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_57_3762.jpg', '/home/pi/Desktop/images/01112025/19/21/image_01112025_19_22_00_2649.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_02_2693.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_06_3535.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_09_2643.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_12_3462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_21_57_3762.jpg
/home/pi/Desktop/images/01112025/19/21/image_01112025_19_22_00_2649.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_02_2693.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_06_3535.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_09_2643.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_12_3462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524901","1398524891","1398524899","1398524895","1398524904","1398524897"],"photo_ids_order":["1398524891","1398524895","1398524897","1398524899","1398524901","1398524904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cde2f98513c72e5fc53fae4bffb968e0.jpg","text":"TemporaryFile(/tmp/multipartBody6353885783894167102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_22_09_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/406ca7e68fabbb2d85e56ca78af29524.jpg","text":"TemporaryFile(/tmp/multipartBody3817222455349398601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_21_57_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c7ed74728cdd405b6e1748ff78eeb72.jpg","text":"TemporaryFile(/tmp/multipartBody5660603346290959077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_22_06_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43b2a53ee5f4d9c1ea4fed4ba76c02d9.jpg","text":"TemporaryFile(/tmp/multipartBody4288564084469785379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_22_00_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4aa50a16a7440d00bf34fc65fa8d4af5.jpg","text":"TemporaryFile(/tmp/multipartBody6489696043664324985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_22_12_3462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e89d79db1e2589cf80b1d1bfad678fb.jpg","text":"TemporaryFile(/tmp/multipartBody6925387696087704062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302403464,"filename":"image_01112025_19_22_02_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524897","file1":"1398524895","file0":"1398524891","file4":"1398524901","file5":"1398524904","file3":"1398524899"},"map_files_photo_id_array":[{"photo_id":"1398524904","filename":"file5"},{"photo_id":"1398524897","filename":"file2"},{"photo_id":"1398524901","filename":"file4"},{"photo_id":"1398524895","filename":"file1"},{"photo_id":"1398524891","filename":"file0"},{"photo_id":"1398524899","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398524901":["hashtag1","hashtag2"]},{"1398524891":["hashtag1","hashtag2"]},{"1398524899":["hashtag1","hashtag2"]},{"1398524895":["hashtag1","hashtag2"]},{"1398524904":["hashtag1","hashtag2"]},{"1398524897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398524901, 1398524891, 1398524899, 1398524895, 1398524904, 1398524897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75010848045349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:46:22.604498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_55_10612.jpg', '/home/pi/Desktop/images/09122025/10/13/image_09122025_10_14_04_9830.jpg', '/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_14_9566.jpg', '/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_25_10816.jpg', '/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_34_9558.jpg', '/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_13_55_10612.jpg
/home/pi/Desktop/images/09122025/10/13/image_09122025_10_14_04_9830.jpg
/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_14_9566.jpg
/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_25_10816.jpg
/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_34_9558.jpg
/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524918","1398524935","1398524914","1398524931","1398524919","1398524928"],"photo_ids_order":["1398524914","1398524918","1398524919","1398524928","1398524931","1398524935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a81bf2faa08b26b9d54ea1961c1d2c00.jpg","text":"TemporaryFile(/tmp/multipartBody5208431087474943992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_14_04_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/614c1e90b9025888ea4de9128f6a2c79.jpg","text":"TemporaryFile(/tmp/multipartBody4001426779345201694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_14_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/09eb9cb4f79b688ca7fda7a66805b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody2374106513270663126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_13_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/313a4e3b6d00360c173c82f492f2646e.jpg","text":"TemporaryFile(/tmp/multipartBody8956479383606830293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_14_34_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44dc4e0db3d0cb49f6356794bc5b6975.jpg","text":"TemporaryFile(/tmp/multipartBody5059389315428265010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_14_14_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2635f4d5764000c6e01bf72f7149f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody106822559560486990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302443193,"filename":"image_09122025_10_14_25_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524919","file1":"1398524918","file0":"1398524914","file4":"1398524931","file5":"1398524935","file3":"1398524928"},"map_files_photo_id_array":[{"photo_id":"1398524935","filename":"file5"},{"photo_id":"1398524919","filename":"file2"},{"photo_id":"1398524931","filename":"file4"},{"photo_id":"1398524918","filename":"file1"},{"photo_id":"1398524914","filename":"file0"},{"photo_id":"1398524928","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524918":["hashtag1","hashtag2"]},{"1398524935":["hashtag1","hashtag2"]},{"1398524914":["hashtag1","hashtag2"]},{"1398524931":["hashtag1","hashtag2"]},{"1398524919":["hashtag1","hashtag2"]},{"1398524928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524918, 1398524935, 1398524914, 1398524931, 1398524919, 1398524928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55299186706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:47:02.552799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_55_10694.jpg', '/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_14_10036.jpg', '/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_24_10654.jpg', '/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_34_9733.jpg', '/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_44_9632.jpg', '/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_55_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/14/image_09122025_10_14_55_10694.jpg
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_14_10036.jpg
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_24_10654.jpg
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_34_9733.jpg
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_44_9632.jpg
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_16_55_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398524951","1398524948","1398524944","1398524953","1398524941","1398524955"],"photo_ids_order":["1398524941","1398524944","1398524948","1398524951","1398524953","1398524955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d05ad7b916d51f79c0600a370fa537a1.jpg","text":"TemporaryFile(/tmp/multipartBody72691398342377182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_16_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0b72d3990296494f00b23775b1d25bb.jpg","text":"TemporaryFile(/tmp/multipartBody1345736001814607868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_16_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6537f5569c8ad91c88c087a57d2affa.jpg","text":"TemporaryFile(/tmp/multipartBody5028457980571451345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_16_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbe301b788dbbdb251369e707af5b978.jpg","text":"TemporaryFile(/tmp/multipartBody852982638367798273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_16_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d6ca0b4877c3d4ee9fecc2017f2f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7459370782822903790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_14_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52fc989258cf8aa6a8d856598dc2f465.jpg","text":"TemporaryFile(/tmp/multipartBody2497020038090426376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302483159,"filename":"image_09122025_10_16_55_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524948","file1":"1398524944","file0":"1398524941","file4":"1398524953","file5":"1398524955","file3":"1398524951"},"map_files_photo_id_array":[{"photo_id":"1398524955","filename":"file5"},{"photo_id":"1398524948","filename":"file2"},{"photo_id":"1398524953","filename":"file4"},{"photo_id":"1398524944","filename":"file1"},{"photo_id":"1398524941","filename":"file0"},{"photo_id":"1398524951","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398524951":["hashtag1","hashtag2"]},{"1398524948":["hashtag1","hashtag2"]},{"1398524944":["hashtag1","hashtag2"]},{"1398524953":["hashtag1","hashtag2"]},{"1398524941":["hashtag1","hashtag2"]},{"1398524955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398524951, 1398524948, 1398524944, 1398524953, 1398524941, 1398524955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228556394577026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:47:41.872225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_15_2804.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_17_2588.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_21_3531.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_24_2715.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_26_2620.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_33_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_15_2804.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_17_2588.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_21_3531.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_24_2715.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_26_2620.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_33_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525008","1398525002","1398525005","1398524962","1398524986","1398524997"],"photo_ids_order":["1398524962","1398524986","1398524997","1398525002","1398525005","1398525008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b663438fe7b503f7ba3aca76a516a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7133823552586007226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_33_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5059e4c3b86e6e5539de519037e58548.jpg","text":"TemporaryFile(/tmp/multipartBody6925528745623155701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_24_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08e12985ad685172f22bbe405dc95ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3633804837092773969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_26_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2664a869bf07aac07f8a6688dbcdbdc3.jpg","text":"TemporaryFile(/tmp/multipartBody5428943456249247361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_15_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/307c765057af6abee5a3dcfdcab78775.jpg","text":"TemporaryFile(/tmp/multipartBody2585880555221488000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_17_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ab891fa566f34b672bb82f92cd8742a.jpg","text":"TemporaryFile(/tmp/multipartBody3501799988151675696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302522922,"filename":"image_01112025_19_22_21_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398524997","file1":"1398524986","file0":"1398524962","file4":"1398525005","file5":"1398525008","file3":"1398525002"},"map_files_photo_id_array":[{"photo_id":"1398525008","filename":"file5"},{"photo_id":"1398524997","filename":"file2"},{"photo_id":"1398525005","filename":"file4"},{"photo_id":"1398524986","filename":"file1"},{"photo_id":"1398524962","filename":"file0"},{"photo_id":"1398525002","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398525008":["hashtag1","hashtag2"]},{"1398525002":["hashtag1","hashtag2"]},{"1398525005":["hashtag1","hashtag2"]},{"1398524962":["hashtag1","hashtag2"]},{"1398524986":["hashtag1","hashtag2"]},{"1398524997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398525008, 1398525002, 1398525005, 1398524962, 1398524986, 1398524997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36979079246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:48:32.038476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/12/image_08122025_13_13_04_9637.jpg', '/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_15_10655.jpg', '/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_25_9663.jpg', '/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_34_9761.jpg', '/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_45_10680.jpg', '/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_55_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/12/image_08122025_13_13_04_9637.jpg
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_15_10655.jpg
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_25_9663.jpg
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_34_9761.jpg
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_45_10680.jpg
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_13_55_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525020","1398525037","1398525034","1398525022","1398525030","1398525024"],"photo_ids_order":["1398525020","1398525022","1398525024","1398525030","1398525034","1398525037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29b2a182cac8b9f6bfd1ee8387e8ca59.jpg","text":"TemporaryFile(/tmp/multipartBody394803408350010127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0d1e13abf83e5741006203d4d6ce2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4876550322239780789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_55_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f65fe1b8ecefae42da5efac81e563d52.jpg","text":"TemporaryFile(/tmp/multipartBody5788548238060050061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe14b3251b68024f6a96150df0796721.jpg","text":"TemporaryFile(/tmp/multipartBody1132263523225203795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a30dd7180d61336586c19f8c666a14b.jpg","text":"TemporaryFile(/tmp/multipartBody8152731905175933923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a584aac74dbe6157fd0ca2733d5b8f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7806941819274761465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302573909,"filename":"image_08122025_13_13_25_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525024","file1":"1398525022","file0":"1398525020","file4":"1398525034","file5":"1398525037","file3":"1398525030"},"map_files_photo_id_array":[{"photo_id":"1398525037","filename":"file5"},{"photo_id":"1398525024","filename":"file2"},{"photo_id":"1398525034","filename":"file4"},{"photo_id":"1398525022","filename":"file1"},{"photo_id":"1398525020","filename":"file0"},{"photo_id":"1398525030","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398525020":["hashtag1","hashtag2"]},{"1398525037":["hashtag1","hashtag2"]},{"1398525034":["hashtag1","hashtag2"]},{"1398525022":["hashtag1","hashtag2"]},{"1398525030":["hashtag1","hashtag2"]},{"1398525024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398525020, 1398525037, 1398525034, 1398525022, 1398525030, 1398525024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82974076271057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:49:12.232402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/13/image_08122025_13_14_04_9732.jpg', '/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_15_10707.jpg', '/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_25_9530.jpg', '/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_34_9728.jpg', '/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_45_10692.jpg', '/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_55_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/13/image_08122025_13_14_04_9732.jpg
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_15_10707.jpg
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_25_9530.jpg
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_34_9728.jpg
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_45_10692.jpg
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_14_55_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525212","1398525099","1398525045","1398525182","1398525062","1398525143"],"photo_ids_order":["1398525045","1398525062","1398525099","1398525143","1398525182","1398525212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7ada0e0cd00165778cb59406d2b3d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1646906939086955823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73e5d8f9e9e44040f12e332507465ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4990796517934674043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_25_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9656e6f6454f35c266cc23d909d2099e.jpg","text":"TemporaryFile(/tmp/multipartBody3693854259027005445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32f947374455c38f4b7a2e207ea12518.jpg","text":"TemporaryFile(/tmp/multipartBody2481886624626853745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc879f4a4264f7b2ed7449e836aacc30.jpg","text":"TemporaryFile(/tmp/multipartBody8535440483771606520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d53d69348c8ef3f3291cab398ea4e40.jpg","text":"TemporaryFile(/tmp/multipartBody4682847233500147061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302614003,"filename":"image_08122025_13_14_34_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525099","file1":"1398525062","file0":"1398525045","file4":"1398525182","file5":"1398525212","file3":"1398525143"},"map_files_photo_id_array":[{"photo_id":"1398525212","filename":"file5"},{"photo_id":"1398525099","filename":"file2"},{"photo_id":"1398525182","filename":"file4"},{"photo_id":"1398525062","filename":"file1"},{"photo_id":"1398525045","filename":"file0"},{"photo_id":"1398525143","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398525212":["hashtag1","hashtag2"]},{"1398525099":["hashtag1","hashtag2"]},{"1398525045":["hashtag1","hashtag2"]},{"1398525182":["hashtag1","hashtag2"]},{"1398525062":["hashtag1","hashtag2"]},{"1398525143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398525212, 1398525099, 1398525045, 1398525182, 1398525062, 1398525143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.701334714889526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:50:02.910340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/16/image_09122025_10_17_04_9570.jpg', '/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_14_9688.jpg', '/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_24_10627.jpg', '/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_34_9569.jpg', '/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_45_10618.jpg', '/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_54_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/16/image_09122025_10_17_04_9570.jpg
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_14_9688.jpg
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_24_10627.jpg
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_34_9569.jpg
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_45_10618.jpg
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_17_54_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525326","1398525320","1398525295","1398525328","1398525331","1398525330"],"photo_ids_order":["1398525295","1398525320","1398525326","1398525328","1398525330","1398525331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8f068410c970ac9a8b4fa59877014f2.jpg","text":"TemporaryFile(/tmp/multipartBody6979077309744091619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce87aa9ebcc1b20fd7c09bf7f049366d.jpg","text":"TemporaryFile(/tmp/multipartBody364414944378504935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af6c4ba644b4dc67b4b69657ce9ca7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1898408477304258930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67d1387953aaa0b99e1f7aa2ed12bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody1869056717302683847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d17219992495c8d97bba53b5f68d4b25.jpg","text":"TemporaryFile(/tmp/multipartBody5838796835133485400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/311d9d49f9914f8ec8979c5ba6f7eb09.jpg","text":"TemporaryFile(/tmp/multipartBody4761188212524853428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302663488,"filename":"image_09122025_10_17_45_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525326","file1":"1398525320","file0":"1398525295","file4":"1398525330","file5":"1398525331","file3":"1398525328"},"map_files_photo_id_array":[{"photo_id":"1398525331","filename":"file5"},{"photo_id":"1398525326","filename":"file2"},{"photo_id":"1398525330","filename":"file4"},{"photo_id":"1398525320","filename":"file1"},{"photo_id":"1398525295","filename":"file0"},{"photo_id":"1398525328","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525326":["hashtag1","hashtag2"]},{"1398525320":["hashtag1","hashtag2"]},{"1398525295":["hashtag1","hashtag2"]},{"1398525328":["hashtag1","hashtag2"]},{"1398525331":["hashtag1","hashtag2"]},{"1398525330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525326, 1398525320, 1398525295, 1398525328, 1398525331, 1398525330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55651497840881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:50:42.542599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_35_2639.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_41_2579.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_48_2579.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_50_2589.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_54_3742.jpg', '/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_57_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_35_2639.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_41_2579.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_48_2579.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_50_2589.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_54_3742.jpg
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_22_57_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525349","1398525393","1398525390","1398525387","1398525368","1398525383"],"photo_ids_order":["1398525349","1398525368","1398525383","1398525387","1398525390","1398525393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7c805d989fa93274a5bf195b6a7c523.jpg","text":"TemporaryFile(/tmp/multipartBody5036707253099348502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_35_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfc14533a43df8100da1d93717ea065d.jpg","text":"TemporaryFile(/tmp/multipartBody4137538303935955195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_57_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d2e5e4bc99487a11db8ed05e68acdc9.jpg","text":"TemporaryFile(/tmp/multipartBody5741840786151525378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_54_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81a6b7a628f9bb8d7b5c8974f0d066d9.jpg","text":"TemporaryFile(/tmp/multipartBody6470830037396570399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_50_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1879ce8185754a14aea7a112c5a70d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5900744259244559280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_41_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ea2fe40e250e3bbd773457670f9f9a0.jpg","text":"TemporaryFile(/tmp/multipartBody7695842587804397436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302703572,"filename":"image_01112025_19_22_48_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525383","file1":"1398525368","file0":"1398525349","file4":"1398525390","file5":"1398525393","file3":"1398525387"},"map_files_photo_id_array":[{"photo_id":"1398525393","filename":"file5"},{"photo_id":"1398525383","filename":"file2"},{"photo_id":"1398525390","filename":"file4"},{"photo_id":"1398525368","filename":"file1"},{"photo_id":"1398525349","filename":"file0"},{"photo_id":"1398525387","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398525349":["hashtag1","hashtag2"]},{"1398525393":["hashtag1","hashtag2"]},{"1398525390":["hashtag1","hashtag2"]},{"1398525387":["hashtag1","hashtag2"]},{"1398525368":["hashtag1","hashtag2"]},{"1398525383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398525349, 1398525393, 1398525390, 1398525387, 1398525368, 1398525383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96612334251404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:51:22.756094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/17/image_09122025_10_18_04_9599.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_15_10750.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_24_9675.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_34_9722.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_45_10526.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_54_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_18_04_9599.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_15_10750.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_24_9675.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_34_9722.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_45_10526.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_54_9736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4806532859802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 18:51:32.713152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/14/image_08122025_13_15_04_9641.jpg', '/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_15_10712.jpg', '/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_25_9535.jpg', '/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_45_10544.jpg', '/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_55_9681.jpg', '/home/pi/Desktop/images/08122025/13/15/image_08122025_13_16_04_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/14/image_08122025_13_15_04_9641.jpg
/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_15_10712.jpg
/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_25_9535.jpg
/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_45_10544.jpg
/home/pi/Desktop/images/08122025/13/15/image_08122025_13_15_55_9681.jpg
/home/pi/Desktop/images/08122025/13/15/image_08122025_13_16_04_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525419","1398525404","1398525407","1398525416","1398525466","1398525412"],"photo_ids_order":["1398525404","1398525407","1398525412","1398525416","1398525419","1398525466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f60da4a15d593186857e9d6e089211a.jpg","text":"TemporaryFile(/tmp/multipartBody2464268808210193679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_15_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef65d7b415579a0ef9770f1e3e157c14.jpg","text":"TemporaryFile(/tmp/multipartBody817647988520270317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_15_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc22b9cdeba46eefe5b7442d531e7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6335121449343088737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_15_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17222622bed17ae7038f42ff94e430ae.jpg","text":"TemporaryFile(/tmp/multipartBody8693914325028818903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_15_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90fc6c4fea5d5ebcbe35a63f8ee85e62.jpg","text":"TemporaryFile(/tmp/multipartBody8425557702909713426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_16_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6809ffd801a35d18f0ab3dc350d3fbe.jpg","text":"TemporaryFile(/tmp/multipartBody8049430362048614080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302754569,"filename":"image_08122025_13_15_25_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525412","file1":"1398525407","file0":"1398525404","file4":"1398525419","file5":"1398525466","file3":"1398525416"},"map_files_photo_id_array":[{"photo_id":"1398525466","filename":"file5"},{"photo_id":"1398525412","filename":"file2"},{"photo_id":"1398525419","filename":"file4"},{"photo_id":"1398525407","filename":"file1"},{"photo_id":"1398525404","filename":"file0"},{"photo_id":"1398525416","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398525419":["hashtag1","hashtag2"]},{"1398525404":["hashtag1","hashtag2"]},{"1398525407":["hashtag1","hashtag2"]},{"1398525416":["hashtag1","hashtag2"]},{"1398525466":["hashtag1","hashtag2"]},{"1398525412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398525419, 1398525404, 1398525407, 1398525416, 1398525466, 1398525412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00655269622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:52:22.017615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/17/image_09122025_10_18_04_9599.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_15_10750.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_24_9675.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_34_9722.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_45_10526.jpg', '/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_54_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/17/image_09122025_10_18_04_9599.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_15_10750.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_24_9675.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_34_9722.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_45_10526.jpg
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_18_54_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525589","1398525571","1398525585","1398525594","1398525596","1398525560"],"photo_ids_order":["1398525560","1398525571","1398525585","1398525589","1398525594","1398525596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e94eeb27016e4abce1b4be085fa20dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2013930405257576715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f6e724af1ec469aca2bee8e5effe0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1502709798969152354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_15_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6f1a35f4fea8d00eef58f66de2b3abb.jpg","text":"TemporaryFile(/tmp/multipartBody3723937894610888937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e6437e27877365d47140aa85a67cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody6283414008265645838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_45_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c724c4d12364360f0f6e1ce61df566a.jpg","text":"TemporaryFile(/tmp/multipartBody6016893959871939388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/760dbe9a6507e1a6bbc751824d636131.jpg","text":"TemporaryFile(/tmp/multipartBody4716359951789340871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302802618,"filename":"image_09122025_10_18_04_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525585","file1":"1398525571","file0":"1398525560","file4":"1398525594","file5":"1398525596","file3":"1398525589"},"map_files_photo_id_array":[{"photo_id":"1398525596","filename":"file5"},{"photo_id":"1398525585","filename":"file2"},{"photo_id":"1398525594","filename":"file4"},{"photo_id":"1398525571","filename":"file1"},{"photo_id":"1398525560","filename":"file0"},{"photo_id":"1398525589","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525589":["hashtag1","hashtag2"]},{"1398525571":["hashtag1","hashtag2"]},{"1398525585":["hashtag1","hashtag2"]},{"1398525594":["hashtag1","hashtag2"]},{"1398525596":["hashtag1","hashtag2"]},{"1398525560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525589, 1398525571, 1398525585, 1398525594, 1398525596, 1398525560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43418073654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:53:02.748195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/18/image_09122025_10_19_04_9701.jpg', '/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_15_10562.jpg', '/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_24_9735.jpg', '/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_34_9587.jpg', '/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_45_10646.jpg', '/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/18/image_09122025_10_19_04_9701.jpg
/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_15_10562.jpg
/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_24_9735.jpg
/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_34_9587.jpg
/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_45_10646.jpg
/home/pi/Desktop/images/09122025/10/19/image_09122025_10_19_54_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525629","1398525608","1398525613","1398525616","1398525642","1398525651"],"photo_ids_order":["1398525608","1398525613","1398525616","1398525629","1398525642","1398525651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2b8a5eefb22eb7eceac1546544ee1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7348443076674548466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec2292084263e65f84182dfb12135931.jpg","text":"TemporaryFile(/tmp/multipartBody1177468241354596153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a5fd4b28a3e80199030a450ec897677.jpg","text":"TemporaryFile(/tmp/multipartBody4630824711637285490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1819b90e945df9b62bf5dc732e5dd513.jpg","text":"TemporaryFile(/tmp/multipartBody4704146762658234592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b376b4daf69d894b5c664b81c9f5b179.jpg","text":"TemporaryFile(/tmp/multipartBody4478352258138375302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0994d0b21f3db610573b36644cc4053.jpg","text":"TemporaryFile(/tmp/multipartBody1543069436927918742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302843367,"filename":"image_09122025_10_19_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525616","file1":"1398525613","file0":"1398525608","file4":"1398525642","file5":"1398525651","file3":"1398525629"},"map_files_photo_id_array":[{"photo_id":"1398525651","filename":"file5"},{"photo_id":"1398525616","filename":"file2"},{"photo_id":"1398525642","filename":"file4"},{"photo_id":"1398525613","filename":"file1"},{"photo_id":"1398525608","filename":"file0"},{"photo_id":"1398525629","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525629":["hashtag1","hashtag2"]},{"1398525608":["hashtag1","hashtag2"]},{"1398525613":["hashtag1","hashtag2"]},{"1398525616":["hashtag1","hashtag2"]},{"1398525642":["hashtag1","hashtag2"]},{"1398525651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525629, 1398525608, 1398525613, 1398525616, 1398525642, 1398525651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61434888839722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:53:42.121862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/22/image_01112025_19_23_00_3529.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_03_2858.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_06_2507.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_08_2637.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_12_3657.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_21_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/22/image_01112025_19_23_00_3529.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_03_2858.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_06_2507.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_08_2637.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_12_3657.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_21_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525682","1398525691","1398525655","1398525675","1398525698","1398525686"],"photo_ids_order":["1398525655","1398525675","1398525682","1398525686","1398525691","1398525698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bc2987e53272cb4e03dc4abe3cdad50.jpg","text":"TemporaryFile(/tmp/multipartBody2512943438208046135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_06_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6794e909c1060db3d1e46edf7e209749.jpg","text":"TemporaryFile(/tmp/multipartBody8688971225691009242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_12_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/472efba9c5d7eda8879ffdb4569cf50c.jpg","text":"TemporaryFile(/tmp/multipartBody518282421197227822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_00_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ef9a9ff64a84ac0544756a3b834941d.jpg","text":"TemporaryFile(/tmp/multipartBody5750814492611186976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_03_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a817705e49bf4a3114ca89fdb67c101c.jpg","text":"TemporaryFile(/tmp/multipartBody8662324780348667792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_21_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a0a2bfbec953080edc65d4a76e3c8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5215372563971699160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302883140,"filename":"image_01112025_19_23_08_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525682","file1":"1398525675","file0":"1398525655","file4":"1398525691","file5":"1398525698","file3":"1398525686"},"map_files_photo_id_array":[{"photo_id":"1398525698","filename":"file5"},{"photo_id":"1398525682","filename":"file2"},{"photo_id":"1398525691","filename":"file4"},{"photo_id":"1398525675","filename":"file1"},{"photo_id":"1398525655","filename":"file0"},{"photo_id":"1398525686","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398525682":["hashtag1","hashtag2"]},{"1398525691":["hashtag1","hashtag2"]},{"1398525655":["hashtag1","hashtag2"]},{"1398525675":["hashtag1","hashtag2"]},{"1398525698":["hashtag1","hashtag2"]},{"1398525686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398525682, 1398525691, 1398525655, 1398525675, 1398525698, 1398525686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.097774505615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:54:22.279429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_14_10055.jpg', '/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_25_10561.jpg', '/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_34_9617.jpg', '/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_45_10686.jpg', '/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_54_9580.jpg', '/home/pi/Desktop/images/09122025/10/20/image_09122025_10_21_04_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_14_10055.jpg
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_25_10561.jpg
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_34_9617.jpg
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_45_10686.jpg
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_20_54_9580.jpg
/home/pi/Desktop/images/09122025/10/20/image_09122025_10_21_04_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525713","1398525716","1398525719","1398525710","1398525732","1398525714"],"photo_ids_order":["1398525710","1398525713","1398525714","1398525716","1398525719","1398525732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9780be9f057171cb7cb8568a033213c2.jpg","text":"TemporaryFile(/tmp/multipartBody6331975024025845948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_20_25_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc92147f396099c4e432b20e6972f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody6315737118522478980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_20_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a6d50d359f1b35935a9c69706c0f59f.jpg","text":"TemporaryFile(/tmp/multipartBody1223273959495606712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_20_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8397ba4bf1e47d9e06fee586adac134.jpg","text":"TemporaryFile(/tmp/multipartBody2014952891221467452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_20_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/286e25582ee3ca20a6c03da80bd97e90.jpg","text":"TemporaryFile(/tmp/multipartBody27516027483106183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_21_04_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/811d735e70404c129eb0c17396358cfb.jpg","text":"TemporaryFile(/tmp/multipartBody885711323494949279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302922870,"filename":"image_09122025_10_20_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525714","file1":"1398525713","file0":"1398525710","file4":"1398525719","file5":"1398525732","file3":"1398525716"},"map_files_photo_id_array":[{"photo_id":"1398525732","filename":"file5"},{"photo_id":"1398525714","filename":"file2"},{"photo_id":"1398525719","filename":"file4"},{"photo_id":"1398525713","filename":"file1"},{"photo_id":"1398525710","filename":"file0"},{"photo_id":"1398525716","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525713":["hashtag1","hashtag2"]},{"1398525716":["hashtag1","hashtag2"]},{"1398525719":["hashtag1","hashtag2"]},{"1398525710":["hashtag1","hashtag2"]},{"1398525732":["hashtag1","hashtag2"]},{"1398525714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525713, 1398525716, 1398525719, 1398525710, 1398525732, 1398525714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72163438796997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:55:03.153338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_15_10619.jpg', '/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_24_9560.jpg', '/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_34_9711.jpg', '/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_45_10659.jpg', '/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_55_9827.jpg', '/home/pi/Desktop/images/09122025/10/21/image_09122025_10_22_04_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_15_10619.jpg
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_24_9560.jpg
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_34_9711.jpg
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_45_10659.jpg
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_21_55_9827.jpg
/home/pi/Desktop/images/09122025/10/21/image_09122025_10_22_04_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525755","1398525751","1398525748","1398525753","1398525759","1398525752"],"photo_ids_order":["1398525748","1398525751","1398525752","1398525753","1398525755","1398525759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bfded4776aaafc96a24eb04f3cd5c98.jpg","text":"TemporaryFile(/tmp/multipartBody3513603136559309646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_21_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7571dd39f05b41d1e291ab1fe2c655ce.jpg","text":"TemporaryFile(/tmp/multipartBody5080999971160763033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_21_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4873302bb791adf3a52bcc8d9edbeddd.jpg","text":"TemporaryFile(/tmp/multipartBody1191989717164654699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_21_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da0aa9585facdadae74506551c1886ec.jpg","text":"TemporaryFile(/tmp/multipartBody5495865727649424268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_21_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e76f67058e10de2f129bb176d9d5c1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4630305781413331067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_22_04_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a436d4cccbb90037a1b6b23eabb008aa.jpg","text":"TemporaryFile(/tmp/multipartBody6148747446322452065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765302963779,"filename":"image_09122025_10_21_34_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525752","file1":"1398525751","file0":"1398525748","file4":"1398525755","file5":"1398525759","file3":"1398525753"},"map_files_photo_id_array":[{"photo_id":"1398525759","filename":"file5"},{"photo_id":"1398525752","filename":"file2"},{"photo_id":"1398525755","filename":"file4"},{"photo_id":"1398525751","filename":"file1"},{"photo_id":"1398525748","filename":"file0"},{"photo_id":"1398525753","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525755":["hashtag1","hashtag2"]},{"1398525751":["hashtag1","hashtag2"]},{"1398525748":["hashtag1","hashtag2"]},{"1398525753":["hashtag1","hashtag2"]},{"1398525759":["hashtag1","hashtag2"]},{"1398525752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525755, 1398525751, 1398525748, 1398525753, 1398525759, 1398525752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88459324836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:55:42.542104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_26_2698.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_33_2866.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_36_2772.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_38_2582.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_42_3631.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_45_2944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_26_2698.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_33_2866.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_36_2772.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_38_2582.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_42_3631.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_45_2944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525784","1398525771","1398525780","1398525768","1398525777","1398525773"],"photo_ids_order":["1398525768","1398525771","1398525773","1398525777","1398525780","1398525784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a8d269178f492986f20124e623dcc07.jpg","text":"TemporaryFile(/tmp/multipartBody7934374934831668851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_45_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e544cbf85798bfe25cf79ba2e3de891d.jpg","text":"TemporaryFile(/tmp/multipartBody5564499132380728857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_33_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e41fbb366724129065e8925405e363d4.jpg","text":"TemporaryFile(/tmp/multipartBody1737544029032994056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_42_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/336e4aa5a4fe6a05b1358baf575335b0.jpg","text":"TemporaryFile(/tmp/multipartBody2668913797722651581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_26_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8da121e6134c884c369191f536462f42.jpg","text":"TemporaryFile(/tmp/multipartBody2837291243582997184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_38_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bb5438c8fe271d2a887e9bbfe91bf18.jpg","text":"TemporaryFile(/tmp/multipartBody1634633044347084854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303003537,"filename":"image_01112025_19_23_36_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525773","file1":"1398525771","file0":"1398525768","file4":"1398525780","file5":"1398525784","file3":"1398525777"},"map_files_photo_id_array":[{"photo_id":"1398525784","filename":"file5"},{"photo_id":"1398525773","filename":"file2"},{"photo_id":"1398525780","filename":"file4"},{"photo_id":"1398525771","filename":"file1"},{"photo_id":"1398525768","filename":"file0"},{"photo_id":"1398525777","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398525784":["hashtag1","hashtag2"]},{"1398525771":["hashtag1","hashtag2"]},{"1398525780":["hashtag1","hashtag2"]},{"1398525768":["hashtag1","hashtag2"]},{"1398525777":["hashtag1","hashtag2"]},{"1398525773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398525784, 1398525771, 1398525780, 1398525768, 1398525777, 1398525773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32223415374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 18:56:22.709991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_15_10799.jpg', '/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_25_9699.jpg', '/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_34_9540.jpg', '/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_45_10634.jpg', '/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_54_9703.jpg', '/home/pi/Desktop/images/09122025/10/22/image_09122025_10_23_04_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_15_10799.jpg
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_25_9699.jpg
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_34_9540.jpg
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_45_10634.jpg
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_22_54_9703.jpg
/home/pi/Desktop/images/09122025/10/22/image_09122025_10_23_04_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525800","1398525793","1398525798","1398525795","1398525819","1398525791"],"photo_ids_order":["1398525791","1398525793","1398525795","1398525798","1398525800","1398525819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/314af08bf03ce9b0adea0463e9dea566.jpg","text":"TemporaryFile(/tmp/multipartBody8915662726306921065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_22_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94561ffbf08c538cc973d82231b900ec.jpg","text":"TemporaryFile(/tmp/multipartBody5178548910777815140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_22_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70e034da0ca8622300cb0482e2036ba4.jpg","text":"TemporaryFile(/tmp/multipartBody407146022419808093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_22_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f68ea14ab130ed4f4d0baeaf6336c902.jpg","text":"TemporaryFile(/tmp/multipartBody8612519015600662112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_22_34_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0c8c8a9dcb670a7dd77dc167be95947.jpg","text":"TemporaryFile(/tmp/multipartBody6944660307603762717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_23_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f9f65266749b5b0d3714db20ab78f11.jpg","text":"TemporaryFile(/tmp/multipartBody1949477334545880190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303043267,"filename":"image_09122025_10_22_15_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525795","file1":"1398525793","file0":"1398525791","file4":"1398525800","file5":"1398525819","file3":"1398525798"},"map_files_photo_id_array":[{"photo_id":"1398525819","filename":"file5"},{"photo_id":"1398525795","filename":"file2"},{"photo_id":"1398525800","filename":"file4"},{"photo_id":"1398525793","filename":"file1"},{"photo_id":"1398525791","filename":"file0"},{"photo_id":"1398525798","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525800":["hashtag1","hashtag2"]},{"1398525793":["hashtag1","hashtag2"]},{"1398525798":["hashtag1","hashtag2"]},{"1398525795":["hashtag1","hashtag2"]},{"1398525819":["hashtag1","hashtag2"]},{"1398525791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525800, 1398525793, 1398525798, 1398525795, 1398525819, 1398525791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72560262680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:57:02.628283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_15_10608.jpg', '/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_24_9672.jpg', '/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_34_9774.jpg', '/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_45_10663.jpg', '/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_55_9804.jpg', '/home/pi/Desktop/images/09122025/10/23/image_09122025_10_24_05_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_15_10608.jpg
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_24_9672.jpg
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_34_9774.jpg
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_45_10663.jpg
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_23_55_9804.jpg
/home/pi/Desktop/images/09122025/10/23/image_09122025_10_24_05_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525853","1398525870","1398525864","1398525867","1398525861","1398525858"],"photo_ids_order":["1398525853","1398525858","1398525861","1398525864","1398525867","1398525870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/902686f3a76f30bef200fe5b361f23ae.jpg","text":"TemporaryFile(/tmp/multipartBody7451380907754837765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_23_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1187d72665c7871d572d890e91fc146.jpg","text":"TemporaryFile(/tmp/multipartBody2314175473079578047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_24_05_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50a07938364955d201159ba07dec7f42.jpg","text":"TemporaryFile(/tmp/multipartBody4561733777989842131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_23_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0dca5bde6c31639c3442ffbf7ba4d60b.jpg","text":"TemporaryFile(/tmp/multipartBody3956804332256008222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_23_55_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c5a4e457e6b66f9d988910aee42b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8684708467444040983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_23_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55122fd0b492de0dfc5f19797cfc3b33.jpg","text":"TemporaryFile(/tmp/multipartBody3539105382591114381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303083258,"filename":"image_09122025_10_23_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525861","file1":"1398525858","file0":"1398525853","file4":"1398525867","file5":"1398525870","file3":"1398525864"},"map_files_photo_id_array":[{"photo_id":"1398525870","filename":"file5"},{"photo_id":"1398525861","filename":"file2"},{"photo_id":"1398525867","filename":"file4"},{"photo_id":"1398525858","filename":"file1"},{"photo_id":"1398525853","filename":"file0"},{"photo_id":"1398525864","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398525853":["hashtag1","hashtag2"]},{"1398525870":["hashtag1","hashtag2"]},{"1398525864":["hashtag1","hashtag2"]},{"1398525867":["hashtag1","hashtag2"]},{"1398525861":["hashtag1","hashtag2"]},{"1398525858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398525853, 1398525870, 1398525864, 1398525867, 1398525861, 1398525858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7084264755249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 18:57:42.012531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_47_2700.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_51_3543.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_54_2664.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_56_2623.jpg', '/home/pi/Desktop/images/01112025/19/23/image_01112025_19_24_00_3568.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_09_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_47_2700.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_51_3543.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_54_2664.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_23_56_2623.jpg
/home/pi/Desktop/images/01112025/19/23/image_01112025_19_24_00_3568.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_09_2751.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398525874","1398525882","1398525885","1398525879","1398525888","1398525876"],"photo_ids_order":["1398525874","1398525876","1398525879","1398525882","1398525885","1398525888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad589c7b1bce86631bf799f8a8cbaa0a.jpg","text":"TemporaryFile(/tmp/multipartBody6610879127367029208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_23_47_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c474a63f6e13df5f3a7674abd4d0e00.jpg","text":"TemporaryFile(/tmp/multipartBody6744686660846345517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_23_56_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b0786bb2b3e8687fc4f034ddedc8f19.jpg","text":"TemporaryFile(/tmp/multipartBody3205104778848596314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_24_00_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/09007b8441fde7945cc5359a8ef9817c.jpg","text":"TemporaryFile(/tmp/multipartBody8479082531842290462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_23_54_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5602fb1fee92fe2a44cf89931b7eb52d.jpg","text":"TemporaryFile(/tmp/multipartBody2000323794167706780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_24_09_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e71ed59971dd8a3f217697e6c2ed389a.jpg","text":"TemporaryFile(/tmp/multipartBody2922594561847378149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303123770,"filename":"image_01112025_19_23_51_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398525879","file1":"1398525876","file0":"1398525874","file4":"1398525885","file5":"1398525888","file3":"1398525882"},"map_files_photo_id_array":[{"photo_id":"1398525888","filename":"file5"},{"photo_id":"1398525879","filename":"file2"},{"photo_id":"1398525885","filename":"file4"},{"photo_id":"1398525876","filename":"file1"},{"photo_id":"1398525874","filename":"file0"},{"photo_id":"1398525882","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398525874":["hashtag1","hashtag2"]},{"1398525882":["hashtag1","hashtag2"]},{"1398525885":["hashtag1","hashtag2"]},{"1398525879":["hashtag1","hashtag2"]},{"1398525888":["hashtag1","hashtag2"]},{"1398525876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398525874, 1398525882, 1398525885, 1398525879, 1398525888, 1398525876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5636260509491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 18:59:03.405486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_14_9623.jpg', '/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_25_10587.jpg', '/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_34_9499.jpg', '/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_45_10528.jpg', '/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_55_9775.jpg', '/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_14_9623.jpg
/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_25_10587.jpg
/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_34_9499.jpg
/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_45_10528.jpg
/home/pi/Desktop/images/09122025/10/24/image_09122025_10_24_55_9775.jpg
/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398526573","1398526753","1398526656","1398526920","1398526463","1398526838"],"photo_ids_order":["1398526463","1398526573","1398526656","1398526753","1398526838","1398526920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e96d00817a7f20942216b50ce5db77d.jpg","text":"TemporaryFile(/tmp/multipartBody4459842389095228453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_24_25_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/427833ce40b9ed851a7ad16a437d709b.jpg","text":"TemporaryFile(/tmp/multipartBody162481427284523108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_24_45_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de97ba79f7832f89eb0a770435a50978.jpg","text":"TemporaryFile(/tmp/multipartBody5584472190789922542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_24_34_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11d4fa6ab42ba6b968c0d58219a408e5.jpg","text":"TemporaryFile(/tmp/multipartBody2356549692031048580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_25_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7aa5f76a08096f9b6e05def9e875e7cd.jpg","text":"TemporaryFile(/tmp/multipartBody7217529036033152369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_24_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08455528b88a799570218a3dad10eca7.jpg","text":"TemporaryFile(/tmp/multipartBody8518972890681241659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303204142,"filename":"image_09122025_10_24_55_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398526656","file1":"1398526573","file0":"1398526463","file4":"1398526838","file5":"1398526920","file3":"1398526753"},"map_files_photo_id_array":[{"photo_id":"1398526920","filename":"file5"},{"photo_id":"1398526656","filename":"file2"},{"photo_id":"1398526838","filename":"file4"},{"photo_id":"1398526573","filename":"file1"},{"photo_id":"1398526463","filename":"file0"},{"photo_id":"1398526753","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398526573":["hashtag1","hashtag2"]},{"1398526753":["hashtag1","hashtag2"]},{"1398526656":["hashtag1","hashtag2"]},{"1398526920":["hashtag1","hashtag2"]},{"1398526463":["hashtag1","hashtag2"]},{"1398526838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398526573, 1398526753, 1398526656, 1398526920, 1398526463, 1398526838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08459663391113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:00:03.204637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_24_10663.jpg', '/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_34_9719.jpg', '/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_54_10723.jpg', '/home/pi/Desktop/images/09122025/10/25/image_09122025_10_26_04_9655.jpg', '/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_15_10610.jpg', '/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_24_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_24_10663.jpg
/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_34_9719.jpg
/home/pi/Desktop/images/09122025/10/25/image_09122025_10_25_54_10723.jpg
/home/pi/Desktop/images/09122025/10/25/image_09122025_10_26_04_9655.jpg
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_15_10610.jpg
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_24_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398527626","1398527583","1398527670","1398527544","1398527498","1398527711"],"photo_ids_order":["1398527498","1398527544","1398527583","1398527626","1398527670","1398527711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c9abe7fa9120991c478172e1eedb53e.jpg","text":"TemporaryFile(/tmp/multipartBody8580371421587222430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_26_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f332c21d202b27ed80e8ded3d93aa207.jpg","text":"TemporaryFile(/tmp/multipartBody2432972539930888880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_25_54_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/646bbc093b123da12699e3e9bc22351d.jpg","text":"TemporaryFile(/tmp/multipartBody974516123644163857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_26_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbd45ce26b0613c6f04208aa24fb8291.jpg","text":"TemporaryFile(/tmp/multipartBody2574162804350270963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_25_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2063912b4d630597fb6bd3dcb0e50b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7054167513225524175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_25_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72a60b38a45e3df8aac73b753632e06f.jpg","text":"TemporaryFile(/tmp/multipartBody6472783378791233349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303263798,"filename":"image_09122025_10_26_24_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398527583","file1":"1398527544","file0":"1398527498","file4":"1398527670","file5":"1398527711","file3":"1398527626"},"map_files_photo_id_array":[{"photo_id":"1398527711","filename":"file5"},{"photo_id":"1398527583","filename":"file2"},{"photo_id":"1398527670","filename":"file4"},{"photo_id":"1398527544","filename":"file1"},{"photo_id":"1398527498","filename":"file0"},{"photo_id":"1398527626","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398527626":["hashtag1","hashtag2"]},{"1398527583":["hashtag1","hashtag2"]},{"1398527670":["hashtag1","hashtag2"]},{"1398527544":["hashtag1","hashtag2"]},{"1398527498":["hashtag1","hashtag2"]},{"1398527711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398527626, 1398527583, 1398527670, 1398527544, 1398527498, 1398527711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83122110366821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:00:42.782018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_19_10221.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_21_1728.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_22_1547.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_24_1718.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_25_1547.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_27_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_19_10221.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_21_1728.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_22_1547.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_24_1718.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_25_1547.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_27_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398527833","1398527902","1398527787","1398528193","1398528076","1398527986"],"photo_ids_order":["1398527787","1398527833","1398527902","1398527986","1398528076","1398528193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a5452f8040ad76cda1a9530dc6c43d8.jpg","text":"TemporaryFile(/tmp/multipartBody7878320933663224076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_21_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba13f0f9c356e297c3584873cfb714a9.jpg","text":"TemporaryFile(/tmp/multipartBody2630461134502451218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_22_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c6f388b904210f6728c2e044f6d0121.jpg","text":"TemporaryFile(/tmp/multipartBody4247305067824359246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_19_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7052974e953e267114299f13c3847e55.jpg","text":"TemporaryFile(/tmp/multipartBody3713817670277352029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_27_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b30229d4c0e3e080b0d81ab857580833.jpg","text":"TemporaryFile(/tmp/multipartBody9131452857830243546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_25_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a0c7826ae824161479bb03c08f89d68.jpg","text":"TemporaryFile(/tmp/multipartBody559468458481509535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303303757,"filename":"image_01112025_19_24_24_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398527902","file1":"1398527833","file0":"1398527787","file4":"1398528076","file5":"1398528193","file3":"1398527986"},"map_files_photo_id_array":[{"photo_id":"1398528193","filename":"file5"},{"photo_id":"1398527902","filename":"file2"},{"photo_id":"1398528076","filename":"file4"},{"photo_id":"1398527833","filename":"file1"},{"photo_id":"1398527787","filename":"file0"},{"photo_id":"1398527986","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398527833":["hashtag1","hashtag2"]},{"1398527902":["hashtag1","hashtag2"]},{"1398527787":["hashtag1","hashtag2"]},{"1398528193":["hashtag1","hashtag2"]},{"1398528076":["hashtag1","hashtag2"]},{"1398527986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398527833, 1398527902, 1398527787, 1398528193, 1398528076, 1398527986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63370156288147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:01:22.011802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_34_9713.jpg', '/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_44_9644.jpg', '/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_54_10613.jpg', '/home/pi/Desktop/images/09122025/10/26/image_09122025_10_27_04_9635.jpg', '/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_15_10680.jpg', '/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_24_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_34_9713.jpg
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_44_9644.jpg
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_26_54_10613.jpg
/home/pi/Desktop/images/09122025/10/26/image_09122025_10_27_04_9635.jpg
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_15_10680.jpg
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_24_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398528671","1398528434","1398528515","1398528625","1398528733","1398528585"],"photo_ids_order":["1398528434","1398528515","1398528585","1398528625","1398528671","1398528733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/640fffa39335065962623d47e1f700aa.jpg","text":"TemporaryFile(/tmp/multipartBody8287192650764042671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_27_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53c5806b012195a0aacaf6f6d686c7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3931175224023598110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_26_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c7480952fc6d569c18f8c59ed7f394c1.jpg","text":"TemporaryFile(/tmp/multipartBody4535761508119269297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_26_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90d470d3b9791189f218ba11ae72e12b.jpg","text":"TemporaryFile(/tmp/multipartBody1568901082138982990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_27_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a16878fafbbe6bfc48d70147a8abed0f.jpg","text":"TemporaryFile(/tmp/multipartBody1195338440683131840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_27_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd1ea98930dcccaff92c01166eedde34.jpg","text":"TemporaryFile(/tmp/multipartBody4216133508888905800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303342563,"filename":"image_09122025_10_26_54_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398528585","file1":"1398528515","file0":"1398528434","file4":"1398528671","file5":"1398528733","file3":"1398528625"},"map_files_photo_id_array":[{"photo_id":"1398528733","filename":"file5"},{"photo_id":"1398528585","filename":"file2"},{"photo_id":"1398528671","filename":"file4"},{"photo_id":"1398528515","filename":"file1"},{"photo_id":"1398528434","filename":"file0"},{"photo_id":"1398528625","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398528671":["hashtag1","hashtag2"]},{"1398528434":["hashtag1","hashtag2"]},{"1398528515":["hashtag1","hashtag2"]},{"1398528625":["hashtag1","hashtag2"]},{"1398528733":["hashtag1","hashtag2"]},{"1398528585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398528671, 1398528434, 1398528515, 1398528625, 1398528733, 1398528585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20292806625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:02:02.669031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_34_9684.jpg', '/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_45_10669.jpg', '/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_54_9521.jpg', '/home/pi/Desktop/images/09122025/10/27/image_09122025_10_28_04_9778.jpg', '/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_15_10808.jpg', '/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_24_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_34_9684.jpg
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_45_10669.jpg
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_27_54_9521.jpg
/home/pi/Desktop/images/09122025/10/27/image_09122025_10_28_04_9778.jpg
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_15_10808.jpg
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_24_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398529277","1398529055","1398528947","1398529168","1398529237","1398529284"],"photo_ids_order":["1398528947","1398529055","1398529168","1398529237","1398529277","1398529284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed083cdf6fbf2f698ba1f73b144f9a02.jpg","text":"TemporaryFile(/tmp/multipartBody5729275122391342630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_28_15_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7fd7005b652748d91d46799e4f826dab.jpg","text":"TemporaryFile(/tmp/multipartBody8251033902376994417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_27_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a8cc4452f88c8841098931eb0759409.jpg","text":"TemporaryFile(/tmp/multipartBody8003753579931239288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_27_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7fd5166f3cacaa8e5200c96baf932237.jpg","text":"TemporaryFile(/tmp/multipartBody7640514576764787117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_27_54_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/09a4bf0a802431a0737bffc94a639e82.jpg","text":"TemporaryFile(/tmp/multipartBody3745613182291901601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_28_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e11f29d6750a03cc7b443c1f6195066a.jpg","text":"TemporaryFile(/tmp/multipartBody8542796207452367787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303383268,"filename":"image_09122025_10_28_24_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529168","file1":"1398529055","file0":"1398528947","file4":"1398529277","file5":"1398529284","file3":"1398529237"},"map_files_photo_id_array":[{"photo_id":"1398529284","filename":"file5"},{"photo_id":"1398529168","filename":"file2"},{"photo_id":"1398529277","filename":"file4"},{"photo_id":"1398529055","filename":"file1"},{"photo_id":"1398528947","filename":"file0"},{"photo_id":"1398529237","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398529277":["hashtag1","hashtag2"]},{"1398529055":["hashtag1","hashtag2"]},{"1398528947":["hashtag1","hashtag2"]},{"1398529168":["hashtag1","hashtag2"]},{"1398529237":["hashtag1","hashtag2"]},{"1398529284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398529277, 1398529055, 1398528947, 1398529168, 1398529237, 1398529284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80681109428406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:02:42.313882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_30_2752.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_32_2602.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_36_3621.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_39_2622.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_41_2648.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_44_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_30_2752.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_32_2602.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_36_3621.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_39_2622.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_41_2648.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_44_2776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398529410","1398529385","1398529364","1398529387","1398529372","1398529389"],"photo_ids_order":["1398529364","1398529372","1398529385","1398529387","1398529389","1398529410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a2ced95845c9646358001c57d2591f9.jpg","text":"TemporaryFile(/tmp/multipartBody4296796385612624142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_44_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb0ddbcdf4db7ca8f6d7652805d9e961.jpg","text":"TemporaryFile(/tmp/multipartBody5259454003923120659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_36_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/10d9dbedea198582d34a8cd66c4d4618.jpg","text":"TemporaryFile(/tmp/multipartBody7110017343444053809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_30_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d822954e6359bea0e504b1e13a42a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody3492886179957866562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_39_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f35186e4a504ad3ca1d4262fd8960d0.jpg","text":"TemporaryFile(/tmp/multipartBody8137429217904144638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_32_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69a7a9274a2b51602f5710c45a58b098.jpg","text":"TemporaryFile(/tmp/multipartBody9203635692319183926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303423361,"filename":"image_01112025_19_24_41_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529385","file1":"1398529372","file0":"1398529364","file4":"1398529389","file5":"1398529410","file3":"1398529387"},"map_files_photo_id_array":[{"photo_id":"1398529410","filename":"file5"},{"photo_id":"1398529385","filename":"file2"},{"photo_id":"1398529389","filename":"file4"},{"photo_id":"1398529372","filename":"file1"},{"photo_id":"1398529364","filename":"file0"},{"photo_id":"1398529387","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398529410":["hashtag1","hashtag2"]},{"1398529385":["hashtag1","hashtag2"]},{"1398529364":["hashtag1","hashtag2"]},{"1398529387":["hashtag1","hashtag2"]},{"1398529372":["hashtag1","hashtag2"]},{"1398529389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398529410, 1398529385, 1398529364, 1398529387, 1398529372, 1398529389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.679401874542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:03:22.556307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_34_9709.jpg', '/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_44_9650.jpg', '/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_54_10703.jpg', '/home/pi/Desktop/images/09122025/10/28/image_09122025_10_29_04_9615.jpg', '/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_14_9794.jpg', '/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_25_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_34_9709.jpg
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_44_9650.jpg
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_28_54_10703.jpg
/home/pi/Desktop/images/09122025/10/28/image_09122025_10_29_04_9615.jpg
/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_14_9794.jpg
/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_25_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398529583","1398529591","1398529585","1398529549","1398529581","1398529584"],"photo_ids_order":["1398529549","1398529581","1398529583","1398529584","1398529585","1398529591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f4c47422dcea72366446130fe76d312.jpg","text":"TemporaryFile(/tmp/multipartBody2768034477790750581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_28_54_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5c2a895bc76655a0b896f3e9e6bfead.jpg","text":"TemporaryFile(/tmp/multipartBody6559342135355828950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_29_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/945f69b5ae333fa63646a5775d3d94ef.jpg","text":"TemporaryFile(/tmp/multipartBody2547176821969406206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_29_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a69303e02645fbbb9d2f236bd4eba060.jpg","text":"TemporaryFile(/tmp/multipartBody2539124319769246075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_28_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d7c01107ce057797a2844d6d3ba0e74.jpg","text":"TemporaryFile(/tmp/multipartBody6562765300294868325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_28_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/326bf62a32a7abaef30a64c13737e771.jpg","text":"TemporaryFile(/tmp/multipartBody313538897608953018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303463147,"filename":"image_09122025_10_29_04_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529583","file1":"1398529581","file0":"1398529549","file4":"1398529585","file5":"1398529591","file3":"1398529584"},"map_files_photo_id_array":[{"photo_id":"1398529591","filename":"file5"},{"photo_id":"1398529583","filename":"file2"},{"photo_id":"1398529585","filename":"file4"},{"photo_id":"1398529581","filename":"file1"},{"photo_id":"1398529549","filename":"file0"},{"photo_id":"1398529584","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398529583":["hashtag1","hashtag2"]},{"1398529591":["hashtag1","hashtag2"]},{"1398529585":["hashtag1","hashtag2"]},{"1398529549":["hashtag1","hashtag2"]},{"1398529581":["hashtag1","hashtag2"]},{"1398529584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398529583, 1398529591, 1398529585, 1398529549, 1398529581, 1398529584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17425060272217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:04:03.384272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_34_9642.jpg', '/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_44_9546.jpg', '/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_54_10685.jpg', '/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_14_10058.jpg', '/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_25_10632.jpg', '/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_35_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_34_9642.jpg
/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_44_9546.jpg
/home/pi/Desktop/images/09122025/10/29/image_09122025_10_29_54_10685.jpg
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_14_10058.jpg
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_25_10632.jpg
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_35_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398529610","1398529607","1398529604","1398529654","1398529695","1398529606"],"photo_ids_order":["1398529604","1398529606","1398529607","1398529610","1398529654","1398529695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bf8a948748490c9d02e0753b0267dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2324451453286757974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_30_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c80544935d81975b0d7c01eaa997c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6538926073443398765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_29_54_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a7a72ad9f0ce43aa42c34ea14c9ff33.jpg","text":"TemporaryFile(/tmp/multipartBody4782755547852548600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_29_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7362794428539c9f3e14ea2723f7036e.jpg","text":"TemporaryFile(/tmp/multipartBody7054217866366727643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_30_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/873e93095794ff40dfcdc5b4f541ce81.jpg","text":"TemporaryFile(/tmp/multipartBody4789320887279304476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_30_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9994285a75604c240eab7aa0b88b78d1.jpg","text":"TemporaryFile(/tmp/multipartBody4568499337827707129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303503984,"filename":"image_09122025_10_29_44_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529607","file1":"1398529606","file0":"1398529604","file4":"1398529654","file5":"1398529695","file3":"1398529610"},"map_files_photo_id_array":[{"photo_id":"1398529695","filename":"file5"},{"photo_id":"1398529607","filename":"file2"},{"photo_id":"1398529654","filename":"file4"},{"photo_id":"1398529606","filename":"file1"},{"photo_id":"1398529604","filename":"file0"},{"photo_id":"1398529610","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398529610":["hashtag1","hashtag2"]},{"1398529607":["hashtag1","hashtag2"]},{"1398529604":["hashtag1","hashtag2"]},{"1398529654":["hashtag1","hashtag2"]},{"1398529695":["hashtag1","hashtag2"]},{"1398529606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398529610, 1398529607, 1398529604, 1398529654, 1398529695, 1398529606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42354965209961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:04:42.759365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_52_4328.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_54_2026.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_57_2646.jpg', '/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_59_2622.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_03_3582.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_15_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_52_4328.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_54_2026.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_57_2646.jpg
/home/pi/Desktop/images/01112025/19/24/image_01112025_19_24_59_2622.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_03_3582.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_15_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398529821","1398529818","1398529775","1398529811","1398529870","1398529857"],"photo_ids_order":["1398529775","1398529811","1398529818","1398529821","1398529857","1398529870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89686069bfcbfedd44415a139896faee.jpg","text":"TemporaryFile(/tmp/multipartBody3152807517552969069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_24_59_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5f43a805644b265c8e4bc811285d22f.jpg","text":"TemporaryFile(/tmp/multipartBody834813991058367643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_24_57_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ebd62f9b8f64b550c3ec9c793577770.jpg","text":"TemporaryFile(/tmp/multipartBody1717992810573858625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_24_52_4328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ced27350b12bfe2f882b93ba0aea9743.jpg","text":"TemporaryFile(/tmp/multipartBody8895043518715456861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_24_54_2026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4ff2c41d9556c6363892e0213d41c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7051465989826745928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_25_15_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a83fbb8025bb0564d1c215f88ee40f72.jpg","text":"TemporaryFile(/tmp/multipartBody7434437565515783945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303543740,"filename":"image_01112025_19_25_03_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529818","file1":"1398529811","file0":"1398529775","file4":"1398529857","file5":"1398529870","file3":"1398529821"},"map_files_photo_id_array":[{"photo_id":"1398529870","filename":"file5"},{"photo_id":"1398529818","filename":"file2"},{"photo_id":"1398529857","filename":"file4"},{"photo_id":"1398529811","filename":"file1"},{"photo_id":"1398529775","filename":"file0"},{"photo_id":"1398529821","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398529821":["hashtag1","hashtag2"]},{"1398529818":["hashtag1","hashtag2"]},{"1398529775":["hashtag1","hashtag2"]},{"1398529811":["hashtag1","hashtag2"]},{"1398529870":["hashtag1","hashtag2"]},{"1398529857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398529821, 1398529818, 1398529775, 1398529811, 1398529870, 1398529857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.377710819244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:05:21.990773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_44_9714.jpg', '/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_55_10854.jpg', '/home/pi/Desktop/images/09122025/10/30/image_09122025_10_31_05_9620.jpg', '/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_14_9736.jpg', '/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_25_10670.jpg', '/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_44_9714.jpg
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_30_55_10854.jpg
/home/pi/Desktop/images/09122025/10/30/image_09122025_10_31_05_9620.jpg
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_14_9736.jpg
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_25_10670.jpg
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_35_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530052","1398529904","1398530021","1398529999","1398529901","1398529972"],"photo_ids_order":["1398529901","1398529904","1398529972","1398529999","1398530021","1398530052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ab013fbf2d59bcb175203534e1b9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4681354313982718584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_31_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46f1acbf68aae37239ccf611e6615a92.jpg","text":"TemporaryFile(/tmp/multipartBody6742869689964991667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_30_55_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b6e15dd5b8ed26ad6daaffbd2862619.jpg","text":"TemporaryFile(/tmp/multipartBody1515842421613862799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_31_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5183dfa1c1c001bed8cce2850ec7e11d.jpg","text":"TemporaryFile(/tmp/multipartBody8500406447847367836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_31_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/898dcd9723f81ae8b4c7a9d63564cf17.jpg","text":"TemporaryFile(/tmp/multipartBody8351434606183419835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_30_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/442c8cdfba860a5d18b41eb29b0339e7.jpg","text":"TemporaryFile(/tmp/multipartBody5257305659413873290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303582541,"filename":"image_09122025_10_31_05_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398529972","file1":"1398529904","file0":"1398529901","file4":"1398530021","file5":"1398530052","file3":"1398529999"},"map_files_photo_id_array":[{"photo_id":"1398530052","filename":"file5"},{"photo_id":"1398529972","filename":"file2"},{"photo_id":"1398530021","filename":"file4"},{"photo_id":"1398529904","filename":"file1"},{"photo_id":"1398529901","filename":"file0"},{"photo_id":"1398529999","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530052":["hashtag1","hashtag2"]},{"1398529904":["hashtag1","hashtag2"]},{"1398530021":["hashtag1","hashtag2"]},{"1398529999":["hashtag1","hashtag2"]},{"1398529901":["hashtag1","hashtag2"]},{"1398529972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530052, 1398529904, 1398530021, 1398529999, 1398529901, 1398529972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.404335737228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:06:02.633885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_44_9520.jpg', '/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_55_10622.jpg', '/home/pi/Desktop/images/09122025/10/31/image_09122025_10_32_05_9776.jpg', '/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_15_9858.jpg', '/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_24_9714.jpg', '/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_35_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_44_9520.jpg
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_31_55_10622.jpg
/home/pi/Desktop/images/09122025/10/31/image_09122025_10_32_05_9776.jpg
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_15_9858.jpg
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_24_9714.jpg
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_35_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398530090","1398530087","1398530081","1398530089","1398530091","1398530085"],"photo_ids_order":["1398530081","1398530085","1398530087","1398530089","1398530090","1398530091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3290d1c8dd11bd9fa976f02f54a8e11.jpg","text":"TemporaryFile(/tmp/multipartBody8009704566653451155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_32_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c8d64ee05f0f54bc5ab072abdf8b472.jpg","text":"TemporaryFile(/tmp/multipartBody3153371439062209541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_32_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4ccc72c7f986814ca536d18677ec7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8415955733963008868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_31_44_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f12486c4e78e2e1d545cc22a5081fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7007728844986834276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_32_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c99fc346600f49835121cd40298f0785.jpg","text":"TemporaryFile(/tmp/multipartBody6090404194210497432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_32_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef5b449b8d27231c30e1af3c3c84928b.jpg","text":"TemporaryFile(/tmp/multipartBody2546026408355618032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303623219,"filename":"image_09122025_10_31_55_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530087","file1":"1398530085","file0":"1398530081","file4":"1398530090","file5":"1398530091","file3":"1398530089"},"map_files_photo_id_array":[{"photo_id":"1398530091","filename":"file5"},{"photo_id":"1398530087","filename":"file2"},{"photo_id":"1398530090","filename":"file4"},{"photo_id":"1398530085","filename":"file1"},{"photo_id":"1398530081","filename":"file0"},{"photo_id":"1398530089","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530090":["hashtag1","hashtag2"]},{"1398530087":["hashtag1","hashtag2"]},{"1398530081":["hashtag1","hashtag2"]},{"1398530089":["hashtag1","hashtag2"]},{"1398530091":["hashtag1","hashtag2"]},{"1398530085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530090, 1398530087, 1398530081, 1398530089, 1398530091, 1398530085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.09633684158325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:07:03.310708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_45_9664.jpg', '/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_55_10565.jpg', '/home/pi/Desktop/images/09122025/10/32/image_09122025_10_33_05_9686.jpg', '/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_15_9706.jpg', '/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_24_9697.jpg', '/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_35_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_45_9664.jpg
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_32_55_10565.jpg
/home/pi/Desktop/images/09122025/10/32/image_09122025_10_33_05_9686.jpg
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_15_9706.jpg
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_24_9697.jpg
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_35_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530256","1398530232","1398530214","1398530246","1398530254","1398530191"],"photo_ids_order":["1398530191","1398530214","1398530232","1398530246","1398530254","1398530256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71628146efc7be89270b574f8f01e25d.jpg","text":"TemporaryFile(/tmp/multipartBody1525577975175537692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_33_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5079bcaca73e90478dc06b477f6d22f.jpg","text":"TemporaryFile(/tmp/multipartBody2342235373355610298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_33_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c0d01de112575f415e443ff0bde6a71.jpg","text":"TemporaryFile(/tmp/multipartBody5387022851816358258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_32_55_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4f914dc48098f4112357cca9a0c39fe.jpg","text":"TemporaryFile(/tmp/multipartBody6163398517778670910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_33_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfad3cea9f0b6d51aa810ed8916ca7f7.jpg","text":"TemporaryFile(/tmp/multipartBody2964866130394137110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_33_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0af731ea481d8187888f34e62d6d9cea.jpg","text":"TemporaryFile(/tmp/multipartBody7289707740364004036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303683921,"filename":"image_09122025_10_32_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530232","file1":"1398530214","file0":"1398530191","file4":"1398530254","file5":"1398530256","file3":"1398530246"},"map_files_photo_id_array":[{"photo_id":"1398530256","filename":"file5"},{"photo_id":"1398530232","filename":"file2"},{"photo_id":"1398530254","filename":"file4"},{"photo_id":"1398530214","filename":"file1"},{"photo_id":"1398530191","filename":"file0"},{"photo_id":"1398530246","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530256":["hashtag1","hashtag2"]},{"1398530232":["hashtag1","hashtag2"]},{"1398530214":["hashtag1","hashtag2"]},{"1398530246":["hashtag1","hashtag2"]},{"1398530254":["hashtag1","hashtag2"]},{"1398530191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530256, 1398530232, 1398530214, 1398530246, 1398530254, 1398530191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.605019330978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:07:42.660717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_17_2649.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_20_2875.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_41_8484.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_47_6134.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_48_1513.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_50_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_17_2649.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_20_2875.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_41_8484.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_47_6134.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_48_1513.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_50_1765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530268","1398530277","1398530279","1398530273","1398530275","1398530283"],"photo_ids_order":["1398530268","1398530273","1398530275","1398530277","1398530279","1398530283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/210bab84c0f77df40ff7d0ba53ccf96a.jpg","text":"TemporaryFile(/tmp/multipartBody3605657380376773764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_17_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2ca2ebac2302a0f7c601f0caaec42b6.jpg","text":"TemporaryFile(/tmp/multipartBody3066655748704420825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_47_6134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70f469096412816dc8a96829476b3352.jpg","text":"TemporaryFile(/tmp/multipartBody6500823011763910715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_48_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/589d986ec90cbef613fe274a8a8ea4d1.jpg","text":"TemporaryFile(/tmp/multipartBody6033119670360039773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_20_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a72dadcd8bf89d1b8ce1afb78a6f40f.jpg","text":"TemporaryFile(/tmp/multipartBody3603618950613589473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_41_8484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0013ae2dc1b47d9d200b8475c41289e5.jpg","text":"TemporaryFile(/tmp/multipartBody8841852035356753082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303723633,"filename":"image_01112025_19_25_50_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530275","file1":"1398530273","file0":"1398530268","file4":"1398530279","file5":"1398530283","file3":"1398530277"},"map_files_photo_id_array":[{"photo_id":"1398530283","filename":"file5"},{"photo_id":"1398530275","filename":"file2"},{"photo_id":"1398530279","filename":"file4"},{"photo_id":"1398530273","filename":"file1"},{"photo_id":"1398530268","filename":"file0"},{"photo_id":"1398530277","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398530268":["hashtag1","hashtag2"]},{"1398530277":["hashtag1","hashtag2"]},{"1398530279":["hashtag1","hashtag2"]},{"1398530273":["hashtag1","hashtag2"]},{"1398530275":["hashtag1","hashtag2"]},{"1398530283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398530268, 1398530277, 1398530279, 1398530273, 1398530275, 1398530283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.155035972595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:08:21.886884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_44_9658.jpg', '/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_55_10710.jpg', '/home/pi/Desktop/images/09122025/10/33/image_09122025_10_34_05_9801.jpg', '/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_15_9858.jpg', '/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_24_9558.jpg', '/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_44_9658.jpg
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_33_55_10710.jpg
/home/pi/Desktop/images/09122025/10/33/image_09122025_10_34_05_9801.jpg
/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_15_9858.jpg
/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_24_9558.jpg
/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_35_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530292","1398530301","1398530294","1398530297","1398530315","1398530296"],"photo_ids_order":["1398530292","1398530294","1398530296","1398530297","1398530301","1398530315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44924ec11025eb9ed2fbd394a79e5a87.jpg","text":"TemporaryFile(/tmp/multipartBody7606883503120997050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_33_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c60453fdfdaf7e986390b8d4a00dd53.jpg","text":"TemporaryFile(/tmp/multipartBody4089516419186024915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_34_24_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb775e01b7e26337cd7d7ba44afac5b8.jpg","text":"TemporaryFile(/tmp/multipartBody7928506219358695710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_33_55_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/defae66f334ee25b90b125c891c0ebc0.jpg","text":"TemporaryFile(/tmp/multipartBody6939792040867102958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_34_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79401f8da3d08b24970143e823c3198e.jpg","text":"TemporaryFile(/tmp/multipartBody5585652594772638303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_34_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2027ce69f573f41fd0bead01068806a3.jpg","text":"TemporaryFile(/tmp/multipartBody8236094228921984301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303762439,"filename":"image_09122025_10_34_05_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530296","file1":"1398530294","file0":"1398530292","file4":"1398530301","file5":"1398530315","file3":"1398530297"},"map_files_photo_id_array":[{"photo_id":"1398530315","filename":"file5"},{"photo_id":"1398530296","filename":"file2"},{"photo_id":"1398530301","filename":"file4"},{"photo_id":"1398530294","filename":"file1"},{"photo_id":"1398530292","filename":"file0"},{"photo_id":"1398530297","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530292":["hashtag1","hashtag2"]},{"1398530301":["hashtag1","hashtag2"]},{"1398530294":["hashtag1","hashtag2"]},{"1398530297":["hashtag1","hashtag2"]},{"1398530315":["hashtag1","hashtag2"]},{"1398530296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530292, 1398530301, 1398530294, 1398530297, 1398530315, 1398530296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.779155254364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:09:03.075427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_45_9522.jpg', '/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_54_9863.jpg', '/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_14_10057.jpg', '/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_25_10749.jpg', '/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_35_9631.jpg', '/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_45_9522.jpg
/home/pi/Desktop/images/09122025/10/34/image_09122025_10_34_54_9863.jpg
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_14_10057.jpg
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_25_10749.jpg
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_35_9631.jpg
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_44_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530346","1398530337","1398530333","1398530342","1398530335","1398530329"],"photo_ids_order":["1398530329","1398530333","1398530335","1398530337","1398530342","1398530346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0f57c759d2f00dab2d1e284ebd2ae6f.jpg","text":"TemporaryFile(/tmp/multipartBody5885196762547861532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_35_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4be6b7bb23b2b5d5c50ff9f21903bebe.jpg","text":"TemporaryFile(/tmp/multipartBody4907717633628752591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_35_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5b3b0210312c4c1e99f7cadd49b333c.jpg","text":"TemporaryFile(/tmp/multipartBody3960505033015609821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_34_54_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9400dfe33e7ae1242bfb8883626773a.jpg","text":"TemporaryFile(/tmp/multipartBody630559136820066254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_35_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f507fb8825ebc2ac10d732e36439cb24.jpg","text":"TemporaryFile(/tmp/multipartBody3248605578274379886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_35_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46703cad5e82f7c1cd0614426769f1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8680864758091509275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303803781,"filename":"image_09122025_10_34_45_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530335","file1":"1398530333","file0":"1398530329","file4":"1398530342","file5":"1398530346","file3":"1398530337"},"map_files_photo_id_array":[{"photo_id":"1398530346","filename":"file5"},{"photo_id":"1398530335","filename":"file2"},{"photo_id":"1398530342","filename":"file4"},{"photo_id":"1398530333","filename":"file1"},{"photo_id":"1398530329","filename":"file0"},{"photo_id":"1398530337","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530346":["hashtag1","hashtag2"]},{"1398530337":["hashtag1","hashtag2"]},{"1398530333":["hashtag1","hashtag2"]},{"1398530342":["hashtag1","hashtag2"]},{"1398530335":["hashtag1","hashtag2"]},{"1398530329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530346, 1398530337, 1398530333, 1398530342, 1398530335, 1398530329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34383821487427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:09:42.046868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_52_1584.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_56_1651.jpg', '/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_58_1690.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_06_7531.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_07_1704.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_09_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_52_1584.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_56_1651.jpg
/home/pi/Desktop/images/01112025/19/25/image_01112025_19_25_58_1690.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_06_7531.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_07_1704.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_09_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530352","1398530357","1398530447","1398530426","1398530441","1398530383"],"photo_ids_order":["1398530352","1398530357","1398530383","1398530426","1398530441","1398530447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c096ac815984db7fb6b0d4b31d577bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3760817662264064745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_25_52_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d0c9cdc6de8e95b27b05fd1e24662f6.jpg","text":"TemporaryFile(/tmp/multipartBody2282730537187841480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_25_56_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6f1b8beb5d99f1a00d67193c1b35e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4967295842255121907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_26_09_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aec44ce6538d2f41201ba6865f930d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1615335626734281817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_26_06_7531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f582be98718031fad06fba25616f1bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5869290412674280429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_26_07_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ab286aee1a5ff56a2aa59a3ae4959d1.jpg","text":"TemporaryFile(/tmp/multipartBody3284733259536766179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303843024,"filename":"image_01112025_19_25_58_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530383","file1":"1398530357","file0":"1398530352","file4":"1398530441","file5":"1398530447","file3":"1398530426"},"map_files_photo_id_array":[{"photo_id":"1398530447","filename":"file5"},{"photo_id":"1398530383","filename":"file2"},{"photo_id":"1398530441","filename":"file4"},{"photo_id":"1398530357","filename":"file1"},{"photo_id":"1398530352","filename":"file0"},{"photo_id":"1398530426","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398530352":["hashtag1","hashtag2"]},{"1398530357":["hashtag1","hashtag2"]},{"1398530447":["hashtag1","hashtag2"]},{"1398530426":["hashtag1","hashtag2"]},{"1398530441":["hashtag1","hashtag2"]},{"1398530383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398530352, 1398530357, 1398530447, 1398530426, 1398530441, 1398530383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13672161102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:10:22.303707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_55_10595.jpg', '/home/pi/Desktop/images/09122025/10/35/image_09122025_10_36_05_9663.jpg', '/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_14_9704.jpg', '/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_25_10729.jpg', '/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_35_9584.jpg', '/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_35_55_10595.jpg
/home/pi/Desktop/images/09122025/10/35/image_09122025_10_36_05_9663.jpg
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_14_9704.jpg
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_25_10729.jpg
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_35_9584.jpg
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_44_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530514","1398530492","1398530618","1398530485","1398530488","1398530496"],"photo_ids_order":["1398530485","1398530488","1398530492","1398530496","1398530514","1398530618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcb664569e47b4bb36306058fbf81da4.jpg","text":"TemporaryFile(/tmp/multipartBody3737087875973745616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_36_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e81acdd16180693df05da2515551b58b.jpg","text":"TemporaryFile(/tmp/multipartBody3084824906289125120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_36_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/507053d12d98a65bcf0d2f83fcb2e924.jpg","text":"TemporaryFile(/tmp/multipartBody4987571703339184332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_36_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42c1f8df6683fe7cf49f18039c18c46c.jpg","text":"TemporaryFile(/tmp/multipartBody1767300092781955625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_35_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2e31fcb168f9792be0bfa6fe545681a.jpg","text":"TemporaryFile(/tmp/multipartBody6584781187462180787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_36_05_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee7573f5e17eae0c8351b05c53f62123.jpg","text":"TemporaryFile(/tmp/multipartBody2665740996674239331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303882921,"filename":"image_09122025_10_36_25_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530492","file1":"1398530488","file0":"1398530485","file4":"1398530514","file5":"1398530618","file3":"1398530496"},"map_files_photo_id_array":[{"photo_id":"1398530618","filename":"file5"},{"photo_id":"1398530492","filename":"file2"},{"photo_id":"1398530514","filename":"file4"},{"photo_id":"1398530488","filename":"file1"},{"photo_id":"1398530485","filename":"file0"},{"photo_id":"1398530496","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530514":["hashtag1","hashtag2"]},{"1398530492":["hashtag1","hashtag2"]},{"1398530618":["hashtag1","hashtag2"]},{"1398530485":["hashtag1","hashtag2"]},{"1398530488":["hashtag1","hashtag2"]},{"1398530496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530514, 1398530492, 1398530618, 1398530485, 1398530488, 1398530496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3820903301239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:11:02.986109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_55_10651.jpg', '/home/pi/Desktop/images/09122025/10/36/image_09122025_10_37_05_9726.jpg', '/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_14_9725.jpg', '/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_25_10595.jpg', '/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_35_9649.jpg', '/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_44_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_36_55_10651.jpg
/home/pi/Desktop/images/09122025/10/36/image_09122025_10_37_05_9726.jpg
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_14_9725.jpg
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_25_10595.jpg
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_35_9649.jpg
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_44_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530739","1398530712","1398530741","1398530735","1398530708","1398530737"],"photo_ids_order":["1398530708","1398530712","1398530735","1398530737","1398530739","1398530741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26a6799615b7fe12fbc4c03b32ca76c6.jpg","text":"TemporaryFile(/tmp/multipartBody6655032408458784435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_37_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bdb5fc5d76292e89144e7d8bd74cae3e.jpg","text":"TemporaryFile(/tmp/multipartBody3637929202186392749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_37_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b6060547f0eab4eb7a24d2d81d992b6.jpg","text":"TemporaryFile(/tmp/multipartBody6555121414710076788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_37_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae1be031ec1cb7bcfb37c52c94b45815.jpg","text":"TemporaryFile(/tmp/multipartBody2972518110721704423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_37_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c8bda9370791662f9a3e90a79351990.jpg","text":"TemporaryFile(/tmp/multipartBody7462696735802777848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_36_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3212de49757c83eb8af46b3789b7a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3673576401895731153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303923647,"filename":"image_09122025_10_37_25_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530735","file1":"1398530712","file0":"1398530708","file4":"1398530739","file5":"1398530741","file3":"1398530737"},"map_files_photo_id_array":[{"photo_id":"1398530741","filename":"file5"},{"photo_id":"1398530735","filename":"file2"},{"photo_id":"1398530739","filename":"file4"},{"photo_id":"1398530712","filename":"file1"},{"photo_id":"1398530708","filename":"file0"},{"photo_id":"1398530737","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530739":["hashtag1","hashtag2"]},{"1398530712":["hashtag1","hashtag2"]},{"1398530741":["hashtag1","hashtag2"]},{"1398530735":["hashtag1","hashtag2"]},{"1398530708":["hashtag1","hashtag2"]},{"1398530737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530739, 1398530712, 1398530741, 1398530735, 1398530708, 1398530737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.312525510787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:11:42.356460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_10_1591.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_12_1732.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_18_3765.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_23_2759.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_27_3660.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_29_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_10_1591.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_12_1732.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_18_3765.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_23_2759.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_27_3660.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_29_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530811","1398530753","1398530816","1398530813","1398530758","1398530790"],"photo_ids_order":["1398530753","1398530758","1398530790","1398530811","1398530813","1398530816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d0243b0af1b5bb6751d68977bab346b.jpg","text":"TemporaryFile(/tmp/multipartBody4860387097168464164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_23_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99273ec4eff7a46a4dd7b33073d7a89d.jpg","text":"TemporaryFile(/tmp/multipartBody822380558722168353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_10_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33e25c0278686aa61a5d27439b2a8a84.jpg","text":"TemporaryFile(/tmp/multipartBody6990032220130671753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_29_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f16f3809df1f92aea00660aeea375f03.jpg","text":"TemporaryFile(/tmp/multipartBody1242520615660484489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_27_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f776cfe796d121cac629c84474313be.jpg","text":"TemporaryFile(/tmp/multipartBody6470486545580855785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_12_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c60ae03c585fd6331c0f5dda102338ff.jpg","text":"TemporaryFile(/tmp/multipartBody8079846579456384154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765303963327,"filename":"image_01112025_19_26_18_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530790","file1":"1398530758","file0":"1398530753","file4":"1398530813","file5":"1398530816","file3":"1398530811"},"map_files_photo_id_array":[{"photo_id":"1398530816","filename":"file5"},{"photo_id":"1398530790","filename":"file2"},{"photo_id":"1398530813","filename":"file4"},{"photo_id":"1398530758","filename":"file1"},{"photo_id":"1398530753","filename":"file0"},{"photo_id":"1398530811","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398530811":["hashtag1","hashtag2"]},{"1398530753":["hashtag1","hashtag2"]},{"1398530816":["hashtag1","hashtag2"]},{"1398530813":["hashtag1","hashtag2"]},{"1398530758":["hashtag1","hashtag2"]},{"1398530790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398530811, 1398530753, 1398530816, 1398530813, 1398530758, 1398530790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01858878135681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:12:22.537961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_55_10644.jpg', '/home/pi/Desktop/images/09122025/10/37/image_09122025_10_38_05_9878.jpg', '/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_14_9566.jpg', '/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_25_10748.jpg', '/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_35_9582.jpg', '/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_44_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_37_55_10644.jpg
/home/pi/Desktop/images/09122025/10/37/image_09122025_10_38_05_9878.jpg
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_14_9566.jpg
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_25_10748.jpg
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_35_9582.jpg
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_44_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530826","1398530834","1398530828","1398530831","1398530839","1398530824"],"photo_ids_order":["1398530824","1398530826","1398530828","1398530831","1398530834","1398530839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bac8240bf681ae2b7a58fbc5797fd1d1.jpg","text":"TemporaryFile(/tmp/multipartBody6490689205852665929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_38_05_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86f39ca3f603c9c0c8b375f22d8a3ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8642934481052660054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_38_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33a996b4a2f89b0c82614ecc10bd8a68.jpg","text":"TemporaryFile(/tmp/multipartBody6482347558486250385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_38_14_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/60100e92297df9f796529b9a2fc97a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4559327552201752156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_38_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/751b9da787bfd09d69c4dea677c3ad49.jpg","text":"TemporaryFile(/tmp/multipartBody64058833136771663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_38_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e93a0e91865dc9125116ada7365deb36.jpg","text":"TemporaryFile(/tmp/multipartBody3978657927922769947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304003134,"filename":"image_09122025_10_37_55_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530828","file1":"1398530826","file0":"1398530824","file4":"1398530834","file5":"1398530839","file3":"1398530831"},"map_files_photo_id_array":[{"photo_id":"1398530839","filename":"file5"},{"photo_id":"1398530828","filename":"file2"},{"photo_id":"1398530834","filename":"file4"},{"photo_id":"1398530826","filename":"file1"},{"photo_id":"1398530824","filename":"file0"},{"photo_id":"1398530831","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530826":["hashtag1","hashtag2"]},{"1398530834":["hashtag1","hashtag2"]},{"1398530828":["hashtag1","hashtag2"]},{"1398530831":["hashtag1","hashtag2"]},{"1398530839":["hashtag1","hashtag2"]},{"1398530824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530826, 1398530834, 1398530828, 1398530831, 1398530839, 1398530824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68031716346741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:13:02.537262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_55_10639.jpg', '/home/pi/Desktop/images/09122025/10/38/image_09122025_10_39_05_9616.jpg', '/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_14_9764.jpg', '/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_25_10751.jpg', '/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_35_9563.jpg', '/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_44_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_38_55_10639.jpg
/home/pi/Desktop/images/09122025/10/38/image_09122025_10_39_05_9616.jpg
/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_14_9764.jpg
/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_25_10751.jpg
/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_35_9563.jpg
/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_44_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398530973","1398530868","1398530856","1398530897","1398530935","1398530871"],"photo_ids_order":["1398530856","1398530868","1398530871","1398530897","1398530935","1398530973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43a3cda843fd2a579421b6c5a1d67772.jpg","text":"TemporaryFile(/tmp/multipartBody5360424620802229541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_39_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee9ef166dde4abfa4bb892c1f1c78432.jpg","text":"TemporaryFile(/tmp/multipartBody9076886112398202281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_39_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/916fbf6a4b351e2f7e9e271fb29b26d5.jpg","text":"TemporaryFile(/tmp/multipartBody6504588855892619809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_38_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfe9ae38ae04119076845a04b87d476d.jpg","text":"TemporaryFile(/tmp/multipartBody7618186589072860838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_39_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/244136bb828973b5e173116917119aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1596013550305678003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_39_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f69af5344608456083161844aa2b99f1.jpg","text":"TemporaryFile(/tmp/multipartBody7019159482999782827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304043243,"filename":"image_09122025_10_39_14_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398530871","file1":"1398530868","file0":"1398530856","file4":"1398530935","file5":"1398530973","file3":"1398530897"},"map_files_photo_id_array":[{"photo_id":"1398530973","filename":"file5"},{"photo_id":"1398530871","filename":"file2"},{"photo_id":"1398530935","filename":"file4"},{"photo_id":"1398530868","filename":"file1"},{"photo_id":"1398530856","filename":"file0"},{"photo_id":"1398530897","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398530973":["hashtag1","hashtag2"]},{"1398530868":["hashtag1","hashtag2"]},{"1398530856":["hashtag1","hashtag2"]},{"1398530897":["hashtag1","hashtag2"]},{"1398530935":["hashtag1","hashtag2"]},{"1398530871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398530973, 1398530868, 1398530856, 1398530897, 1398530935, 1398530871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90939211845398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:13:41.827907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_32_2571.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_36_3596.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_38_2632.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_41_2657.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_51_3627.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_53_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_32_2571.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_36_3596.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_38_2632.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_41_2657.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_51_3627.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_53_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531141","1398531117","1398531095","1398531091","1398531040","1398531081"],"photo_ids_order":["1398531040","1398531081","1398531091","1398531095","1398531117","1398531141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a20dc0a041ba9c6afadea4974a5bf5c1.jpg","text":"TemporaryFile(/tmp/multipartBody3469862744816679369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_53_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6994c80949ddfbae4de4e74c1af6d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody2857698148635295632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_51_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6796867e7f2c654d782ed4a25d1373aa.jpg","text":"TemporaryFile(/tmp/multipartBody2662592175767702091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_41_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ee345fbc666a3377a4b3bc988b33988.jpg","text":"TemporaryFile(/tmp/multipartBody6488096190685763713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_38_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37a1cf9bdf119cffd3670e2f4d4b075a.jpg","text":"TemporaryFile(/tmp/multipartBody8129910026371728528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_32_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6bcaa905cd7499c7d5aadb1b944142e.jpg","text":"TemporaryFile(/tmp/multipartBody6415085288786653364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304082799,"filename":"image_01112025_19_26_36_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531091","file1":"1398531081","file0":"1398531040","file4":"1398531117","file5":"1398531141","file3":"1398531095"},"map_files_photo_id_array":[{"photo_id":"1398531141","filename":"file5"},{"photo_id":"1398531091","filename":"file2"},{"photo_id":"1398531117","filename":"file4"},{"photo_id":"1398531081","filename":"file1"},{"photo_id":"1398531040","filename":"file0"},{"photo_id":"1398531095","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398531141":["hashtag1","hashtag2"]},{"1398531117":["hashtag1","hashtag2"]},{"1398531095":["hashtag1","hashtag2"]},{"1398531091":["hashtag1","hashtag2"]},{"1398531040":["hashtag1","hashtag2"]},{"1398531081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398531141, 1398531117, 1398531095, 1398531091, 1398531040, 1398531081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69576978683472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:14:22.131477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_55_10869.jpg', '/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_14_10052.jpg', '/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_25_10690.jpg', '/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_34_9733.jpg', '/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_44_9812.jpg', '/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/39/image_09122025_10_39_55_10869.jpg
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_14_10052.jpg
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_25_10690.jpg
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_34_9733.jpg
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_44_9812.jpg
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_40_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531194","1398531176","1398531179","1398531181","1398531183","1398531180"],"photo_ids_order":["1398531176","1398531179","1398531180","1398531181","1398531183","1398531194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd14bde47792a7ad9a921d5cf1602b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1573436866420041533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_40_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b96c71cacdbcf85015fbc09cb5351896.jpg","text":"TemporaryFile(/tmp/multipartBody7022233742123754538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_39_55_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc9cc66826d6cd585cd4370ce120a550.jpg","text":"TemporaryFile(/tmp/multipartBody2149546078308039297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_40_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a505dbf9a0f3de80918a2f3b4ec0d15.jpg","text":"TemporaryFile(/tmp/multipartBody5549907681493742198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_40_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a7f7f3a13c693b9d08d7326f1ff5041.jpg","text":"TemporaryFile(/tmp/multipartBody8706537800232134094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_40_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f140b5f05fac2513de364a9a1ff5d89b.jpg","text":"TemporaryFile(/tmp/multipartBody4103703571464654300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304122707,"filename":"image_09122025_10_40_25_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531180","file1":"1398531179","file0":"1398531176","file4":"1398531183","file5":"1398531194","file3":"1398531181"},"map_files_photo_id_array":[{"photo_id":"1398531194","filename":"file5"},{"photo_id":"1398531180","filename":"file2"},{"photo_id":"1398531183","filename":"file4"},{"photo_id":"1398531179","filename":"file1"},{"photo_id":"1398531176","filename":"file0"},{"photo_id":"1398531181","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398531194":["hashtag1","hashtag2"]},{"1398531176":["hashtag1","hashtag2"]},{"1398531179":["hashtag1","hashtag2"]},{"1398531181":["hashtag1","hashtag2"]},{"1398531183":["hashtag1","hashtag2"]},{"1398531180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398531194, 1398531176, 1398531179, 1398531181, 1398531183, 1398531180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.648701190948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:15:02.811749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/40/image_09122025_10_41_04_9605.jpg', '/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_14_9776.jpg', '/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_24_9819.jpg', '/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_35_10661.jpg', '/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_44_9543.jpg', '/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/40/image_09122025_10_41_04_9605.jpg
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_14_9776.jpg
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_24_9819.jpg
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_35_10661.jpg
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_44_9543.jpg
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_41_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531269","1398531286","1398531271","1398531265","1398531268","1398531273"],"photo_ids_order":["1398531265","1398531268","1398531269","1398531271","1398531273","1398531286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e0698504593f4a63eb02e779ece0fda.jpg","text":"TemporaryFile(/tmp/multipartBody2289980908703434979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3a926cef269dd3e79d4c5367076d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4911319873557426774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47549457cd6cba1f6ccb1c7e3776e9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3949635631329137935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f42fa3225fccadcb178647fc11708600.jpg","text":"TemporaryFile(/tmp/multipartBody8523502713744883607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b51ce32a1f94db9019edeffd52a73d50.jpg","text":"TemporaryFile(/tmp/multipartBody8850368456741377849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b81a743e2e6ede4eabb7bc33aaec16d.jpg","text":"TemporaryFile(/tmp/multipartBody6599816573686842447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304163456,"filename":"image_09122025_10_41_44_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531269","file1":"1398531268","file0":"1398531265","file4":"1398531273","file5":"1398531286","file3":"1398531271"},"map_files_photo_id_array":[{"photo_id":"1398531286","filename":"file5"},{"photo_id":"1398531269","filename":"file2"},{"photo_id":"1398531273","filename":"file4"},{"photo_id":"1398531268","filename":"file1"},{"photo_id":"1398531265","filename":"file0"},{"photo_id":"1398531271","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398531269":["hashtag1","hashtag2"]},{"1398531286":["hashtag1","hashtag2"]},{"1398531271":["hashtag1","hashtag2"]},{"1398531265":["hashtag1","hashtag2"]},{"1398531268":["hashtag1","hashtag2"]},{"1398531273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398531269, 1398531286, 1398531271, 1398531265, 1398531268, 1398531273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.992351770401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:15:42.277219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_56_2755.jpg', '/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_59_2813.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_03_3664.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_05_2795.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_08_2667.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_12_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_56_2755.jpg
/home/pi/Desktop/images/01112025/19/26/image_01112025_19_26_59_2813.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_03_3664.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_05_2795.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_08_2667.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_12_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531422","1398531431","1398531425","1398531428","1398531400","1398531418"],"photo_ids_order":["1398531400","1398531418","1398531422","1398531425","1398531428","1398531431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba48d1376e9ee45db76d03b9a5b482ec.jpg","text":"TemporaryFile(/tmp/multipartBody5953174570069740621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_27_03_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7500b121cda77163cc0e02ee2612b21a.jpg","text":"TemporaryFile(/tmp/multipartBody7722175676767342789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_27_12_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f13d2963eab8f35747ea9547609ae80f.jpg","text":"TemporaryFile(/tmp/multipartBody2295804084548208963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_27_05_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cff7868930c728c4d945824a8bebe6b6.jpg","text":"TemporaryFile(/tmp/multipartBody6147647664485614153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_27_08_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8de82b531a47360d57fbb274831d67e.jpg","text":"TemporaryFile(/tmp/multipartBody8046759367925731909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_26_56_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82b9e5831bba89433bd8a880859254dc.jpg","text":"TemporaryFile(/tmp/multipartBody7890600179449622419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304203284,"filename":"image_01112025_19_26_59_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531422","file1":"1398531418","file0":"1398531400","file4":"1398531428","file5":"1398531431","file3":"1398531425"},"map_files_photo_id_array":[{"photo_id":"1398531431","filename":"file5"},{"photo_id":"1398531422","filename":"file2"},{"photo_id":"1398531428","filename":"file4"},{"photo_id":"1398531418","filename":"file1"},{"photo_id":"1398531400","filename":"file0"},{"photo_id":"1398531425","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398531422":["hashtag1","hashtag2"]},{"1398531431":["hashtag1","hashtag2"]},{"1398531425":["hashtag1","hashtag2"]},{"1398531428":["hashtag1","hashtag2"]},{"1398531400":["hashtag1","hashtag2"]},{"1398531418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398531422, 1398531431, 1398531425, 1398531428, 1398531400, 1398531418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46998620033264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:16:22.393167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/41/image_09122025_10_42_04_10650.jpg', '/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_14_9584.jpg', '/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_25_10660.jpg', '/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_34_9694.jpg', '/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_44_9592.jpg', '/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/41/image_09122025_10_42_04_10650.jpg
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_14_9584.jpg
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_25_10660.jpg
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_34_9694.jpg
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_44_9592.jpg
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_42_55_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531434","1398531437","1398531446","1398531439","1398531433","1398531442"],"photo_ids_order":["1398531433","1398531434","1398531437","1398531439","1398531442","1398531446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/adccbed8d72187811a0cad7b811b4d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6690720913085519424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_14_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6352b8fa44adc672942db162bc013c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5027375620753032002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1025c79a4d033a8088a65eb069242543.jpg","text":"TemporaryFile(/tmp/multipartBody2975712798380087359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec927bc90e31996862ed279a96ff6a44.jpg","text":"TemporaryFile(/tmp/multipartBody589169566615845742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/525c0af4d0c69cdcb1c096778b28c399.jpg","text":"TemporaryFile(/tmp/multipartBody1629091344534280049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/309870adcd02ae534c01955284e231f2.jpg","text":"TemporaryFile(/tmp/multipartBody2586893646758820763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304242974,"filename":"image_09122025_10_42_44_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531437","file1":"1398531434","file0":"1398531433","file4":"1398531442","file5":"1398531446","file3":"1398531439"},"map_files_photo_id_array":[{"photo_id":"1398531446","filename":"file5"},{"photo_id":"1398531437","filename":"file2"},{"photo_id":"1398531442","filename":"file4"},{"photo_id":"1398531434","filename":"file1"},{"photo_id":"1398531433","filename":"file0"},{"photo_id":"1398531439","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398531434":["hashtag1","hashtag2"]},{"1398531437":["hashtag1","hashtag2"]},{"1398531446":["hashtag1","hashtag2"]},{"1398531439":["hashtag1","hashtag2"]},{"1398531433":["hashtag1","hashtag2"]},{"1398531442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398531434, 1398531437, 1398531446, 1398531439, 1398531433, 1398531442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68478178977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:17:03.263949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/42/image_09122025_10_43_04_9651.jpg', '/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_14_9620.jpg', '/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_25_10724.jpg', '/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_34_9527.jpg', '/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_45_10542.jpg', '/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/42/image_09122025_10_43_04_9651.jpg
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_14_9620.jpg
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_25_10724.jpg
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_34_9527.jpg
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_45_10542.jpg
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_43_54_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531473","1398531476","1398531475","1398531490","1398531469","1398531477"],"photo_ids_order":["1398531469","1398531473","1398531475","1398531476","1398531477","1398531490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f1380b100da8aeb9dd6e98cffe222f7.jpg","text":"TemporaryFile(/tmp/multipartBody6412079781019689225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ee4c6a9cd13986f1da3a7f91076787a.jpg","text":"TemporaryFile(/tmp/multipartBody6679495547065751514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/babe0d4387f13f5536dbda723b45fbec.jpg","text":"TemporaryFile(/tmp/multipartBody6673107617787732857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f097a64438d1e06d3f5be0b96c8fa05.jpg","text":"TemporaryFile(/tmp/multipartBody5062590385197141097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b1dcf69b85620f2ce93519fea5425f6.jpg","text":"TemporaryFile(/tmp/multipartBody2074766087755895459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f67039b5234e5cfc74448f9c4a7b609b.jpg","text":"TemporaryFile(/tmp/multipartBody5352893148494639542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304283880,"filename":"image_09122025_10_43_45_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531475","file1":"1398531473","file0":"1398531469","file4":"1398531477","file5":"1398531490","file3":"1398531476"},"map_files_photo_id_array":[{"photo_id":"1398531490","filename":"file5"},{"photo_id":"1398531475","filename":"file2"},{"photo_id":"1398531477","filename":"file4"},{"photo_id":"1398531473","filename":"file1"},{"photo_id":"1398531469","filename":"file0"},{"photo_id":"1398531476","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398531473":["hashtag1","hashtag2"]},{"1398531476":["hashtag1","hashtag2"]},{"1398531475":["hashtag1","hashtag2"]},{"1398531490":["hashtag1","hashtag2"]},{"1398531469":["hashtag1","hashtag2"]},{"1398531477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398531473, 1398531476, 1398531475, 1398531490, 1398531469, 1398531477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46049404144287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:17:42.550454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_14_2734.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_21_3674.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_23_2602.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_29_3623.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_32_2769.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_35_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_14_2734.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_21_3674.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_23_2602.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_29_3623.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_32_2769.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_35_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531816","1398531738","1398531639","1398531680","1398531778","1398531858"],"photo_ids_order":["1398531639","1398531680","1398531738","1398531778","1398531816","1398531858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4241ffce262d2aa22631f91f778b8c86.jpg","text":"TemporaryFile(/tmp/multipartBody6400542703502307477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_32_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3740056e78154c3a41c7f24c3bec1d62.jpg","text":"TemporaryFile(/tmp/multipartBody2527302584519322301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_23_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38ee9ff31e8179673335af7a96fcb01f.jpg","text":"TemporaryFile(/tmp/multipartBody650377614045546916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_14_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e684f5b41b8fdb99af73f9dce787bf04.jpg","text":"TemporaryFile(/tmp/multipartBody3032967123378639492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_21_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f19348357ef859df29707d8396fa96ca.jpg","text":"TemporaryFile(/tmp/multipartBody7368950700667288473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_29_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c0296446aa6e8644dc8847922005fec.jpg","text":"TemporaryFile(/tmp/multipartBody6001048461100932335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304323564,"filename":"image_01112025_19_27_35_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531738","file1":"1398531680","file0":"1398531639","file4":"1398531816","file5":"1398531858","file3":"1398531778"},"map_files_photo_id_array":[{"photo_id":"1398531858","filename":"file5"},{"photo_id":"1398531738","filename":"file2"},{"photo_id":"1398531816","filename":"file4"},{"photo_id":"1398531680","filename":"file1"},{"photo_id":"1398531639","filename":"file0"},{"photo_id":"1398531778","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398531816":["hashtag1","hashtag2"]},{"1398531738":["hashtag1","hashtag2"]},{"1398531639":["hashtag1","hashtag2"]},{"1398531680":["hashtag1","hashtag2"]},{"1398531778":["hashtag1","hashtag2"]},{"1398531858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398531816, 1398531738, 1398531639, 1398531680, 1398531778, 1398531858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479426860809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:18:22.865791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/43/image_09122025_10_44_04_9618.jpg', '/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_15_10609.jpg', '/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_24_9699.jpg', '/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_34_9724.jpg', '/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_45_10695.jpg', '/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/43/image_09122025_10_44_04_9618.jpg
/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_15_10609.jpg
/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_24_9699.jpg
/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_34_9724.jpg
/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_45_10695.jpg
/home/pi/Desktop/images/09122025/10/44/image_09122025_10_44_54_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398531992","1398531899","1398531952","1398531904","1398531913","1398531897"],"photo_ids_order":["1398531897","1398531899","1398531904","1398531913","1398531952","1398531992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea1246090b476af967f3b47afa400d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8224394545078375956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45c3a08e1bce7d53e50364e3e12a893a.jpg","text":"TemporaryFile(/tmp/multipartBody6410169422198597802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ba5d77e85d754cfe582d64f19dd53a7.jpg","text":"TemporaryFile(/tmp/multipartBody1863759588987659695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7acebc15f5c32b2687b148d6f438107c.jpg","text":"TemporaryFile(/tmp/multipartBody9216678366267540706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f073494f98f7a832fc9d943a45267b71.jpg","text":"TemporaryFile(/tmp/multipartBody1046510912030896170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c43cdcb2c77f8f61da31fa648e978cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7937049629939912058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304363443,"filename":"image_09122025_10_44_04_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398531904","file1":"1398531899","file0":"1398531897","file4":"1398531952","file5":"1398531992","file3":"1398531913"},"map_files_photo_id_array":[{"photo_id":"1398531992","filename":"file5"},{"photo_id":"1398531904","filename":"file2"},{"photo_id":"1398531952","filename":"file4"},{"photo_id":"1398531899","filename":"file1"},{"photo_id":"1398531897","filename":"file0"},{"photo_id":"1398531913","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398531992":["hashtag1","hashtag2"]},{"1398531899":["hashtag1","hashtag2"]},{"1398531952":["hashtag1","hashtag2"]},{"1398531904":["hashtag1","hashtag2"]},{"1398531913":["hashtag1","hashtag2"]},{"1398531897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398531992, 1398531899, 1398531952, 1398531904, 1398531913, 1398531897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87667369842529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:19:02.825025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_14_10058.jpg', '/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_24_10711.jpg', '/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_34_9535.jpg', '/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_44_9822.jpg', '/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_55_10859.jpg', '/home/pi/Desktop/images/09122025/10/45/image_09122025_10_46_04_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_14_10058.jpg
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_24_10711.jpg
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_34_9535.jpg
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_44_9822.jpg
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_45_55_10859.jpg
/home/pi/Desktop/images/09122025/10/45/image_09122025_10_46_04_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398532097","1398532055","1398532049","1398532064","1398532132","1398532053"],"photo_ids_order":["1398532049","1398532053","1398532055","1398532064","1398532097","1398532132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f17d474f1f9d17816c7bc041700204ad.jpg","text":"TemporaryFile(/tmp/multipartBody249673821915106381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_45_55_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae5748bb78385a8f9e75241ddae34212.jpg","text":"TemporaryFile(/tmp/multipartBody4079782151011998085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_45_34_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6f77fd17bdee2db1333397b9d4f918c.jpg","text":"TemporaryFile(/tmp/multipartBody4684277572532526363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_45_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e538b60003dd61411717ebac813cbe92.jpg","text":"TemporaryFile(/tmp/multipartBody4059858598462765709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_45_44_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b5197f7aed06d95341fb777d27d57eb.jpg","text":"TemporaryFile(/tmp/multipartBody3282748068459615153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_46_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/185c09cbfb15180db95b33285c112bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8732566685814682229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304403567,"filename":"image_09122025_10_45_24_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398532055","file1":"1398532053","file0":"1398532049","file4":"1398532097","file5":"1398532132","file3":"1398532064"},"map_files_photo_id_array":[{"photo_id":"1398532132","filename":"file5"},{"photo_id":"1398532055","filename":"file2"},{"photo_id":"1398532097","filename":"file4"},{"photo_id":"1398532053","filename":"file1"},{"photo_id":"1398532049","filename":"file0"},{"photo_id":"1398532064","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398532097":["hashtag1","hashtag2"]},{"1398532055":["hashtag1","hashtag2"]},{"1398532049":["hashtag1","hashtag2"]},{"1398532064":["hashtag1","hashtag2"]},{"1398532132":["hashtag1","hashtag2"]},{"1398532053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398532097, 1398532055, 1398532049, 1398532064, 1398532132, 1398532053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.838271617889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:19:41.921474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_38_3623.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_41_2785.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_44_2722.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_48_3735.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_50_2567.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_53_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_38_3623.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_41_2785.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_44_2722.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_48_3735.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_50_2567.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_53_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398532238","1398532205","1398532252","1398532242","1398532236","1398532233"],"photo_ids_order":["1398532205","1398532233","1398532236","1398532238","1398532242","1398532252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13f0e10cf5202309813713c979d85808.jpg","text":"TemporaryFile(/tmp/multipartBody241164823327585972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_48_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1b9cd7c92982e20584ccfda28cfd833.jpg","text":"TemporaryFile(/tmp/multipartBody8906447064461533955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_38_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ebe706db6a39fb9e57ca67972b27460.jpg","text":"TemporaryFile(/tmp/multipartBody6100552305091771601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_53_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f19c7093520e872010dd8d5f9966fa14.jpg","text":"TemporaryFile(/tmp/multipartBody6748128482595585564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_50_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6dab05277bae63e8660b546f0cb5dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7832966262504253100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_44_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb16a1a836453daa0044e538d316e80d.jpg","text":"TemporaryFile(/tmp/multipartBody9130163533362573676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304443609,"filename":"image_01112025_19_27_41_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398532236","file1":"1398532233","file0":"1398532205","file4":"1398532242","file5":"1398532252","file3":"1398532238"},"map_files_photo_id_array":[{"photo_id":"1398532252","filename":"file5"},{"photo_id":"1398532236","filename":"file2"},{"photo_id":"1398532242","filename":"file4"},{"photo_id":"1398532233","filename":"file1"},{"photo_id":"1398532205","filename":"file0"},{"photo_id":"1398532238","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398532238":["hashtag1","hashtag2"]},{"1398532205":["hashtag1","hashtag2"]},{"1398532252":["hashtag1","hashtag2"]},{"1398532242":["hashtag1","hashtag2"]},{"1398532236":["hashtag1","hashtag2"]},{"1398532233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398532238, 1398532205, 1398532252, 1398532242, 1398532236, 1398532233)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.22545599937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:20:33.848247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_14_9783.jpg', '/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_25_10751.jpg', '/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_34_9590.jpg', '/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_44_9881.jpg', '/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_55_10509.jpg', '/home/pi/Desktop/images/08122025/13/16/image_08122025_13_17_04_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_14_9783.jpg
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_25_10751.jpg
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_34_9590.jpg
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_44_9881.jpg
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_16_55_10509.jpg
/home/pi/Desktop/images/08122025/13/16/image_08122025_13_17_04_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398532577","1398532582","1398532560","1398532521","1398532580","1398532481"],"photo_ids_order":["1398532481","1398532521","1398532560","1398532577","1398532580","1398532582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc737ef4de77253903c387787a5bf73b.jpg","text":"TemporaryFile(/tmp/multipartBody6738249901769457499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_16_44_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b31f7993246e33cd83e283e15881fb7e.jpg","text":"TemporaryFile(/tmp/multipartBody9026772842349034977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_17_04_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6b0616d9d58cefda582e720c9ff00db.jpg","text":"TemporaryFile(/tmp/multipartBody4196749890015402064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_16_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67dca48064a3bd38e7cf70f6d9c985b2.jpg","text":"TemporaryFile(/tmp/multipartBody5362669964355036931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_16_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e6c942be55d95e5b5747170d7173f64.jpg","text":"TemporaryFile(/tmp/multipartBody2198921973503703768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_16_55_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab6d75c880f90fc87d18a044791436fe.jpg","text":"TemporaryFile(/tmp/multipartBody1341838161963935386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304495627,"filename":"image_08122025_13_16_14_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398532560","file1":"1398532521","file0":"1398532481","file4":"1398532580","file5":"1398532582","file3":"1398532577"},"map_files_photo_id_array":[{"photo_id":"1398532582","filename":"file5"},{"photo_id":"1398532560","filename":"file2"},{"photo_id":"1398532580","filename":"file4"},{"photo_id":"1398532521","filename":"file1"},{"photo_id":"1398532481","filename":"file0"},{"photo_id":"1398532577","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398532577":["hashtag1","hashtag2"]},{"1398532582":["hashtag1","hashtag2"]},{"1398532560":["hashtag1","hashtag2"]},{"1398532521":["hashtag1","hashtag2"]},{"1398532580":["hashtag1","hashtag2"]},{"1398532481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398532577, 1398532582, 1398532560, 1398532521, 1398532580, 1398532481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3232421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:21:14.737161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_15_10608.jpg', '/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_25_9626.jpg', '/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_34_9645.jpg', '/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_45_10725.jpg', '/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_55_10040.jpg', '/home/pi/Desktop/images/08122025/13/17/image_08122025_13_18_05_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_15_10608.jpg
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_25_9626.jpg
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_34_9645.jpg
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_45_10725.jpg
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_17_55_10040.jpg
/home/pi/Desktop/images/08122025/13/17/image_08122025_13_18_05_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398532973","1398533008","1398532869","1398532860","1398532872","1398532902"],"photo_ids_order":["1398532860","1398532869","1398532872","1398532902","1398532973","1398533008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47bf6b9a409101f10a290d290276253c.jpg","text":"TemporaryFile(/tmp/multipartBody308576269609311949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_17_55_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79759456a45b8bf68addb1a4856085bf.jpg","text":"TemporaryFile(/tmp/multipartBody3392234152758003862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_18_05_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bd51a6fab6d759d12a43440493e8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody89867863467069247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_17_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d268b530be8586c9657d4b1131152d03.jpg","text":"TemporaryFile(/tmp/multipartBody1696441140068705483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_17_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1f85c75e6aa35adc493b1ef1b11c374.jpg","text":"TemporaryFile(/tmp/multipartBody7363381705917498973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_17_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4ae0e3a496431ce1e126455c82a544a.jpg","text":"TemporaryFile(/tmp/multipartBody2197632230323081180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304536575,"filename":"image_08122025_13_17_45_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398532872","file1":"1398532869","file0":"1398532860","file4":"1398532973","file5":"1398533008","file3":"1398532902"},"map_files_photo_id_array":[{"photo_id":"1398533008","filename":"file5"},{"photo_id":"1398532872","filename":"file2"},{"photo_id":"1398532973","filename":"file4"},{"photo_id":"1398532869","filename":"file1"},{"photo_id":"1398532860","filename":"file0"},{"photo_id":"1398532902","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398532973":["hashtag1","hashtag2"]},{"1398533008":["hashtag1","hashtag2"]},{"1398532869":["hashtag1","hashtag2"]},{"1398532860":["hashtag1","hashtag2"]},{"1398532872":["hashtag1","hashtag2"]},{"1398532902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398532973, 1398533008, 1398532869, 1398532860, 1398532872, 1398532902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1960551738739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:22:02.636214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_14_9558.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_24_10605.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_34_9598.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_44_9807.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_54_9823.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_47_04_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_14_9558.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_24_10605.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_34_9598.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_44_9807.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_54_9823.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_47_04_10632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49628734588623047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:22:12.292337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_14_9621.jpg', '/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_25_10652.jpg', '/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_34_9540.jpg', '/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_44_9718.jpg', '/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_55_10666.jpg', '/home/pi/Desktop/images/08122025/13/18/image_08122025_13_19_04_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_14_9621.jpg
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_25_10652.jpg
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_34_9540.jpg
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_44_9718.jpg
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_18_55_10666.jpg
/home/pi/Desktop/images/08122025/13/18/image_08122025_13_19_04_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533156","1398533167","1398533163","1398533159","1398533150","1398533153"],"photo_ids_order":["1398533150","1398533153","1398533156","1398533159","1398533163","1398533167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fea92de47d15b0491c924a90adc3e8a0.jpg","text":"TemporaryFile(/tmp/multipartBody977327160924750822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_18_34_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/331b75fa28159d303ec541eda62cebf7.jpg","text":"TemporaryFile(/tmp/multipartBody1531965376483408204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_19_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ed448ca7246596d7dc640af21b031cd.jpg","text":"TemporaryFile(/tmp/multipartBody7118602111379406815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_18_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f29ae79d33671ca6e5c7e5c122254785.jpg","text":"TemporaryFile(/tmp/multipartBody4850642553478538893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_18_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89e4d102aafe1b91fa31a7b4b61b5b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2410476803145637237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_18_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be6da3c04721468274a50fcb0a224a40.jpg","text":"TemporaryFile(/tmp/multipartBody3000693791346746601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304594067,"filename":"image_08122025_13_18_25_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533156","file1":"1398533153","file0":"1398533150","file4":"1398533163","file5":"1398533167","file3":"1398533159"},"map_files_photo_id_array":[{"photo_id":"1398533167","filename":"file5"},{"photo_id":"1398533156","filename":"file2"},{"photo_id":"1398533163","filename":"file4"},{"photo_id":"1398533153","filename":"file1"},{"photo_id":"1398533150","filename":"file0"},{"photo_id":"1398533159","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398533156":["hashtag1","hashtag2"]},{"1398533167":["hashtag1","hashtag2"]},{"1398533163":["hashtag1","hashtag2"]},{"1398533159":["hashtag1","hashtag2"]},{"1398533150":["hashtag1","hashtag2"]},{"1398533153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398533156, 1398533167, 1398533163, 1398533159, 1398533150, 1398533153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12891507148743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:23:03.084201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_14_9558.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_24_10605.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_34_9598.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_44_9807.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_54_9823.jpg', '/home/pi/Desktop/images/09122025/10/46/image_09122025_10_47_04_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_14_9558.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_24_10605.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_34_9598.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_44_9807.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_46_54_9823.jpg
/home/pi/Desktop/images/09122025/10/46/image_09122025_10_47_04_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533191","1398533185","1398533187","1398533181","1398533195","1398533189"],"photo_ids_order":["1398533181","1398533185","1398533187","1398533189","1398533191","1398533195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c5236c24aafd0daecc5f4eab13b8a46.jpg","text":"TemporaryFile(/tmp/multipartBody5454137034750664468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_46_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5970b4ff86affff4656c8b58c104e51.jpg","text":"TemporaryFile(/tmp/multipartBody1144513856892112258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_46_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a5294764026a8d67624f32781410418.jpg","text":"TemporaryFile(/tmp/multipartBody1694232838650194147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_46_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87ebdbaa1526817003dff34c5b5b44d9.jpg","text":"TemporaryFile(/tmp/multipartBody2609818746264415810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_46_14_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a28a54d97195411f645c3e5e2e404b10.jpg","text":"TemporaryFile(/tmp/multipartBody8536003201045121126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_47_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d2c880e2611f261e36cadc8728a56a5.jpg","text":"TemporaryFile(/tmp/multipartBody4382464931734772301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304643729,"filename":"image_09122025_10_46_44_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533187","file1":"1398533185","file0":"1398533181","file4":"1398533191","file5":"1398533195","file3":"1398533189"},"map_files_photo_id_array":[{"photo_id":"1398533195","filename":"file5"},{"photo_id":"1398533187","filename":"file2"},{"photo_id":"1398533191","filename":"file4"},{"photo_id":"1398533185","filename":"file1"},{"photo_id":"1398533181","filename":"file0"},{"photo_id":"1398533189","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533191":["hashtag1","hashtag2"]},{"1398533185":["hashtag1","hashtag2"]},{"1398533187":["hashtag1","hashtag2"]},{"1398533181":["hashtag1","hashtag2"]},{"1398533195":["hashtag1","hashtag2"]},{"1398533189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533191, 1398533185, 1398533187, 1398533181, 1398533195, 1398533189)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.77677130699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:24:06.512716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_14_9760.jpg', '/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_24_9782.jpg', '/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_34_10661.jpg', '/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_44_9643.jpg', '/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_54_9710.jpg', '/home/pi/Desktop/images/09122025/10/47/image_09122025_10_48_04_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_14_9760.jpg
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_24_9782.jpg
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_34_10661.jpg
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_44_9643.jpg
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_47_54_9710.jpg
/home/pi/Desktop/images/09122025/10/47/image_09122025_10_48_04_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533228","1398533236","1398533230","1398533233","1398533226","1398533231"],"photo_ids_order":["1398533226","1398533228","1398533230","1398533231","1398533233","1398533236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa5d70e1a7a7a28b0a2e0d33a4b941d5.jpg","text":"TemporaryFile(/tmp/multipartBody2656659952119801853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_47_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f3894ff1635619eb9fa7c4a7a045dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6477909251839905214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_48_04_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4fdbdd3e196ae5df8b541c266c427b5.jpg","text":"TemporaryFile(/tmp/multipartBody6200378051624354623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_47_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0a94b2882e75eb86fc65cf9b4886bf2.jpg","text":"TemporaryFile(/tmp/multipartBody26988516026033453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_47_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6fea0535bc366a46e119bc87af04094d.jpg","text":"TemporaryFile(/tmp/multipartBody5400226775726538911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_47_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38e32e4b56a97c146046fcc15c7a954a.jpg","text":"TemporaryFile(/tmp/multipartBody6815716105147893782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304707108,"filename":"image_09122025_10_47_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533230","file1":"1398533228","file0":"1398533226","file4":"1398533233","file5":"1398533236","file3":"1398533231"},"map_files_photo_id_array":[{"photo_id":"1398533236","filename":"file5"},{"photo_id":"1398533230","filename":"file2"},{"photo_id":"1398533233","filename":"file4"},{"photo_id":"1398533228","filename":"file1"},{"photo_id":"1398533226","filename":"file0"},{"photo_id":"1398533231","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533228":["hashtag1","hashtag2"]},{"1398533236":["hashtag1","hashtag2"]},{"1398533230":["hashtag1","hashtag2"]},{"1398533233":["hashtag1","hashtag2"]},{"1398533226":["hashtag1","hashtag2"]},{"1398533231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533228, 1398533236, 1398533230, 1398533233, 1398533226, 1398533231)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.672173500061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:25:03.271812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_14_9607.jpg', '/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_24_9652.jpg', '/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_34_10760.jpg', '/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_44_9712.jpg', '/home/pi/Desktop/images/09122025/10/48/image_09122025_10_49_04_9731.jpg', '/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_14_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_14_9607.jpg
/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_24_9652.jpg
/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_34_10760.jpg
/home/pi/Desktop/images/09122025/10/48/image_09122025_10_48_44_9712.jpg
/home/pi/Desktop/images/09122025/10/48/image_09122025_10_49_04_9731.jpg
/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_14_10826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533272","1398533260","1398533274","1398533270","1398533264","1398533267"],"photo_ids_order":["1398533260","1398533264","1398533267","1398533270","1398533272","1398533274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72fd55b40699c3beb452ec1f267f3c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2748948163735697541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_49_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e146c9f91c1f2bb121053d6d16d92559.jpg","text":"TemporaryFile(/tmp/multipartBody7996873688541907389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_48_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23aa20d9bbf43efbe2345ebc01ca538d.jpg","text":"TemporaryFile(/tmp/multipartBody1508410646125234513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_49_14_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1e7e1f50fe9750fb10657795b5e1194.jpg","text":"TemporaryFile(/tmp/multipartBody7691090197272024415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_48_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8dbaa3684c197292db98915ac60e3336.jpg","text":"TemporaryFile(/tmp/multipartBody8863261849483799633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_48_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2386b026f627f411d6570ee8c13ad3b5.jpg","text":"TemporaryFile(/tmp/multipartBody6703811971370418574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304763900,"filename":"image_09122025_10_48_34_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533267","file1":"1398533264","file0":"1398533260","file4":"1398533272","file5":"1398533274","file3":"1398533270"},"map_files_photo_id_array":[{"photo_id":"1398533274","filename":"file5"},{"photo_id":"1398533267","filename":"file2"},{"photo_id":"1398533272","filename":"file4"},{"photo_id":"1398533264","filename":"file1"},{"photo_id":"1398533260","filename":"file0"},{"photo_id":"1398533270","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533272":["hashtag1","hashtag2"]},{"1398533260":["hashtag1","hashtag2"]},{"1398533274":["hashtag1","hashtag2"]},{"1398533270":["hashtag1","hashtag2"]},{"1398533264":["hashtag1","hashtag2"]},{"1398533267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533272, 1398533260, 1398533274, 1398533270, 1398533264, 1398533267)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.10217094421387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:26:03.675715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_24_9780.jpg', '/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_34_9812.jpg', '/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_44_10206.jpg', '/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_54_9609.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_15_10053.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_25_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_24_9780.jpg
/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_34_9812.jpg
/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_44_10206.jpg
/home/pi/Desktop/images/09122025/10/49/image_09122025_10_49_54_9609.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_15_10053.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_25_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533299","1398533296","1398533292","1398533289","1398533294","1398533297"],"photo_ids_order":["1398533289","1398533292","1398533294","1398533296","1398533297","1398533299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad71dcc2017bfe48aa929cd8708d2096.jpg","text":"TemporaryFile(/tmp/multipartBody3758807795816662261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_50_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/785d484a50e7be2d55d48421d3a76a50.jpg","text":"TemporaryFile(/tmp/multipartBody2484907237062272297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_49_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e277a031d4ac4cfca06571b99287339.jpg","text":"TemporaryFile(/tmp/multipartBody4205850847093588238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_49_34_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18bc4e1a202e2e36c90cab12b304e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody1524609154454298335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_49_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abafc2cfdd7ea22955b4f491664a0376.jpg","text":"TemporaryFile(/tmp/multipartBody6090036378804304663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_49_44_10206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f13c06295317e10ae918863b99c2cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody1311172939400373257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304826515,"filename":"image_09122025_10_50_15_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533294","file1":"1398533292","file0":"1398533289","file4":"1398533297","file5":"1398533299","file3":"1398533296"},"map_files_photo_id_array":[{"photo_id":"1398533299","filename":"file5"},{"photo_id":"1398533294","filename":"file2"},{"photo_id":"1398533297","filename":"file4"},{"photo_id":"1398533292","filename":"file1"},{"photo_id":"1398533289","filename":"file0"},{"photo_id":"1398533296","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533299":["hashtag1","hashtag2"]},{"1398533296":["hashtag1","hashtag2"]},{"1398533292":["hashtag1","hashtag2"]},{"1398533289":["hashtag1","hashtag2"]},{"1398533294":["hashtag1","hashtag2"]},{"1398533297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533299, 1398533296, 1398533292, 1398533289, 1398533294, 1398533297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67511439323425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-12-09 19:27:08.415510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:27:22.640606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_45_9750.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_55_10646.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_51_05_9782.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_15_9692.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_26_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_45_9750.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_55_10646.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_51_05_9782.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_15_9692.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_26_10706.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4249701499938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:27:32.652609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_15_10606.jpg', '/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_25_9547.jpg', '/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_34_9654.jpg', '/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_45_10612.jpg', '/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_55_9722.jpg', '/home/pi/Desktop/images/08122025/13/19/image_08122025_13_20_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_15_10606.jpg
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_25_9547.jpg
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_34_9654.jpg
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_45_10612.jpg
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_55_9722.jpg
/home/pi/Desktop/images/08122025/13/19/image_08122025_13_20_04_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533353","1398533350","1398533364","1398533367","1398533361","1398533357"],"photo_ids_order":["1398533350","1398533353","1398533357","1398533361","1398533364","1398533367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecf2bf59b0a7d1127dca457bbd1f599a.jpg","text":"TemporaryFile(/tmp/multipartBody2806369102468601344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_19_25_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2dad706adee3740901569cddb9ebe4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6940229443105163141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_19_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56414972aa73f75f3cd7f1e7add037ef.jpg","text":"TemporaryFile(/tmp/multipartBody617157707268823677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_19_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/616422a6642c65cfd540a6fa946d828c.jpg","text":"TemporaryFile(/tmp/multipartBody5453790823781278627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_20_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3db9fd75720f55f79a0b29b9d35c9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody28634466229991251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_19_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00af393f9e165f40342a2f52ea701c52.jpg","text":"TemporaryFile(/tmp/multipartBody2173431342837659624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765304914414,"filename":"image_08122025_13_19_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533357","file1":"1398533353","file0":"1398533350","file4":"1398533364","file5":"1398533367","file3":"1398533361"},"map_files_photo_id_array":[{"photo_id":"1398533367","filename":"file5"},{"photo_id":"1398533357","filename":"file2"},{"photo_id":"1398533364","filename":"file4"},{"photo_id":"1398533353","filename":"file1"},{"photo_id":"1398533350","filename":"file0"},{"photo_id":"1398533361","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398533353":["hashtag1","hashtag2"]},{"1398533350":["hashtag1","hashtag2"]},{"1398533364":["hashtag1","hashtag2"]},{"1398533367":["hashtag1","hashtag2"]},{"1398533361":["hashtag1","hashtag2"]},{"1398533357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398533353, 1398533350, 1398533364, 1398533367, 1398533361, 1398533357)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1398533357 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/08122025/13/19/image_08122025_13_19_34_9654.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.36598205566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:28:41.914483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9063875675201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:29:03.659491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_45_9750.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_55_10646.jpg', '/home/pi/Desktop/images/09122025/10/50/image_09122025_10_51_05_9782.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_15_9692.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_26_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_35_9642.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_45_9750.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_50_55_10646.jpg
/home/pi/Desktop/images/09122025/10/50/image_09122025_10_51_05_9782.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_15_9692.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_26_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533420","1398533408","1398533417","1398533413","1398533415","1398533418"],"photo_ids_order":["1398533408","1398533413","1398533415","1398533417","1398533418","1398533420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5021083471c9caf7ff65d33390dfcbb.jpg","text":"TemporaryFile(/tmp/multipartBody3480759499009388495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_51_26_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7df5ba93f44676e53440bab615213cb4.jpg","text":"TemporaryFile(/tmp/multipartBody2971954706155272264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_50_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b558c71e8b80e88bdf88b166409cc289.jpg","text":"TemporaryFile(/tmp/multipartBody4336827447393654898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_51_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c7034fedd2f8a324e35c899efa947f4.jpg","text":"TemporaryFile(/tmp/multipartBody5693391461142451788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_50_45_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e544d5691bff4a42273682605c93f82.jpg","text":"TemporaryFile(/tmp/multipartBody5139102649882081316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_50_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcf58ae09911ccf04afe739c067f881d.jpg","text":"TemporaryFile(/tmp/multipartBody9005771421639651053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305004328,"filename":"image_09122025_10_51_15_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533415","file1":"1398533413","file0":"1398533408","file4":"1398533418","file5":"1398533420","file3":"1398533417"},"map_files_photo_id_array":[{"photo_id":"1398533420","filename":"file5"},{"photo_id":"1398533415","filename":"file2"},{"photo_id":"1398533418","filename":"file4"},{"photo_id":"1398533413","filename":"file1"},{"photo_id":"1398533408","filename":"file0"},{"photo_id":"1398533417","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533420":["hashtag1","hashtag2"]},{"1398533408":["hashtag1","hashtag2"]},{"1398533417":["hashtag1","hashtag2"]},{"1398533413":["hashtag1","hashtag2"]},{"1398533415":["hashtag1","hashtag2"]},{"1398533418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533420, 1398533408, 1398533417, 1398533413, 1398533415, 1398533418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66897106170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:29:42.910658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7863583564758301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:30:02.540191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_35_9698.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_45_9508.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_55_10633.jpg', '/home/pi/Desktop/images/09122025/10/51/image_09122025_10_52_05_9634.jpg', '/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_15_9629.jpg', '/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_25_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_35_9698.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_45_9508.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_51_55_10633.jpg
/home/pi/Desktop/images/09122025/10/51/image_09122025_10_52_05_9634.jpg
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_15_9629.jpg
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_25_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533453","1398533455","1398533458","1398533451","1398533445","1398533448"],"photo_ids_order":["1398533445","1398533448","1398533451","1398533453","1398533455","1398533458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9b8fa175fd246c036a5becab2e11a19.jpg","text":"TemporaryFile(/tmp/multipartBody6250091837712917066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_52_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc99269b49394ca240cd9dcb30444f05.jpg","text":"TemporaryFile(/tmp/multipartBody8250465560886400674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_52_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba69314d1273118701ac85a6014ea126.jpg","text":"TemporaryFile(/tmp/multipartBody6160544402122256834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_52_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a247bcf271915cff31b55d4cac9aa79.jpg","text":"TemporaryFile(/tmp/multipartBody8324325117405664961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_51_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0f129ad075ade3cc574a0b66d449e70.jpg","text":"TemporaryFile(/tmp/multipartBody3273286288344091618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_51_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee9e03ae6ff2fefced1a7b6633521636.jpg","text":"TemporaryFile(/tmp/multipartBody4203978679338233275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305067439,"filename":"image_09122025_10_51_45_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533451","file1":"1398533448","file0":"1398533445","file4":"1398533455","file5":"1398533458","file3":"1398533453"},"map_files_photo_id_array":[{"photo_id":"1398533458","filename":"file5"},{"photo_id":"1398533451","filename":"file2"},{"photo_id":"1398533455","filename":"file4"},{"photo_id":"1398533448","filename":"file1"},{"photo_id":"1398533445","filename":"file0"},{"photo_id":"1398533453","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533453":["hashtag1","hashtag2"]},{"1398533455":["hashtag1","hashtag2"]},{"1398533458":["hashtag1","hashtag2"]},{"1398533451":["hashtag1","hashtag2"]},{"1398533445":["hashtag1","hashtag2"]},{"1398533448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533453, 1398533455, 1398533458, 1398533451, 1398533445, 1398533448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.135613441467285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:31:02.932183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_35_9628.jpg', '/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_45_9690.jpg', '/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_55_10549.jpg', '/home/pi/Desktop/images/09122025/10/52/image_09122025_10_53_05_9743.jpg', '/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_15_9714.jpg', '/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_25_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_35_9628.jpg
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_45_9690.jpg
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_52_55_10549.jpg
/home/pi/Desktop/images/09122025/10/52/image_09122025_10_53_05_9743.jpg
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_15_9714.jpg
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_25_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533504","1398533494","1398533509","1398533512","1398533506","1398533502"],"photo_ids_order":["1398533494","1398533502","1398533504","1398533506","1398533509","1398533512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/caf525b30270afe18b1c3f2a0cfda519.jpg","text":"TemporaryFile(/tmp/multipartBody7559296851126848296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_52_55_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11516c5dd1ea375627c18917590876e4.jpg","text":"TemporaryFile(/tmp/multipartBody2456217935682728432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_52_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db1ba8ff346444e57e1df02866c85ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2618935739949262939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_53_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1198c570188bddb71062d6d87a0bdbef.jpg","text":"TemporaryFile(/tmp/multipartBody7876659590160606668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_53_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5437c211c6eae4a1b42d49516733d393.jpg","text":"TemporaryFile(/tmp/multipartBody3319939698330823754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_53_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c2b1caf51af40c949a94dc9d100bbc0.jpg","text":"TemporaryFile(/tmp/multipartBody3314334726072654492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305123589,"filename":"image_09122025_10_52_45_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533504","file1":"1398533502","file0":"1398533494","file4":"1398533509","file5":"1398533512","file3":"1398533506"},"map_files_photo_id_array":[{"photo_id":"1398533512","filename":"file5"},{"photo_id":"1398533504","filename":"file2"},{"photo_id":"1398533509","filename":"file4"},{"photo_id":"1398533502","filename":"file1"},{"photo_id":"1398533494","filename":"file0"},{"photo_id":"1398533506","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533504":["hashtag1","hashtag2"]},{"1398533494":["hashtag1","hashtag2"]},{"1398533509":["hashtag1","hashtag2"]},{"1398533512":["hashtag1","hashtag2"]},{"1398533506":["hashtag1","hashtag2"]},{"1398533502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533504, 1398533494, 1398533509, 1398533512, 1398533506, 1398533502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.312910079956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:31:42.256507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg', '/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_57_3678.jpg
/home/pi/Desktop/images/01112025/19/27/image_01112025_19_27_59_2492.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_02_2812.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_06_3689.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_08_2681.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_15_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533525","1398533527","1398533518","1398533532","1398533529","1398533522"],"photo_ids_order":["1398533518","1398533522","1398533525","1398533527","1398533529","1398533532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82dd648fb76ec5714575a10df74bf723.jpg","text":"TemporaryFile(/tmp/multipartBody5611094374089755346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_28_02_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b02fffcab3d6d558e0c13f76f38e8008.jpg","text":"TemporaryFile(/tmp/multipartBody1286978832753145456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_28_06_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/744e5cfa2ac7b5824f87d9ccfb65363c.jpg","text":"TemporaryFile(/tmp/multipartBody1730422815301620196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_27_57_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2342dbad576317839ecf83eb7c124106.jpg","text":"TemporaryFile(/tmp/multipartBody7085839190314196275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_28_15_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17589f35e8fb09b144499884ef372ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1128513007813546661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_28_08_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3774221b658f05e1215efc42f8c4edbd.jpg","text":"TemporaryFile(/tmp/multipartBody6119772150148835082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305163112,"filename":"image_01112025_19_27_59_2492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533525","file1":"1398533522","file0":"1398533518","file4":"1398533529","file5":"1398533532","file3":"1398533527"},"map_files_photo_id_array":[{"photo_id":"1398533532","filename":"file5"},{"photo_id":"1398533525","filename":"file2"},{"photo_id":"1398533529","filename":"file4"},{"photo_id":"1398533522","filename":"file1"},{"photo_id":"1398533518","filename":"file0"},{"photo_id":"1398533527","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398533525":["hashtag1","hashtag2"]},{"1398533527":["hashtag1","hashtag2"]},{"1398533518":["hashtag1","hashtag2"]},{"1398533532":["hashtag1","hashtag2"]},{"1398533529":["hashtag1","hashtag2"]},{"1398533522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398533525, 1398533527, 1398533518, 1398533532, 1398533529, 1398533522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69461488723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:32:22.475894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_35_9755.jpg', '/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_45_9651.jpg', '/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_55_10667.jpg', '/home/pi/Desktop/images/09122025/10/53/image_09122025_10_54_05_9609.jpg', '/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_15_9734.jpg', '/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_25_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_35_9755.jpg
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_45_9651.jpg
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_53_55_10667.jpg
/home/pi/Desktop/images/09122025/10/53/image_09122025_10_54_05_9609.jpg
/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_15_9734.jpg
/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_25_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533546","1398533548","1398533557","1398533544","1398533553","1398533541"],"photo_ids_order":["1398533541","1398533544","1398533546","1398533548","1398533553","1398533557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54e26facdbde06714df737d302d92c97.jpg","text":"TemporaryFile(/tmp/multipartBody8817103018891370151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_53_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52a063335c3705ae377f42256a794281.jpg","text":"TemporaryFile(/tmp/multipartBody6785141462368652129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_54_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/282919b7b9c515969c1aa961eae0089f.jpg","text":"TemporaryFile(/tmp/multipartBody7605836926317021514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_54_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26808135280c01babaa744dce554ba86.jpg","text":"TemporaryFile(/tmp/multipartBody4729359144314493490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_53_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e86706afdc81a7112de58d7be305123d.jpg","text":"TemporaryFile(/tmp/multipartBody5506952638146173696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_54_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7789d244d90153fc3e0a13ec76935d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2879985129094705252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305203069,"filename":"image_09122025_10_53_35_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533546","file1":"1398533544","file0":"1398533541","file4":"1398533553","file5":"1398533557","file3":"1398533548"},"map_files_photo_id_array":[{"photo_id":"1398533557","filename":"file5"},{"photo_id":"1398533546","filename":"file2"},{"photo_id":"1398533553","filename":"file4"},{"photo_id":"1398533544","filename":"file1"},{"photo_id":"1398533541","filename":"file0"},{"photo_id":"1398533548","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533546":["hashtag1","hashtag2"]},{"1398533548":["hashtag1","hashtag2"]},{"1398533557":["hashtag1","hashtag2"]},{"1398533544":["hashtag1","hashtag2"]},{"1398533553":["hashtag1","hashtag2"]},{"1398533541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533546, 1398533548, 1398533557, 1398533544, 1398533553, 1398533541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91781210899353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:33:03.445212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_35_9589.jpg', '/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_45_9699.jpg', '/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_55_10710.jpg', '/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_14_10053.jpg', '/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_25_10591.jpg', '/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_35_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_35_9589.jpg
/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_45_9699.jpg
/home/pi/Desktop/images/09122025/10/54/image_09122025_10_54_55_10710.jpg
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_14_10053.jpg
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_25_10591.jpg
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_35_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533584","1398533574","1398533598","1398533601","1398533594","1398533570"],"photo_ids_order":["1398533570","1398533574","1398533584","1398533594","1398533598","1398533601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f1fccd21f68a1dca8ffecb2d7bbd47d.jpg","text":"TemporaryFile(/tmp/multipartBody3927097444007966078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_54_55_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db3d781c2c630e5330ca061ddc672b66.jpg","text":"TemporaryFile(/tmp/multipartBody6126865524176048152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_54_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99cae26c7c217548958726ac0164c164.jpg","text":"TemporaryFile(/tmp/multipartBody2732344955633206541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_55_25_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/75a909091709f67d6d8b8995f7b70a68.jpg","text":"TemporaryFile(/tmp/multipartBody5759523265025320626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_55_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2e1d96648f119c448705578c19519fd.jpg","text":"TemporaryFile(/tmp/multipartBody2479852445197911548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_55_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af336dd95960d12d92957f5f1c872603.jpg","text":"TemporaryFile(/tmp/multipartBody8436800230924327142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305244089,"filename":"image_09122025_10_54_35_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533584","file1":"1398533574","file0":"1398533570","file4":"1398533598","file5":"1398533601","file3":"1398533594"},"map_files_photo_id_array":[{"photo_id":"1398533601","filename":"file5"},{"photo_id":"1398533584","filename":"file2"},{"photo_id":"1398533598","filename":"file4"},{"photo_id":"1398533574","filename":"file1"},{"photo_id":"1398533570","filename":"file0"},{"photo_id":"1398533594","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533584":["hashtag1","hashtag2"]},{"1398533574":["hashtag1","hashtag2"]},{"1398533598":["hashtag1","hashtag2"]},{"1398533601":["hashtag1","hashtag2"]},{"1398533594":["hashtag1","hashtag2"]},{"1398533570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533584, 1398533574, 1398533598, 1398533601, 1398533594, 1398533570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87230372428894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:33:42.631251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_17_2630.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_20_2743.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_23_2729.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_27_4673.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_29_1622.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_33_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_17_2630.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_20_2743.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_23_2729.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_27_4673.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_29_1622.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_33_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533612","1398533647","1398533608","1398533697","1398533682","1398533700"],"photo_ids_order":["1398533608","1398533612","1398533647","1398533682","1398533697","1398533700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e6e88ece4b3d83dacdf96f0f4d67e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4059053933779356675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_20_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ea6a02cf982dc2600172d5c8766fab0.jpg","text":"TemporaryFile(/tmp/multipartBody8379516263606205927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_23_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb68cf3b3bc61765a8aefcc89b17ccf6.jpg","text":"TemporaryFile(/tmp/multipartBody3898159407323455859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_17_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4ff2a2acba49c02e3df8a4a3a31b853.jpg","text":"TemporaryFile(/tmp/multipartBody7251128757999524052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_29_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/367d4e281daf3f0ea014e3ca4d91edba.jpg","text":"TemporaryFile(/tmp/multipartBody1156636146403340760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_27_4673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d8f2b7e6f716fc95dd04d9e21c263b2.jpg","text":"TemporaryFile(/tmp/multipartBody8469976922925054627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305283610,"filename":"image_01112025_19_28_33_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533647","file1":"1398533612","file0":"1398533608","file4":"1398533697","file5":"1398533700","file3":"1398533682"},"map_files_photo_id_array":[{"photo_id":"1398533700","filename":"file5"},{"photo_id":"1398533647","filename":"file2"},{"photo_id":"1398533697","filename":"file4"},{"photo_id":"1398533612","filename":"file1"},{"photo_id":"1398533608","filename":"file0"},{"photo_id":"1398533682","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398533612":["hashtag1","hashtag2"]},{"1398533647":["hashtag1","hashtag2"]},{"1398533608":["hashtag1","hashtag2"]},{"1398533697":["hashtag1","hashtag2"]},{"1398533682":["hashtag1","hashtag2"]},{"1398533700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398533612, 1398533647, 1398533608, 1398533697, 1398533682, 1398533700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95642805099487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:34:21.857241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_44_9639.jpg', '/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_55_10703.jpg', '/home/pi/Desktop/images/09122025/10/55/image_09122025_10_56_05_9642.jpg', '/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_15_10592.jpg', '/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_25_9602.jpg', '/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_44_9639.jpg
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_55_55_10703.jpg
/home/pi/Desktop/images/09122025/10/55/image_09122025_10_56_05_9642.jpg
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_15_10592.jpg
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_25_9602.jpg
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_34_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533744","1398533731","1398533742","1398533736","1398533739","1398533753"],"photo_ids_order":["1398533731","1398533736","1398533739","1398533742","1398533744","1398533753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a8e005940a7ed983f257cbb27126f4f.jpg","text":"TemporaryFile(/tmp/multipartBody1823529014193597215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_56_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d59208b898f55cd88320145d3646a62.jpg","text":"TemporaryFile(/tmp/multipartBody6779627309681943124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_55_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9936762a2a8e5227a3b4ef6432f0cae8.jpg","text":"TemporaryFile(/tmp/multipartBody5944518007243558891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_56_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa4aac28dcaa7ca702c6c456d293c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody9058576424425571190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_55_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e628666c8bcd3e4bbec142464ad68dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6301782695999391762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_56_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2768bde94d92938e1fdeb9ca2773ca34.jpg","text":"TemporaryFile(/tmp/multipartBody1133790609944186653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305322424,"filename":"image_09122025_10_56_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533739","file1":"1398533736","file0":"1398533731","file4":"1398533744","file5":"1398533753","file3":"1398533742"},"map_files_photo_id_array":[{"photo_id":"1398533753","filename":"file5"},{"photo_id":"1398533739","filename":"file2"},{"photo_id":"1398533744","filename":"file4"},{"photo_id":"1398533736","filename":"file1"},{"photo_id":"1398533731","filename":"file0"},{"photo_id":"1398533742","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533744":["hashtag1","hashtag2"]},{"1398533731":["hashtag1","hashtag2"]},{"1398533742":["hashtag1","hashtag2"]},{"1398533736":["hashtag1","hashtag2"]},{"1398533739":["hashtag1","hashtag2"]},{"1398533753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533744, 1398533731, 1398533742, 1398533736, 1398533739, 1398533753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76057505607605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:35:02.802274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_45_10664.jpg', '/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_55_9752.jpg', '/home/pi/Desktop/images/09122025/10/56/image_09122025_10_57_05_9706.jpg', '/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_14_9699.jpg', '/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_25_10678.jpg', '/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_35_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_45_10664.jpg
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_56_55_9752.jpg
/home/pi/Desktop/images/09122025/10/56/image_09122025_10_57_05_9706.jpg
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_14_9699.jpg
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_25_10678.jpg
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_35_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533767","1398533777","1398533870","1398533792","1398533771","1398533774"],"photo_ids_order":["1398533767","1398533771","1398533774","1398533777","1398533792","1398533870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f001273ab33c518ba79aebd6ee3551c0.jpg","text":"TemporaryFile(/tmp/multipartBody680925273172568389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_56_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d797b647a774abda0c2bc8c905f4399.jpg","text":"TemporaryFile(/tmp/multipartBody785997837781770946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_57_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af7b6b5fbf7dc1aebce7df9b82b89d36.jpg","text":"TemporaryFile(/tmp/multipartBody4017119845041304247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_57_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6b68e5346e8d960d85d677847615418.jpg","text":"TemporaryFile(/tmp/multipartBody646532167443285770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_57_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f20790ed3a43c2c4d89614b9efea3d67.jpg","text":"TemporaryFile(/tmp/multipartBody973407542911258349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_56_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/657136f04a7aa82911adaec8c8b34be4.jpg","text":"TemporaryFile(/tmp/multipartBody1734657298077838570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305363457,"filename":"image_09122025_10_57_05_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533774","file1":"1398533771","file0":"1398533767","file4":"1398533792","file5":"1398533870","file3":"1398533777"},"map_files_photo_id_array":[{"photo_id":"1398533870","filename":"file5"},{"photo_id":"1398533774","filename":"file2"},{"photo_id":"1398533792","filename":"file4"},{"photo_id":"1398533771","filename":"file1"},{"photo_id":"1398533767","filename":"file0"},{"photo_id":"1398533777","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398533767":["hashtag1","hashtag2"]},{"1398533777":["hashtag1","hashtag2"]},{"1398533870":["hashtag1","hashtag2"]},{"1398533792":["hashtag1","hashtag2"]},{"1398533771":["hashtag1","hashtag2"]},{"1398533774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398533767, 1398533777, 1398533870, 1398533792, 1398533771, 1398533774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12825417518616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:35:42.164439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_38_2676.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_41_2601.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_44_3838.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_47_2730.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_50_2562.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_54_3826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_38_2676.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_41_2601.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_44_3838.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_47_2730.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_50_2562.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_54_3826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533942","1398533938","1398533946","1398533934","1398533930","1398533927"],"photo_ids_order":["1398533927","1398533930","1398533934","1398533938","1398533942","1398533946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41a198fdd0d10ce8e24025e1afc720cd.jpg","text":"TemporaryFile(/tmp/multipartBody7173991159653897269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_50_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d5749ea99ee3620f36799c73813b419.jpg","text":"TemporaryFile(/tmp/multipartBody8182059798909913804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_47_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07ab35e2c4437731793ed8b5d5bb0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3806955630557228373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_54_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94eb67da6adb159a4ffeab2bbef39dda.jpg","text":"TemporaryFile(/tmp/multipartBody734577216872314685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_44_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ebb0b003a680ecd722b7deca95862ab.jpg","text":"TemporaryFile(/tmp/multipartBody8376528345439533555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_41_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ca0a4fd4c4587853b8d2ac34407c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8941385145230666496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305403133,"filename":"image_01112025_19_28_38_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533934","file1":"1398533930","file0":"1398533927","file4":"1398533942","file5":"1398533946","file3":"1398533938"},"map_files_photo_id_array":[{"photo_id":"1398533946","filename":"file5"},{"photo_id":"1398533934","filename":"file2"},{"photo_id":"1398533942","filename":"file4"},{"photo_id":"1398533930","filename":"file1"},{"photo_id":"1398533927","filename":"file0"},{"photo_id":"1398533938","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398533942":["hashtag1","hashtag2"]},{"1398533938":["hashtag1","hashtag2"]},{"1398533946":["hashtag1","hashtag2"]},{"1398533934":["hashtag1","hashtag2"]},{"1398533930":["hashtag1","hashtag2"]},{"1398533927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398533942, 1398533938, 1398533946, 1398533934, 1398533930, 1398533927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.606483936309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:36:32.373680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_15_10666.jpg', '/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_24_9650.jpg', '/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_34_9546.jpg', '/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_45_10722.jpg', '/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_54_9604.jpg', '/home/pi/Desktop/images/08122025/13/20/image_08122025_13_21_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_15_10666.jpg
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_24_9650.jpg
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_34_9546.jpg
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_45_10722.jpg
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_20_54_9604.jpg
/home/pi/Desktop/images/08122025/13/20/image_08122025_13_21_05_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533971","1398533952","1398533955","1398533958","1398533963","1398533966"],"photo_ids_order":["1398533952","1398533955","1398533958","1398533963","1398533966","1398533971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fac2895daa4a26ae6c981b237d9bd2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4948444565674454444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_21_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff29487dab4a463fe7cd6eb69abdc12e.jpg","text":"TemporaryFile(/tmp/multipartBody2902295370761462627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_20_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35db1b9b451ceb5761552cd584d755e4.jpg","text":"TemporaryFile(/tmp/multipartBody1413876520679576288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_20_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b734624dc4c2760c11b59dc11f0af1f.jpg","text":"TemporaryFile(/tmp/multipartBody7444437582186783352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_20_34_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a22c40c50ab999b3544fe0098375e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody6318421326300168934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_20_45_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/48d1b618af625c0f2e7ef1be30d45b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8268162962076186279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305454308,"filename":"image_08122025_13_20_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533958","file1":"1398533955","file0":"1398533952","file4":"1398533966","file5":"1398533971","file3":"1398533963"},"map_files_photo_id_array":[{"photo_id":"1398533971","filename":"file5"},{"photo_id":"1398533958","filename":"file2"},{"photo_id":"1398533966","filename":"file4"},{"photo_id":"1398533955","filename":"file1"},{"photo_id":"1398533952","filename":"file0"},{"photo_id":"1398533963","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398533971":["hashtag1","hashtag2"]},{"1398533952":["hashtag1","hashtag2"]},{"1398533955":["hashtag1","hashtag2"]},{"1398533958":["hashtag1","hashtag2"]},{"1398533963":["hashtag1","hashtag2"]},{"1398533966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398533971, 1398533952, 1398533955, 1398533958, 1398533963, 1398533966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30424737930298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:37:12.604478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_15_9590.jpg', '/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_24_9783.jpg', '/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_34_9830.jpg', '/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_45_10713.jpg', '/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_54_9521.jpg', '/home/pi/Desktop/images/08122025/13/21/image_08122025_13_22_04_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_15_9590.jpg
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_24_9783.jpg
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_34_9830.jpg
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_45_10713.jpg
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_21_54_9521.jpg
/home/pi/Desktop/images/08122025/13/21/image_08122025_13_22_04_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398533998","1398533992","1398533986","1398533995","1398533989","1398533997"],"photo_ids_order":["1398533986","1398533989","1398533992","1398533995","1398533997","1398533998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f89739c08ca4501aba5010068eda574.jpg","text":"TemporaryFile(/tmp/multipartBody4197985828194941941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_22_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17512731299a69969d739ad06b881019.jpg","text":"TemporaryFile(/tmp/multipartBody407759696113110610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_21_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b63ee0ac756c9110e86092b8d61dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody6422657202710065020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_21_15_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0781c1eaf93a7317785838de4de05109.jpg","text":"TemporaryFile(/tmp/multipartBody7519196730850678102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_21_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69ffcf12b7e8dbeeab18a1e2bc2dc333.jpg","text":"TemporaryFile(/tmp/multipartBody1185472794162923504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_21_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1eab03e2c21a5484307c7d090ec3c839.jpg","text":"TemporaryFile(/tmp/multipartBody2800266003279672628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305494378,"filename":"image_08122025_13_21_54_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398533992","file1":"1398533989","file0":"1398533986","file4":"1398533997","file5":"1398533998","file3":"1398533995"},"map_files_photo_id_array":[{"photo_id":"1398533998","filename":"file5"},{"photo_id":"1398533992","filename":"file2"},{"photo_id":"1398533997","filename":"file4"},{"photo_id":"1398533989","filename":"file1"},{"photo_id":"1398533986","filename":"file0"},{"photo_id":"1398533995","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398533998":["hashtag1","hashtag2"]},{"1398533992":["hashtag1","hashtag2"]},{"1398533986":["hashtag1","hashtag2"]},{"1398533995":["hashtag1","hashtag2"]},{"1398533989":["hashtag1","hashtag2"]},{"1398533997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398533998, 1398533992, 1398533986, 1398533995, 1398533989, 1398533997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38643670082092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:38:02.339448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_45_10551.jpg', '/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_55_9549.jpg', '/home/pi/Desktop/images/09122025/10/57/image_09122025_10_58_04_9629.jpg', '/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_14_9998.jpg', '/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_25_10705.jpg', '/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_35_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_45_10551.jpg
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_57_55_9549.jpg
/home/pi/Desktop/images/09122025/10/57/image_09122025_10_58_04_9629.jpg
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_14_9998.jpg
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_25_10705.jpg
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_35_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534087","1398534051","1398534123","1398534018","1398534158","1398534014"],"photo_ids_order":["1398534014","1398534018","1398534051","1398534087","1398534123","1398534158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4b49e29858d837d9c99367ed0ffd42f3.jpg","text":"TemporaryFile(/tmp/multipartBody8376873455139416455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_58_14_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0623de1d1de7073f8335c228fdcb1e7.jpg","text":"TemporaryFile(/tmp/multipartBody7950785300154360016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_58_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e955cedd27c5993e0b85e35202e797da.jpg","text":"TemporaryFile(/tmp/multipartBody6649967734689903954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_58_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bec56a6bfbbbbf2258ae4fb0429a1b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7877725204215914319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_57_55_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d454cea28fa368b3a80850a18161a56.jpg","text":"TemporaryFile(/tmp/multipartBody7666191123435399057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_58_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d03d0c1dc30457444f0e441f89099a8.jpg","text":"TemporaryFile(/tmp/multipartBody5667737523692670891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305542938,"filename":"image_09122025_10_57_45_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534051","file1":"1398534018","file0":"1398534014","file4":"1398534123","file5":"1398534158","file3":"1398534087"},"map_files_photo_id_array":[{"photo_id":"1398534158","filename":"file5"},{"photo_id":"1398534051","filename":"file2"},{"photo_id":"1398534123","filename":"file4"},{"photo_id":"1398534018","filename":"file1"},{"photo_id":"1398534014","filename":"file0"},{"photo_id":"1398534087","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398534087":["hashtag1","hashtag2"]},{"1398534051":["hashtag1","hashtag2"]},{"1398534123":["hashtag1","hashtag2"]},{"1398534018":["hashtag1","hashtag2"]},{"1398534158":["hashtag1","hashtag2"]},{"1398534014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398534087, 1398534051, 1398534123, 1398534018, 1398534158, 1398534014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.436341285705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:38:41.920330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_56_2578.jpg', '/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_59_2607.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_02_3711.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_05_2555.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_08_2640.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_11_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_56_2578.jpg
/home/pi/Desktop/images/01112025/19/28/image_01112025_19_28_59_2607.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_02_3711.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_05_2555.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_08_2640.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_11_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534316","1398534342","1398534333","1398534420","1398534371","1398534416"],"photo_ids_order":["1398534316","1398534333","1398534342","1398534371","1398534416","1398534420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/261d888b06be2dee6e5e0aa90e68bd2f.jpg","text":"TemporaryFile(/tmp/multipartBody2449001249605779858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_28_56_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c77499f7007268967f674b56c00ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody2630571009129058187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_29_02_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6c36f0a7497753ca89d486f57c57cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1522061576581940125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_28_59_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8294c1573b133489461f3f73e056c446.jpg","text":"TemporaryFile(/tmp/multipartBody36324205947337742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_29_11_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54428c75fa104de753bd554fbaa1af6b.jpg","text":"TemporaryFile(/tmp/multipartBody28553103106869372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_29_05_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/372350dd2dd9814254488331ac8041b0.jpg","text":"TemporaryFile(/tmp/multipartBody4292797126537734049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305582894,"filename":"image_01112025_19_29_08_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534342","file1":"1398534333","file0":"1398534316","file4":"1398534416","file5":"1398534420","file3":"1398534371"},"map_files_photo_id_array":[{"photo_id":"1398534420","filename":"file5"},{"photo_id":"1398534342","filename":"file2"},{"photo_id":"1398534416","filename":"file4"},{"photo_id":"1398534333","filename":"file1"},{"photo_id":"1398534316","filename":"file0"},{"photo_id":"1398534371","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398534316":["hashtag1","hashtag2"]},{"1398534342":["hashtag1","hashtag2"]},{"1398534333":["hashtag1","hashtag2"]},{"1398534420":["hashtag1","hashtag2"]},{"1398534371":["hashtag1","hashtag2"]},{"1398534416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398534316, 1398534342, 1398534333, 1398534420, 1398534371, 1398534416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20918035507202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 19:39:32.179593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_15_10622.jpg', '/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_24_9624.jpg', '/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_35_10660.jpg', '/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_45_9639.jpg', '/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_55_9974.jpg', '/home/pi/Desktop/images/08122025/13/22/image_08122025_13_23_04_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_15_10622.jpg
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_24_9624.jpg
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_35_10660.jpg
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_45_9639.jpg
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_22_55_9974.jpg
/home/pi/Desktop/images/08122025/13/22/image_08122025_13_23_04_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534505","1398534561","1398534558","1398534546","1398534497","1398534500"],"photo_ids_order":["1398534497","1398534500","1398534505","1398534546","1398534558","1398534561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f818fec3849dfd561fd471b177da74f3.jpg","text":"TemporaryFile(/tmp/multipartBody3054270404602480156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_22_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd40fdcfa466ca04790e884728a0cb5b.jpg","text":"TemporaryFile(/tmp/multipartBody2278404822466395093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_23_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd421aa37c1f7fd995d27d784d1381e5.jpg","text":"TemporaryFile(/tmp/multipartBody1023026996629929891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_22_55_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56e4866e5e9aee74bda039c5e06d26d1.jpg","text":"TemporaryFile(/tmp/multipartBody292188600659598852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_22_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/056fdcba4d733b6fc4c6f7942e8de3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5765398406912489662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_22_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f96abf47132d7dd9c4c8967a20d9113.jpg","text":"TemporaryFile(/tmp/multipartBody7611995134294804438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305634072,"filename":"image_08122025_13_22_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534505","file1":"1398534500","file0":"1398534497","file4":"1398534558","file5":"1398534561","file3":"1398534546"},"map_files_photo_id_array":[{"photo_id":"1398534561","filename":"file5"},{"photo_id":"1398534505","filename":"file2"},{"photo_id":"1398534558","filename":"file4"},{"photo_id":"1398534500","filename":"file1"},{"photo_id":"1398534497","filename":"file0"},{"photo_id":"1398534546","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398534505":["hashtag1","hashtag2"]},{"1398534561":["hashtag1","hashtag2"]},{"1398534558":["hashtag1","hashtag2"]},{"1398534546":["hashtag1","hashtag2"]},{"1398534497":["hashtag1","hashtag2"]},{"1398534500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398534505, 1398534561, 1398534558, 1398534546, 1398534497, 1398534500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01616334915161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:40:22.489306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_44_9605.jpg', '/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_55_10761.jpg', '/home/pi/Desktop/images/09122025/10/58/image_09122025_10_59_05_9671.jpg', '/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_15_9652.jpg', '/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_25_10616.jpg', '/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_35_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_44_9605.jpg
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_58_55_10761.jpg
/home/pi/Desktop/images/09122025/10/58/image_09122025_10_59_05_9671.jpg
/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_15_9652.jpg
/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_25_10616.jpg
/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_35_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534730","1398534712","1398534758","1398534665","1398534626","1398534701"],"photo_ids_order":["1398534626","1398534665","1398534701","1398534712","1398534730","1398534758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bff1e699d263d6f0b0134c855cb5fc79.jpg","text":"TemporaryFile(/tmp/multipartBody5114210542584485938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_59_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb4afe146d32d507ae1d6c6584af3981.jpg","text":"TemporaryFile(/tmp/multipartBody3189314913807155342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_59_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4570e993a2da468368512185721bfa4c.jpg","text":"TemporaryFile(/tmp/multipartBody7984557840550866658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_59_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1ae1c83e6bf65c3ea5e6325a109a10b.jpg","text":"TemporaryFile(/tmp/multipartBody4921641186550384898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_58_55_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82397f73daf038a07936cde576bce2d9.jpg","text":"TemporaryFile(/tmp/multipartBody858472595283088759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_58_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8fb197faa97569bd3c9d9c42d86bbef0.jpg","text":"TemporaryFile(/tmp/multipartBody6870011471187259994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305683085,"filename":"image_09122025_10_59_05_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534701","file1":"1398534665","file0":"1398534626","file4":"1398534730","file5":"1398534758","file3":"1398534712"},"map_files_photo_id_array":[{"photo_id":"1398534758","filename":"file5"},{"photo_id":"1398534701","filename":"file2"},{"photo_id":"1398534730","filename":"file4"},{"photo_id":"1398534665","filename":"file1"},{"photo_id":"1398534626","filename":"file0"},{"photo_id":"1398534712","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398534730":["hashtag1","hashtag2"]},{"1398534712":["hashtag1","hashtag2"]},{"1398534758":["hashtag1","hashtag2"]},{"1398534665":["hashtag1","hashtag2"]},{"1398534626":["hashtag1","hashtag2"]},{"1398534701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398534730, 1398534712, 1398534758, 1398534665, 1398534626, 1398534701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.373663902282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:41:03.476577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_55_10783.jpg', '/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_15_10055.jpg', '/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_26_10771.jpg', '/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_35_9750.jpg', '/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_45_9662.jpg', '/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_56_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/10/59/image_09122025_10_59_55_10783.jpg
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_15_10055.jpg
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_26_10771.jpg
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_35_9750.jpg
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_45_9662.jpg
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_00_56_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534855","1398534860","1398534863","1398534866","1398534824","1398534821"],"photo_ids_order":["1398534821","1398534824","1398534855","1398534860","1398534863","1398534866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f80c4d4ee61432db13f6891f8381b53.jpg","text":"TemporaryFile(/tmp/multipartBody308741908761528326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_11_00_26_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6fc679807af9059b3df5271109438b75.jpg","text":"TemporaryFile(/tmp/multipartBody358102311409450794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_11_00_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e472d4e5faf624f7c703d35149786d13.jpg","text":"TemporaryFile(/tmp/multipartBody6069638309307653177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_11_00_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7860970f77ae4120cd97a6d25b78b411.jpg","text":"TemporaryFile(/tmp/multipartBody6221545258819477299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_11_00_56_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc1427ac76a58e43ba9a2be2ef8e9e22.jpg","text":"TemporaryFile(/tmp/multipartBody5544367549733301906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_11_00_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e914c1b523c57e08b4c1fd320a041ab.jpg","text":"TemporaryFile(/tmp/multipartBody3426730749409446251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305724214,"filename":"image_09122025_10_59_55_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534855","file1":"1398534824","file0":"1398534821","file4":"1398534863","file5":"1398534866","file3":"1398534860"},"map_files_photo_id_array":[{"photo_id":"1398534866","filename":"file5"},{"photo_id":"1398534855","filename":"file2"},{"photo_id":"1398534863","filename":"file4"},{"photo_id":"1398534824","filename":"file1"},{"photo_id":"1398534821","filename":"file0"},{"photo_id":"1398534860","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398534855":["hashtag1","hashtag2"]},{"1398534860":["hashtag1","hashtag2"]},{"1398534863":["hashtag1","hashtag2"]},{"1398534866":["hashtag1","hashtag2"]},{"1398534824":["hashtag1","hashtag2"]},{"1398534821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398534855, 1398534860, 1398534863, 1398534866, 1398534824, 1398534821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34481883049011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:41:42.752800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_14_2673.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_17_2686.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_20_3633.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_23_2678.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_26_2547.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_29_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_14_2673.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_17_2686.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_20_3633.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_23_2678.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_26_2547.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_29_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398534916","1398534881","1398534875","1398534869","1398534878","1398534871"],"photo_ids_order":["1398534869","1398534871","1398534875","1398534878","1398534881","1398534916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f274e8e9f3827d50b0ab474debcfbdd.jpg","text":"TemporaryFile(/tmp/multipartBody1459755648310852000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_29_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5646985ee7b2ecf7e420c8bb1035ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7475375546316532877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_26_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8111891bffe3dc7044dfd76106bbe190.jpg","text":"TemporaryFile(/tmp/multipartBody6200271925644316367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_20_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcf0f3eab5cf19d2bbf218a16d4baa82.jpg","text":"TemporaryFile(/tmp/multipartBody1231440311817973866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_14_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23f376dc349156a1614134f4af9e804a.jpg","text":"TemporaryFile(/tmp/multipartBody458473843031382314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_23_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2e0eb83bc1aac19aa9f256590613ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2280866532223378771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305763727,"filename":"image_01112025_19_29_17_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398534875","file1":"1398534871","file0":"1398534869","file4":"1398534881","file5":"1398534916","file3":"1398534878"},"map_files_photo_id_array":[{"photo_id":"1398534916","filename":"file5"},{"photo_id":"1398534875","filename":"file2"},{"photo_id":"1398534881","filename":"file4"},{"photo_id":"1398534871","filename":"file1"},{"photo_id":"1398534869","filename":"file0"},{"photo_id":"1398534878","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398534916":["hashtag1","hashtag2"]},{"1398534881":["hashtag1","hashtag2"]},{"1398534875":["hashtag1","hashtag2"]},{"1398534869":["hashtag1","hashtag2"]},{"1398534878":["hashtag1","hashtag2"]},{"1398534871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398534916, 1398534881, 1398534875, 1398534869, 1398534878, 1398534871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77153706550598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:42:21.952432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/00/image_09122025_11_01_05_9643.jpg', '/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_15_9671.jpg', '/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_26_10676.jpg', '/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_35_9674.jpg', '/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_45_9714.jpg', '/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_56_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/00/image_09122025_11_01_05_9643.jpg
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_15_9671.jpg
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_26_10676.jpg
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_35_9674.jpg
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_45_9714.jpg
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_01_56_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398535212","1398535206","1398535283","1398535209","1398535286","1398535280"],"photo_ids_order":["1398535206","1398535209","1398535212","1398535280","1398535283","1398535286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f84d0e1b474d2700af46aad1ae37498.jpg","text":"TemporaryFile(/tmp/multipartBody998634072079035126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_26_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a019a449ee6c0df6ee69a639b5909ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3781851750133145519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e64462144aa7dde1af1f77d53237d209.jpg","text":"TemporaryFile(/tmp/multipartBody3824459308866298457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/089fe3ccb89b0df903f4712fff2e7918.jpg","text":"TemporaryFile(/tmp/multipartBody7776302388571528591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b66b7b7b9ab50ba5a2c35bd2f1cc2141.jpg","text":"TemporaryFile(/tmp/multipartBody1175705927925203310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_56_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a27bbeb77c599cf97d7592e90ba273e9.jpg","text":"TemporaryFile(/tmp/multipartBody7017280946374438657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305802533,"filename":"image_09122025_11_01_35_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398535212","file1":"1398535209","file0":"1398535206","file4":"1398535283","file5":"1398535286","file3":"1398535280"},"map_files_photo_id_array":[{"photo_id":"1398535286","filename":"file5"},{"photo_id":"1398535212","filename":"file2"},{"photo_id":"1398535283","filename":"file4"},{"photo_id":"1398535209","filename":"file1"},{"photo_id":"1398535206","filename":"file0"},{"photo_id":"1398535280","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398535212":["hashtag1","hashtag2"]},{"1398535206":["hashtag1","hashtag2"]},{"1398535283":["hashtag1","hashtag2"]},{"1398535209":["hashtag1","hashtag2"]},{"1398535286":["hashtag1","hashtag2"]},{"1398535280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398535212, 1398535206, 1398535283, 1398535209, 1398535286, 1398535280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28392577171326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:43:02.903910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/01/image_09122025_11_02_05_9563.jpg', '/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_15_9749.jpg', '/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_25_9815.jpg', '/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_35_10587.jpg', '/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_45_9743.jpg', '/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_55_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/01/image_09122025_11_02_05_9563.jpg
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_15_9749.jpg
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_25_9815.jpg
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_35_10587.jpg
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_45_9743.jpg
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_02_55_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398535581","1398535497","1398535533","1398535476","1398535521","1398535582"],"photo_ids_order":["1398535476","1398535497","1398535521","1398535533","1398535581","1398535582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae01e31a1e92ee67ec14709340a574a1.jpg","text":"TemporaryFile(/tmp/multipartBody7641878580255091255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccd08c894ac3c9b099578264ea4057c1.jpg","text":"TemporaryFile(/tmp/multipartBody4849169023067701333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d483a9460c604ffea63c0f4b2713be39.jpg","text":"TemporaryFile(/tmp/multipartBody7510735011189404150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_35_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e8390d48a2b50c063ad60098b157289.jpg","text":"TemporaryFile(/tmp/multipartBody300274113546785055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/484e0b8057cc9f9579f2610d1cc6a8af.jpg","text":"TemporaryFile(/tmp/multipartBody2387855949961758929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_25_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d210cf696e96a3dc7e79b15794b7107.jpg","text":"TemporaryFile(/tmp/multipartBody3397059387759775342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305843598,"filename":"image_09122025_11_02_55_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398535521","file1":"1398535497","file0":"1398535476","file4":"1398535581","file5":"1398535582","file3":"1398535533"},"map_files_photo_id_array":[{"photo_id":"1398535582","filename":"file5"},{"photo_id":"1398535521","filename":"file2"},{"photo_id":"1398535581","filename":"file4"},{"photo_id":"1398535497","filename":"file1"},{"photo_id":"1398535476","filename":"file0"},{"photo_id":"1398535533","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398535581":["hashtag1","hashtag2"]},{"1398535497":["hashtag1","hashtag2"]},{"1398535533":["hashtag1","hashtag2"]},{"1398535476":["hashtag1","hashtag2"]},{"1398535521":["hashtag1","hashtag2"]},{"1398535582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398535581, 1398535497, 1398535533, 1398535476, 1398535521, 1398535582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70773124694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:43:42.155688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_35_2744.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_38_3606.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_41_2846.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_44_2628.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_47_2688.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_50_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_35_2744.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_38_3606.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_41_2846.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_44_2628.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_47_2688.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_50_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398535596","1398535600","1398535671","1398535593","1398535589","1398535633"],"photo_ids_order":["1398535589","1398535593","1398535596","1398535600","1398535633","1398535671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0ba46030005c12a37a6bbfebd7d2338.jpg","text":"TemporaryFile(/tmp/multipartBody2368755534500335814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_41_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0acc0c488594f17d7b51eb0fc7b0713.jpg","text":"TemporaryFile(/tmp/multipartBody3854420696223218166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_44_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33ae060f7642cfc923ec13810a675b78.jpg","text":"TemporaryFile(/tmp/multipartBody310210349283009807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_50_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5be5d062ef30b2c700f4405f16db7d96.jpg","text":"TemporaryFile(/tmp/multipartBody4552100354411723313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_38_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a8f604df56c7940f87954fec9bb0efa2.jpg","text":"TemporaryFile(/tmp/multipartBody8265192805433354279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_35_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a3f31c2d416590bc6d1f28ed8d5077e.jpg","text":"TemporaryFile(/tmp/multipartBody5873578597162373505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305883198,"filename":"image_01112025_19_29_47_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398535596","file1":"1398535593","file0":"1398535589","file4":"1398535633","file5":"1398535671","file3":"1398535600"},"map_files_photo_id_array":[{"photo_id":"1398535671","filename":"file5"},{"photo_id":"1398535596","filename":"file2"},{"photo_id":"1398535633","filename":"file4"},{"photo_id":"1398535593","filename":"file1"},{"photo_id":"1398535589","filename":"file0"},{"photo_id":"1398535600","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398535596":["hashtag1","hashtag2"]},{"1398535600":["hashtag1","hashtag2"]},{"1398535671":["hashtag1","hashtag2"]},{"1398535593":["hashtag1","hashtag2"]},{"1398535589":["hashtag1","hashtag2"]},{"1398535633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398535596, 1398535600, 1398535671, 1398535593, 1398535589, 1398535633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85323643684387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:44:22.323886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/02/image_09122025_11_03_05_9736.jpg', '/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_16_10780.jpg', '/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_26_9977.jpg', '/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_35_9695.jpg', '/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_45_9679.jpg', '/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_56_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/02/image_09122025_11_03_05_9736.jpg
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_16_10780.jpg
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_26_9977.jpg
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_35_9695.jpg
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_45_9679.jpg
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_03_56_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398535869","1398535851","1398535812","1398535882","1398535870","1398535867"],"photo_ids_order":["1398535812","1398535851","1398535867","1398535869","1398535870","1398535882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac756b5ad91cbf870ce4aa16792a0ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1618895439718798942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bd7ed9a3dea65284b0de7a087ab0fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1830906180017401560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_16_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c829edc455be2e55752c7b6c35583ff.jpg","text":"TemporaryFile(/tmp/multipartBody1665103088135692321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0886e45f7f99df748bfca0d5bd9d47ef.jpg","text":"TemporaryFile(/tmp/multipartBody3419153732850014237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_56_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/717073ef2db7be4a67089006a5f25767.jpg","text":"TemporaryFile(/tmp/multipartBody8157191844829748638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07daecd725bf361a61bf533b58ca1c73.jpg","text":"TemporaryFile(/tmp/multipartBody8383431367109889727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305922913,"filename":"image_09122025_11_03_26_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398535867","file1":"1398535851","file0":"1398535812","file4":"1398535870","file5":"1398535882","file3":"1398535869"},"map_files_photo_id_array":[{"photo_id":"1398535882","filename":"file5"},{"photo_id":"1398535867","filename":"file2"},{"photo_id":"1398535870","filename":"file4"},{"photo_id":"1398535851","filename":"file1"},{"photo_id":"1398535812","filename":"file0"},{"photo_id":"1398535869","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398535869":["hashtag1","hashtag2"]},{"1398535851":["hashtag1","hashtag2"]},{"1398535812":["hashtag1","hashtag2"]},{"1398535882":["hashtag1","hashtag2"]},{"1398535870":["hashtag1","hashtag2"]},{"1398535867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398535869, 1398535851, 1398535812, 1398535882, 1398535870, 1398535867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39572548866272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:45:03.065560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/03/image_09122025_11_04_05_9820.jpg', '/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_15_9620.jpg', '/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_25_9724.jpg', '/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_35_10515.jpg', '/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_45_9625.jpg', '/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_56_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/03/image_09122025_11_04_05_9820.jpg
/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_15_9620.jpg
/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_25_9724.jpg
/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_35_10515.jpg
/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_45_9625.jpg
/home/pi/Desktop/images/09122025/11/04/image_09122025_11_04_56_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398535900","1398535903","1398535896","1398535905","1398535922","1398535972"],"photo_ids_order":["1398535896","1398535900","1398535903","1398535905","1398535922","1398535972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b0bc4fbb49a42407cdb60eb5c8767c7.jpg","text":"TemporaryFile(/tmp/multipartBody7456804558933410424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5d07245e454cbd1bb11c1a2a927c714.jpg","text":"TemporaryFile(/tmp/multipartBody2862527821257225882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7fb0794dbbdb1864f29a78fc52d5dc2a.jpg","text":"TemporaryFile(/tmp/multipartBody7145746529252339369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_05_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d86c9bfe8cbb62991e89ce820891aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2787922666699770010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_35_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ab7a2c0d1744043eae92eeedba0914d.jpg","text":"TemporaryFile(/tmp/multipartBody6396932884436789177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26b23622fb55fb3fb0344cf33b610709.jpg","text":"TemporaryFile(/tmp/multipartBody7289175850780016774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765305963701,"filename":"image_09122025_11_04_56_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398535903","file1":"1398535900","file0":"1398535896","file4":"1398535922","file5":"1398535972","file3":"1398535905"},"map_files_photo_id_array":[{"photo_id":"1398535972","filename":"file5"},{"photo_id":"1398535903","filename":"file2"},{"photo_id":"1398535922","filename":"file4"},{"photo_id":"1398535900","filename":"file1"},{"photo_id":"1398535896","filename":"file0"},{"photo_id":"1398535905","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398535900":["hashtag1","hashtag2"]},{"1398535903":["hashtag1","hashtag2"]},{"1398535896":["hashtag1","hashtag2"]},{"1398535905":["hashtag1","hashtag2"]},{"1398535922":["hashtag1","hashtag2"]},{"1398535972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398535900, 1398535903, 1398535896, 1398535905, 1398535922, 1398535972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7752468585968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:45:42.497408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_53_2661.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_56_2826.jpg', '/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_59_3660.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_07_3011.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_11_3935.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_13_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_53_2661.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_56_2826.jpg
/home/pi/Desktop/images/01112025/19/29/image_01112025_19_29_59_3660.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_07_3011.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_11_3935.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_13_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536028","1398536030","1398536026","1398536020","1398536070","1398536023"],"photo_ids_order":["1398536020","1398536023","1398536026","1398536028","1398536030","1398536070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82e3efcb496a17e4a940855e484a7993.jpg","text":"TemporaryFile(/tmp/multipartBody1950863062531881039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d69ba5ef6f2dde77fe623834063714c9.jpg","text":"TemporaryFile(/tmp/multipartBody91088272147646828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_30_11_3935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8aa5861fff685412c308a84f22990c02.jpg","text":"TemporaryFile(/tmp/multipartBody8480885771086237513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_29_59_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d528b9799996905eb8b0942acc69c516.jpg","text":"TemporaryFile(/tmp/multipartBody5443923361261833897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_29_53_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a30add4cf85e7db6a92e65eee5df15e.jpg","text":"TemporaryFile(/tmp/multipartBody5621739982661163481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_30_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c511a6df30d7d791c6d5631d2e489096.jpg","text":"TemporaryFile(/tmp/multipartBody5346184604206621292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306003467,"filename":"image_01112025_19_29_56_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536026","file1":"1398536023","file0":"1398536020","file4":"1398536030","file5":"1398536070","file3":"1398536028"},"map_files_photo_id_array":[{"photo_id":"1398536070","filename":"file5"},{"photo_id":"1398536026","filename":"file2"},{"photo_id":"1398536030","filename":"file4"},{"photo_id":"1398536023","filename":"file1"},{"photo_id":"1398536020","filename":"file0"},{"photo_id":"1398536028","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398536028":["hashtag1","hashtag2"]},{"1398536030":["hashtag1","hashtag2"]},{"1398536026":["hashtag1","hashtag2"]},{"1398536020":["hashtag1","hashtag2"]},{"1398536070":["hashtag1","hashtag2"]},{"1398536023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398536028, 1398536030, 1398536026, 1398536020, 1398536070, 1398536023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55163288116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:46:22.759667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_13_10057.jpg', '/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_34_9953.jpg', '/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_44_9727.jpg', '/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_54_10644.jpg', '/home/pi/Desktop/images/09122025/11/05/image_09122025_11_06_04_9657.jpg', '/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_13_10057.jpg
/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_34_9953.jpg
/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_44_9727.jpg
/home/pi/Desktop/images/09122025/11/05/image_09122025_11_05_54_10644.jpg
/home/pi/Desktop/images/09122025/11/05/image_09122025_11_06_04_9657.jpg
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_14_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536187","1398536151","1398536159","1398536210","1398536203","1398536206"],"photo_ids_order":["1398536151","1398536159","1398536187","1398536203","1398536206","1398536210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f6acb91c218b30315a3883dc6fae2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5555886519348031663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_05_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f385469588571c6de0095ce3de47f58f.jpg","text":"TemporaryFile(/tmp/multipartBody1071801511105583065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_05_13_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bb91c53df37345d67e02c01fbf8cbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6395180665691283531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_05_34_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca9a9907db6ce0bb8406c480b79ae75f.jpg","text":"TemporaryFile(/tmp/multipartBody2502108183610531564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_06_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c99ea0f69cc749c06ac31d32d3c4c95.jpg","text":"TemporaryFile(/tmp/multipartBody3186403725779293786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_05_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6563eb91b3134a83a71fc643c29002ab.jpg","text":"TemporaryFile(/tmp/multipartBody8274225827868223292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306043384,"filename":"image_09122025_11_06_04_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536187","file1":"1398536159","file0":"1398536151","file4":"1398536206","file5":"1398536210","file3":"1398536203"},"map_files_photo_id_array":[{"photo_id":"1398536210","filename":"file5"},{"photo_id":"1398536187","filename":"file2"},{"photo_id":"1398536206","filename":"file4"},{"photo_id":"1398536159","filename":"file1"},{"photo_id":"1398536151","filename":"file0"},{"photo_id":"1398536203","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536187":["hashtag1","hashtag2"]},{"1398536151":["hashtag1","hashtag2"]},{"1398536159":["hashtag1","hashtag2"]},{"1398536210":["hashtag1","hashtag2"]},{"1398536203":["hashtag1","hashtag2"]},{"1398536206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536187, 1398536151, 1398536159, 1398536210, 1398536203, 1398536206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88922643661499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:47:02.626038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_23_9762.jpg', '/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_34_10523.jpg', '/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_44_9761.jpg', '/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_53_9762.jpg', '/home/pi/Desktop/images/09122025/11/06/image_09122025_11_07_04_10515.jpg', '/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_23_9762.jpg
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_34_10523.jpg
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_44_9761.jpg
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_06_53_9762.jpg
/home/pi/Desktop/images/09122025/11/06/image_09122025_11_07_04_10515.jpg
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_14_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536232","1398536235","1398536229","1398536223","1398536226","1398536228"],"photo_ids_order":["1398536223","1398536226","1398536228","1398536229","1398536232","1398536235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9031ceeeb95e94ecd32f6a4a6d6748c.jpg","text":"TemporaryFile(/tmp/multipartBody847126084391056854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_07_04_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6527d0361475acf2f4db7151f3f3550.jpg","text":"TemporaryFile(/tmp/multipartBody3294320052757048180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_07_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f61397876a1125fd1f6c16a75e801488.jpg","text":"TemporaryFile(/tmp/multipartBody5592949623555880034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_06_53_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc8732c575d8c2f3e80978aa6543f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody2446154186176918912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_06_23_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f99d3a14bfe2ef12207a2ed0120fcc88.jpg","text":"TemporaryFile(/tmp/multipartBody1912774579600285426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_06_34_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02c7af0b36258ff34d6d8ffc2ad56906.jpg","text":"TemporaryFile(/tmp/multipartBody3209779848995060846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306083266,"filename":"image_09122025_11_06_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536228","file1":"1398536226","file0":"1398536223","file4":"1398536232","file5":"1398536235","file3":"1398536229"},"map_files_photo_id_array":[{"photo_id":"1398536235","filename":"file5"},{"photo_id":"1398536228","filename":"file2"},{"photo_id":"1398536232","filename":"file4"},{"photo_id":"1398536226","filename":"file1"},{"photo_id":"1398536223","filename":"file0"},{"photo_id":"1398536229","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536232":["hashtag1","hashtag2"]},{"1398536235":["hashtag1","hashtag2"]},{"1398536229":["hashtag1","hashtag2"]},{"1398536223":["hashtag1","hashtag2"]},{"1398536226":["hashtag1","hashtag2"]},{"1398536228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536232, 1398536235, 1398536229, 1398536223, 1398536226, 1398536228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61408305168152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:47:41.882551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_20_3684.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_23_2742.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_25_2592.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_29_3673.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_31_2515.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_34_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_20_3684.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_23_2742.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_25_2592.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_29_3673.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_31_2515.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_34_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536253","1398536243","1398536267","1398536260","1398536263","1398536257"],"photo_ids_order":["1398536243","1398536253","1398536257","1398536260","1398536263","1398536267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9dcbbc7006edb07a15ed4be914a5447b.jpg","text":"TemporaryFile(/tmp/multipartBody4294716927578713017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_23_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19ae0f948e7bb3e0e4b2789341340d20.jpg","text":"TemporaryFile(/tmp/multipartBody8807582574698982337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_20_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43b49a915ff0135e261d19b991516b54.jpg","text":"TemporaryFile(/tmp/multipartBody4515482692445593831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8f36b0550a7b8625a908848e152c248.jpg","text":"TemporaryFile(/tmp/multipartBody603887850503955291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_29_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2af248e594f42a6f1dab8a308bf20ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4049334650734962768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_31_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7294282d3902e4a03bc3197ded6c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody3241250044167679920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306122990,"filename":"image_01112025_19_30_25_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536257","file1":"1398536253","file0":"1398536243","file4":"1398536263","file5":"1398536267","file3":"1398536260"},"map_files_photo_id_array":[{"photo_id":"1398536267","filename":"file5"},{"photo_id":"1398536257","filename":"file2"},{"photo_id":"1398536263","filename":"file4"},{"photo_id":"1398536253","filename":"file1"},{"photo_id":"1398536243","filename":"file0"},{"photo_id":"1398536260","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398536253":["hashtag1","hashtag2"]},{"1398536243":["hashtag1","hashtag2"]},{"1398536267":["hashtag1","hashtag2"]},{"1398536260":["hashtag1","hashtag2"]},{"1398536263":["hashtag1","hashtag2"]},{"1398536257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398536253, 1398536243, 1398536267, 1398536260, 1398536263, 1398536257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13379096984863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:48:22.102850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_24_9840.jpg', '/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_34_10538.jpg', '/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_44_9538.jpg', '/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_53_9758.jpg', '/home/pi/Desktop/images/09122025/11/07/image_09122025_11_08_04_10659.jpg', '/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_14_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_24_9840.jpg
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_34_10538.jpg
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_44_9538.jpg
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_07_53_9758.jpg
/home/pi/Desktop/images/09122025/11/07/image_09122025_11_08_04_10659.jpg
/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_14_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536286","1398536273","1398536282","1398536279","1398536275","1398536283"],"photo_ids_order":["1398536273","1398536275","1398536279","1398536282","1398536283","1398536286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee28a98deaed6c154932284ba4e9e53a.jpg","text":"TemporaryFile(/tmp/multipartBody5992637152292534241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_08_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97cf91626c9818c0a0d6f5e7a5337623.jpg","text":"TemporaryFile(/tmp/multipartBody6742580153974311636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_07_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9d45e9781f989df4d445770db38f072.jpg","text":"TemporaryFile(/tmp/multipartBody3039190275821472368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_07_53_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5a19e4746e151a4c46b50283ef5d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody2993644318263983967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_07_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e05bb4ced368675d895ba8250f77e26c.jpg","text":"TemporaryFile(/tmp/multipartBody8919480190655748752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_07_34_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c1cacb40f1b90d57484e6ab84a3920c9.jpg","text":"TemporaryFile(/tmp/multipartBody1938877260462271020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306162685,"filename":"image_09122025_11_08_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536279","file1":"1398536275","file0":"1398536273","file4":"1398536283","file5":"1398536286","file3":"1398536282"},"map_files_photo_id_array":[{"photo_id":"1398536286","filename":"file5"},{"photo_id":"1398536279","filename":"file2"},{"photo_id":"1398536283","filename":"file4"},{"photo_id":"1398536275","filename":"file1"},{"photo_id":"1398536273","filename":"file0"},{"photo_id":"1398536282","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536286":["hashtag1","hashtag2"]},{"1398536273":["hashtag1","hashtag2"]},{"1398536282":["hashtag1","hashtag2"]},{"1398536279":["hashtag1","hashtag2"]},{"1398536275":["hashtag1","hashtag2"]},{"1398536283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536286, 1398536273, 1398536282, 1398536279, 1398536275, 1398536283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50118803977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:49:03.015444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_34_10641.jpg', '/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_44_9718.jpg', '/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_54_9734.jpg', '/home/pi/Desktop/images/09122025/11/08/image_09122025_11_09_04_10627.jpg', '/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_14_9597.jpg', '/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_24_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_34_10641.jpg
/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_44_9718.jpg
/home/pi/Desktop/images/09122025/11/08/image_09122025_11_08_54_9734.jpg
/home/pi/Desktop/images/09122025/11/08/image_09122025_11_09_04_10627.jpg
/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_14_9597.jpg
/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_24_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536304","1398536396","1398536354","1398536317","1398536302","1398536298"],"photo_ids_order":["1398536298","1398536302","1398536304","1398536317","1398536354","1398536396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9263b0069c26e5da34e72f52de93161d.jpg","text":"TemporaryFile(/tmp/multipartBody75329001225683834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_08_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec968feca00db0bbe2e44010356949e2.jpg","text":"TemporaryFile(/tmp/multipartBody8297628786366986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_09_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/910aa7f3b115f8500ebed2f1ac0e0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3751572726018592505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_09_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22a4c8ca36052229199763697e07d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody7047270376413471203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_09_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7290f92c992e4fe66d447ea08627cbec.jpg","text":"TemporaryFile(/tmp/multipartBody7313606366257932919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_08_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/63109741277c2f345baeb06d09874371.jpg","text":"TemporaryFile(/tmp/multipartBody2334217961107756761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306203690,"filename":"image_09122025_11_08_34_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536304","file1":"1398536302","file0":"1398536298","file4":"1398536354","file5":"1398536396","file3":"1398536317"},"map_files_photo_id_array":[{"photo_id":"1398536396","filename":"file5"},{"photo_id":"1398536304","filename":"file2"},{"photo_id":"1398536354","filename":"file4"},{"photo_id":"1398536302","filename":"file1"},{"photo_id":"1398536298","filename":"file0"},{"photo_id":"1398536317","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536304":["hashtag1","hashtag2"]},{"1398536396":["hashtag1","hashtag2"]},{"1398536354":["hashtag1","hashtag2"]},{"1398536317":["hashtag1","hashtag2"]},{"1398536302":["hashtag1","hashtag2"]},{"1398536298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536304, 1398536396, 1398536354, 1398536317, 1398536302, 1398536298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23262286186218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:49:42.148527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_38_3667.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_40_2697.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_43_2542.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_47_3816.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_49_2685.jpg', '/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_52_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_38_3667.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_40_2697.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_43_2542.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_47_3816.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_49_2685.jpg
/home/pi/Desktop/images/01112025/19/30/image_01112025_19_30_52_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536484","1398536550","1398536505","1398536558","1398536510","1398536500"],"photo_ids_order":["1398536484","1398536500","1398536505","1398536510","1398536550","1398536558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/766affa8ba6dced1c5f00e4d992da957.jpg","text":"TemporaryFile(/tmp/multipartBody2680976708177496852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_38_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5678a580fe680618cf5c45dc19346c9.jpg","text":"TemporaryFile(/tmp/multipartBody4807102460701148015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_49_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fcdf5c18ee4a7798e20583b314211f35.jpg","text":"TemporaryFile(/tmp/multipartBody6071859413715363513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_43_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4609fdc20143e39ac248095c338bd8e2.jpg","text":"TemporaryFile(/tmp/multipartBody6965380192572149236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_52_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0b7de20365406f2d7933e86d108f30e.jpg","text":"TemporaryFile(/tmp/multipartBody6688589185460658598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_47_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6063d773839d8485a48fef6da55f1ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4233411977801192786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306243123,"filename":"image_01112025_19_30_40_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536505","file1":"1398536500","file0":"1398536484","file4":"1398536550","file5":"1398536558","file3":"1398536510"},"map_files_photo_id_array":[{"photo_id":"1398536558","filename":"file5"},{"photo_id":"1398536505","filename":"file2"},{"photo_id":"1398536550","filename":"file4"},{"photo_id":"1398536500","filename":"file1"},{"photo_id":"1398536484","filename":"file0"},{"photo_id":"1398536510","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398536484":["hashtag1","hashtag2"]},{"1398536550":["hashtag1","hashtag2"]},{"1398536505":["hashtag1","hashtag2"]},{"1398536558":["hashtag1","hashtag2"]},{"1398536510":["hashtag1","hashtag2"]},{"1398536500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398536484, 1398536550, 1398536505, 1398536558, 1398536510, 1398536500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84659481048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:50:22.446666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_33_9673.jpg', '/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_44_10706.jpg', '/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_54_9626.jpg', '/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_15_10051.jpg', '/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_25_10559.jpg', '/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_35_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_33_9673.jpg
/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_44_10706.jpg
/home/pi/Desktop/images/09122025/11/09/image_09122025_11_09_54_9626.jpg
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_15_10051.jpg
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_25_10559.jpg
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_35_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536640","1398536703","1398536672","1398536666","1398536707","1398536704"],"photo_ids_order":["1398536640","1398536666","1398536672","1398536703","1398536704","1398536707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/733df8306ccdce0eea7e9855637408b6.jpg","text":"TemporaryFile(/tmp/multipartBody5135035074445595971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_09_33_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf8b69e0895b60afc498bc2c0072fe99.jpg","text":"TemporaryFile(/tmp/multipartBody1082703929166370875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_10_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f893a4c3f421f304c755c0c4aa8c583.jpg","text":"TemporaryFile(/tmp/multipartBody4249825933007273111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_09_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92fc4a03acd3466e521f9b8ccfdd8e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6202147374520844040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_09_44_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa3ee6a950994b5b84f29f69ff0e05b9.jpg","text":"TemporaryFile(/tmp/multipartBody2529444454068568291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_10_35_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57a6449f3dc7c37ff2f8141006486431.jpg","text":"TemporaryFile(/tmp/multipartBody1265577471181836816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306283032,"filename":"image_09122025_11_10_25_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536672","file1":"1398536666","file0":"1398536640","file4":"1398536704","file5":"1398536707","file3":"1398536703"},"map_files_photo_id_array":[{"photo_id":"1398536707","filename":"file5"},{"photo_id":"1398536672","filename":"file2"},{"photo_id":"1398536704","filename":"file4"},{"photo_id":"1398536666","filename":"file1"},{"photo_id":"1398536640","filename":"file0"},{"photo_id":"1398536703","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536640":["hashtag1","hashtag2"]},{"1398536703":["hashtag1","hashtag2"]},{"1398536672":["hashtag1","hashtag2"]},{"1398536666":["hashtag1","hashtag2"]},{"1398536707":["hashtag1","hashtag2"]},{"1398536704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536640, 1398536703, 1398536672, 1398536666, 1398536707, 1398536704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37745380401611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:51:03.254394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_45_10641.jpg', '/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_55_9547.jpg', '/home/pi/Desktop/images/09122025/11/10/image_09122025_11_11_05_10588.jpg', '/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_15_9681.jpg', '/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_25_9799.jpg', '/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_35_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_45_10641.jpg
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_10_55_9547.jpg
/home/pi/Desktop/images/09122025/11/10/image_09122025_11_11_05_10588.jpg
/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_15_9681.jpg
/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_25_9799.jpg
/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_35_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536742","1398536739","1398536744","1398536747","1398536732","1398536720"],"photo_ids_order":["1398536720","1398536732","1398536739","1398536742","1398536744","1398536747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5ed7b9b19fc5933ac8b193a0b80654a.jpg","text":"TemporaryFile(/tmp/multipartBody902695330689243315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_11_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92c7e527ac871eb45b771b3727f11162.jpg","text":"TemporaryFile(/tmp/multipartBody7752940358530382702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_11_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fab5d4e71df92eb92178527fd1aa79a8.jpg","text":"TemporaryFile(/tmp/multipartBody8644955570479317796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_11_25_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d321614b95cae89485514fb558bfc279.jpg","text":"TemporaryFile(/tmp/multipartBody6128200620728412756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_11_35_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01dcc47f38bc2db2ea913707cd14532a.jpg","text":"TemporaryFile(/tmp/multipartBody4100129644718462269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_10_55_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15b7e17a7a0d27b0cca12942b0b35fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7354512817872227147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306323891,"filename":"image_09122025_11_10_45_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536739","file1":"1398536732","file0":"1398536720","file4":"1398536744","file5":"1398536747","file3":"1398536742"},"map_files_photo_id_array":[{"photo_id":"1398536747","filename":"file5"},{"photo_id":"1398536739","filename":"file2"},{"photo_id":"1398536744","filename":"file4"},{"photo_id":"1398536732","filename":"file1"},{"photo_id":"1398536720","filename":"file0"},{"photo_id":"1398536742","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536742":["hashtag1","hashtag2"]},{"1398536739":["hashtag1","hashtag2"]},{"1398536744":["hashtag1","hashtag2"]},{"1398536747":["hashtag1","hashtag2"]},{"1398536732":["hashtag1","hashtag2"]},{"1398536720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536742, 1398536739, 1398536744, 1398536747, 1398536732, 1398536720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.725045919418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:51:42.598907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_05_3687.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_08_2814.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_10_2605.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_14_3583.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_19_2539.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_23_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_05_3687.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_08_2814.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_10_2605.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_14_3583.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_19_2539.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_23_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536762","1398536768","1398536773","1398536764","1398536758","1398536766"],"photo_ids_order":["1398536758","1398536762","1398536764","1398536766","1398536768","1398536773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e30431ee8e11a3525fb3a2b61f42abb.jpg","text":"TemporaryFile(/tmp/multipartBody8659983990763668082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_08_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21e980b8df7fb129919e303cd13ba1a5.jpg","text":"TemporaryFile(/tmp/multipartBody6242528808973346858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_19_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5d20cbe5771b1ae250addb78056ba270.jpg","text":"TemporaryFile(/tmp/multipartBody5299457210799655777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_23_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d5b17cbaeba3ceb74b0413bef613f0e.jpg","text":"TemporaryFile(/tmp/multipartBody8456911413881449819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_10_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1e3c9d886b1d44228301456a2f05b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3706966637843241813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_05_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/803c45f181b7fc916aed9aacead5c49f.jpg","text":"TemporaryFile(/tmp/multipartBody3489713298559773351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306363586,"filename":"image_01112025_19_31_14_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536764","file1":"1398536762","file0":"1398536758","file4":"1398536768","file5":"1398536773","file3":"1398536766"},"map_files_photo_id_array":[{"photo_id":"1398536773","filename":"file5"},{"photo_id":"1398536764","filename":"file2"},{"photo_id":"1398536768","filename":"file4"},{"photo_id":"1398536762","filename":"file1"},{"photo_id":"1398536758","filename":"file0"},{"photo_id":"1398536766","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398536762":["hashtag1","hashtag2"]},{"1398536768":["hashtag1","hashtag2"]},{"1398536773":["hashtag1","hashtag2"]},{"1398536764":["hashtag1","hashtag2"]},{"1398536758":["hashtag1","hashtag2"]},{"1398536766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398536762, 1398536768, 1398536773, 1398536764, 1398536758, 1398536766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01683783531189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:52:22.817794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_45_9616.jpg', '/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_55_9652.jpg', '/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_15_10594.jpg', '/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_25_9651.jpg', '/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_35_10647.jpg', '/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_45_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_45_9616.jpg
/home/pi/Desktop/images/09122025/11/11/image_09122025_11_11_55_9652.jpg
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_15_10594.jpg
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_25_9651.jpg
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_35_10647.jpg
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_45_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398536928","1398536904","1398536972","1398536927","1398536932","1398536892"],"photo_ids_order":["1398536892","1398536904","1398536927","1398536928","1398536932","1398536972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2267013c38d331d26bb6f1f47e2d12c7.jpg","text":"TemporaryFile(/tmp/multipartBody2100237652043156895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_12_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2333ff359e83575a471ca2e91ea19ac.jpg","text":"TemporaryFile(/tmp/multipartBody3800051123380637690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_11_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb2142d38e1ec29b986132147f3066ec.jpg","text":"TemporaryFile(/tmp/multipartBody3170283101071200956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_12_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d9638da56ad4bf894eb8c5e34ee0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1535410799922583185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_12_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0102f2ea5908841a5c50a40c5d9d7f59.jpg","text":"TemporaryFile(/tmp/multipartBody7637945906067093039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_12_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b12cf58d0228ca8cc8dfa1ecd12526d9.jpg","text":"TemporaryFile(/tmp/multipartBody5657605317398898850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306403735,"filename":"image_09122025_11_11_45_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398536927","file1":"1398536904","file0":"1398536892","file4":"1398536932","file5":"1398536972","file3":"1398536928"},"map_files_photo_id_array":[{"photo_id":"1398536972","filename":"file5"},{"photo_id":"1398536927","filename":"file2"},{"photo_id":"1398536932","filename":"file4"},{"photo_id":"1398536904","filename":"file1"},{"photo_id":"1398536892","filename":"file0"},{"photo_id":"1398536928","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398536928":["hashtag1","hashtag2"]},{"1398536904":["hashtag1","hashtag2"]},{"1398536972":["hashtag1","hashtag2"]},{"1398536927":["hashtag1","hashtag2"]},{"1398536932":["hashtag1","hashtag2"]},{"1398536892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398536928, 1398536904, 1398536972, 1398536927, 1398536932, 1398536892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79743790626526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:53:02.664205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_55_9664.jpg', '/home/pi/Desktop/images/09122025/11/12/image_09122025_11_13_05_10665.jpg', '/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_15_9807.jpg', '/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_25_9717.jpg', '/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_35_10615.jpg', '/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_12_55_9664.jpg
/home/pi/Desktop/images/09122025/11/12/image_09122025_11_13_05_10665.jpg
/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_15_9807.jpg
/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_25_9717.jpg
/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_35_10615.jpg
/home/pi/Desktop/images/09122025/11/13/image_09122025_11_13_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537036","1398537041","1398537038","1398537035","1398537037","1398537031"],"photo_ids_order":["1398537031","1398537035","1398537036","1398537037","1398537038","1398537041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a6ec1eb0e97e698adbce7c71968252e.jpg","text":"TemporaryFile(/tmp/multipartBody5374838348007585420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_13_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc4697d2fbe66b48f7730bf1fed6cdef.jpg","text":"TemporaryFile(/tmp/multipartBody7961977201733910563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_13_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6a8fb399e0f8907edbd26a2f7a0da7f.jpg","text":"TemporaryFile(/tmp/multipartBody4708184722395877512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_13_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c9b47ffb500dfdae5feec528f7c1a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7916724247277556198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_13_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa9f40f2f097623f1cc791723159df18.jpg","text":"TemporaryFile(/tmp/multipartBody2890355591271047354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_13_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97b07d81e2cc35af9dd0cf1b77d889da.jpg","text":"TemporaryFile(/tmp/multipartBody4298880049142823809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306443305,"filename":"image_09122025_11_12_55_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537036","file1":"1398537035","file0":"1398537031","file4":"1398537038","file5":"1398537041","file3":"1398537037"},"map_files_photo_id_array":[{"photo_id":"1398537041","filename":"file5"},{"photo_id":"1398537036","filename":"file2"},{"photo_id":"1398537038","filename":"file4"},{"photo_id":"1398537035","filename":"file1"},{"photo_id":"1398537031","filename":"file0"},{"photo_id":"1398537037","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537036":["hashtag1","hashtag2"]},{"1398537041":["hashtag1","hashtag2"]},{"1398537038":["hashtag1","hashtag2"]},{"1398537035":["hashtag1","hashtag2"]},{"1398537037":["hashtag1","hashtag2"]},{"1398537031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537036, 1398537041, 1398537038, 1398537035, 1398537037, 1398537031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.320578813552856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:53:42.088035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_26_2809.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_38_9961.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_41_3118.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_43_1601.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_45_1630.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_46_1702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_26_2809.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_38_9961.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_41_3118.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_43_1601.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_45_1630.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_46_1702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537062","1398537050","1398537067","1398537064","1398537058","1398537060"],"photo_ids_order":["1398537050","1398537058","1398537060","1398537062","1398537064","1398537067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6dc2a3efc825d5af06650fd824f4ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1989176193312520384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_43_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8891dbae094323f0e4f09c0553f78565.jpg","text":"TemporaryFile(/tmp/multipartBody1216296777521124474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_26_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a22839e40a5e71bf5f3c57540648f97.jpg","text":"TemporaryFile(/tmp/multipartBody7684456441491145015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_46_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ff3ff2d9999a016f1f766f9cad8fe52.jpg","text":"TemporaryFile(/tmp/multipartBody1686761853891335946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_45_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e064bc2a7a1513fa835f5f36ca531bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4006690394697585599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_38_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21ba91370472340cec314fd22cc07387.jpg","text":"TemporaryFile(/tmp/multipartBody6363418286413092595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306483090,"filename":"image_01112025_19_31_41_3118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537060","file1":"1398537058","file0":"1398537050","file4":"1398537064","file5":"1398537067","file3":"1398537062"},"map_files_photo_id_array":[{"photo_id":"1398537067","filename":"file5"},{"photo_id":"1398537060","filename":"file2"},{"photo_id":"1398537064","filename":"file4"},{"photo_id":"1398537058","filename":"file1"},{"photo_id":"1398537050","filename":"file0"},{"photo_id":"1398537062","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398537062":["hashtag1","hashtag2"]},{"1398537050":["hashtag1","hashtag2"]},{"1398537067":["hashtag1","hashtag2"]},{"1398537064":["hashtag1","hashtag2"]},{"1398537058":["hashtag1","hashtag2"]},{"1398537060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398537062, 1398537050, 1398537067, 1398537064, 1398537058, 1398537060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46767044067383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:54:22.553826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/13/image_09122025_11_14_05_10613.jpg', '/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_15_9666.jpg', '/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_25_9654.jpg', '/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_35_9786.jpg', '/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_45_10645.jpg', '/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_25_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/13/image_09122025_11_14_05_10613.jpg
/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_15_9666.jpg
/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_25_9654.jpg
/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_35_9786.jpg
/home/pi/Desktop/images/09122025/11/14/image_09122025_11_14_45_10645.jpg
/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_25_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537089","1398537083","1398537079","1398537076","1398537093","1398537078"],"photo_ids_order":["1398537076","1398537078","1398537079","1398537083","1398537089","1398537093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64b6cf94b4f8a68d0ed4be063c7d1c26.jpg","text":"TemporaryFile(/tmp/multipartBody506884014499798145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_14_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00f0a49306f49d160df275ea8159f0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4332804174352283737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_14_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d3b38002682cf1832a5d10871403949.jpg","text":"TemporaryFile(/tmp/multipartBody7218101134069759502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_14_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0bb9980ef4fc558feb327eddeb015696.jpg","text":"TemporaryFile(/tmp/multipartBody3225072148218253769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_14_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e42a7f1a60e51c087906a8946026a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody7452880438446605497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_15_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3e26ee32574e700a4da23fa2f7dc3ee.jpg","text":"TemporaryFile(/tmp/multipartBody1532940174321643697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306523194,"filename":"image_09122025_11_14_15_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537079","file1":"1398537078","file0":"1398537076","file4":"1398537089","file5":"1398537093","file3":"1398537083"},"map_files_photo_id_array":[{"photo_id":"1398537093","filename":"file5"},{"photo_id":"1398537079","filename":"file2"},{"photo_id":"1398537089","filename":"file4"},{"photo_id":"1398537078","filename":"file1"},{"photo_id":"1398537076","filename":"file0"},{"photo_id":"1398537083","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537089":["hashtag1","hashtag2"]},{"1398537083":["hashtag1","hashtag2"]},{"1398537079":["hashtag1","hashtag2"]},{"1398537076":["hashtag1","hashtag2"]},{"1398537093":["hashtag1","hashtag2"]},{"1398537078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537089, 1398537083, 1398537079, 1398537076, 1398537093, 1398537078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2558171749115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:55:03.297938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_35_9715.jpg', '/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_45_10544.jpg', '/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_55_9717.jpg', '/home/pi/Desktop/images/09122025/11/15/image_09122025_11_16_04_9535.jpg', '/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_15_10716.jpg', '/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_25_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_35_9715.jpg
/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_45_10544.jpg
/home/pi/Desktop/images/09122025/11/15/image_09122025_11_15_55_9717.jpg
/home/pi/Desktop/images/09122025/11/15/image_09122025_11_16_04_9535.jpg
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_15_10716.jpg
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_25_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537213","1398537222","1398537197","1398537169","1398537220","1398537217"],"photo_ids_order":["1398537169","1398537197","1398537213","1398537217","1398537220","1398537222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed2aee8f435223e6f99900bb733c6e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7192188752273810101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_15_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ad9adae8d3730e4cccdf68f759856d6.jpg","text":"TemporaryFile(/tmp/multipartBody8289868358043426417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_16_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94321ee72a7375b948b41342eef9f898.jpg","text":"TemporaryFile(/tmp/multipartBody1603898492569972267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_15_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5bf8117ec3743bfe90c8be2588a2a168.jpg","text":"TemporaryFile(/tmp/multipartBody2133533076290867382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_15_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba36d81aa554b975059c7c6ff4978f8e.jpg","text":"TemporaryFile(/tmp/multipartBody5042920359369650885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_16_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bb6ee88b38ec44fd266c356aa65eeaa.jpg","text":"TemporaryFile(/tmp/multipartBody3893265559804415379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306563934,"filename":"image_09122025_11_16_04_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537213","file1":"1398537197","file0":"1398537169","file4":"1398537220","file5":"1398537222","file3":"1398537217"},"map_files_photo_id_array":[{"photo_id":"1398537222","filename":"file5"},{"photo_id":"1398537213","filename":"file2"},{"photo_id":"1398537220","filename":"file4"},{"photo_id":"1398537197","filename":"file1"},{"photo_id":"1398537169","filename":"file0"},{"photo_id":"1398537217","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537213":["hashtag1","hashtag2"]},{"1398537222":["hashtag1","hashtag2"]},{"1398537197":["hashtag1","hashtag2"]},{"1398537169":["hashtag1","hashtag2"]},{"1398537220":["hashtag1","hashtag2"]},{"1398537217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537213, 1398537222, 1398537197, 1398537169, 1398537220, 1398537217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49836754798889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:56:03.289492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_35_9727.jpg', '/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_45_10617.jpg', '/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_55_9719.jpg', '/home/pi/Desktop/images/09122025/11/16/image_09122025_11_17_05_9640.jpg', '/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_15_10653.jpg', '/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_25_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_35_9727.jpg
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_45_10617.jpg
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_16_55_9719.jpg
/home/pi/Desktop/images/09122025/11/16/image_09122025_11_17_05_9640.jpg
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_15_10653.jpg
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_25_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537356","1398537242","1398537245","1398537250","1398537247","1398537238"],"photo_ids_order":["1398537238","1398537242","1398537245","1398537247","1398537250","1398537356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/961f3dd2379244ce091666598cc72caf.jpg","text":"TemporaryFile(/tmp/multipartBody8752137207346565300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_17_25_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8c082b0c1f1b392068b2d99c7b671c6.jpg","text":"TemporaryFile(/tmp/multipartBody7090379014632329928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_16_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec7d3f4cbe7cefdda36b49353d6402d1.jpg","text":"TemporaryFile(/tmp/multipartBody3030446704107474401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_16_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0df85c23bd26f51d8f35d78f1969c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody7037867966656725626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_17_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62391c49693597e78504c2b2a83f2c5e.jpg","text":"TemporaryFile(/tmp/multipartBody700406878650866646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_17_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e633a9e2c239bcce79c44421def44604.jpg","text":"TemporaryFile(/tmp/multipartBody3757022754461322814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306623903,"filename":"image_09122025_11_16_35_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537245","file1":"1398537242","file0":"1398537238","file4":"1398537250","file5":"1398537356","file3":"1398537247"},"map_files_photo_id_array":[{"photo_id":"1398537356","filename":"file5"},{"photo_id":"1398537245","filename":"file2"},{"photo_id":"1398537250","filename":"file4"},{"photo_id":"1398537242","filename":"file1"},{"photo_id":"1398537238","filename":"file0"},{"photo_id":"1398537247","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537356":["hashtag1","hashtag2"]},{"1398537242":["hashtag1","hashtag2"]},{"1398537245":["hashtag1","hashtag2"]},{"1398537250":["hashtag1","hashtag2"]},{"1398537247":["hashtag1","hashtag2"]},{"1398537238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537356, 1398537242, 1398537245, 1398537250, 1398537247, 1398537238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.688636302948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:56:42.664783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_48_1603.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_50_1622.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_52_2790.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_55_2562.jpg', '/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_58_2770.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_07_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_48_1603.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_50_1622.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_52_2790.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_55_2562.jpg
/home/pi/Desktop/images/01112025/19/31/image_01112025_19_31_58_2770.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_07_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537575","1398537513","1398537497","1398537515","1398537511","1398537579"],"photo_ids_order":["1398537497","1398537511","1398537513","1398537515","1398537575","1398537579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85faf2ed3f9b7e596e0083fcea8beaea.jpg","text":"TemporaryFile(/tmp/multipartBody3203771606535244433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_31_58_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2bd9f3a8a80d1c0c8543cbe6fd2189a.jpg","text":"TemporaryFile(/tmp/multipartBody8535876118537269618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_31_52_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6404274e747f9c4317fa9aa54d40424.jpg","text":"TemporaryFile(/tmp/multipartBody5737559805690234929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_31_48_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b165374fc43fea7807717f00ecb5326.jpg","text":"TemporaryFile(/tmp/multipartBody1516857388142297468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_31_55_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d03f6af9ea70f5f33a7fab25290da6a.jpg","text":"TemporaryFile(/tmp/multipartBody7282738750424975947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_31_50_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/513808bde9965ffee748afb4367d15cd.jpg","text":"TemporaryFile(/tmp/multipartBody7187032877186404795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306663634,"filename":"image_01112025_19_32_07_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537513","file1":"1398537511","file0":"1398537497","file4":"1398537575","file5":"1398537579","file3":"1398537515"},"map_files_photo_id_array":[{"photo_id":"1398537579","filename":"file5"},{"photo_id":"1398537513","filename":"file2"},{"photo_id":"1398537575","filename":"file4"},{"photo_id":"1398537511","filename":"file1"},{"photo_id":"1398537497","filename":"file0"},{"photo_id":"1398537515","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398537575":["hashtag1","hashtag2"]},{"1398537513":["hashtag1","hashtag2"]},{"1398537497":["hashtag1","hashtag2"]},{"1398537515":["hashtag1","hashtag2"]},{"1398537511":["hashtag1","hashtag2"]},{"1398537579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398537575, 1398537513, 1398537497, 1398537515, 1398537511, 1398537579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.820496797561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 19:57:21.990781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_34_9569.jpg', '/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_45_10769.jpg', '/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_55_9745.jpg', '/home/pi/Desktop/images/09122025/11/17/image_09122025_11_18_05_9847.jpg', '/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_14_9540.jpg', '/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_25_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_34_9569.jpg
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_45_10769.jpg
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_17_55_9745.jpg
/home/pi/Desktop/images/09122025/11/17/image_09122025_11_18_05_9847.jpg
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_14_9540.jpg
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_25_10524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537630","1398537644","1398537623","1398537625","1398537628","1398537627"],"photo_ids_order":["1398537623","1398537625","1398537627","1398537628","1398537630","1398537644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53aaa47effd524c21d09498734feafc7.jpg","text":"TemporaryFile(/tmp/multipartBody6136638509672344081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_18_14_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f4d45fe12348be325329b0e2f221b09.jpg","text":"TemporaryFile(/tmp/multipartBody7826285652814417216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_18_25_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55269fe6fecb96dd9784b68294b895c8.jpg","text":"TemporaryFile(/tmp/multipartBody2732976240713010643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_17_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67b0318638a614be7f8d5b74c1f40b39.jpg","text":"TemporaryFile(/tmp/multipartBody722821358453189551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_17_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32e04d33c632f16edcf6840d38f6bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody2588145810988621716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_18_05_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a251a4f0cb4302b3b2f441e735a892a2.jpg","text":"TemporaryFile(/tmp/multipartBody3144096316075896734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306702601,"filename":"image_09122025_11_17_55_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537627","file1":"1398537625","file0":"1398537623","file4":"1398537630","file5":"1398537644","file3":"1398537628"},"map_files_photo_id_array":[{"photo_id":"1398537644","filename":"file5"},{"photo_id":"1398537627","filename":"file2"},{"photo_id":"1398537630","filename":"file4"},{"photo_id":"1398537625","filename":"file1"},{"photo_id":"1398537623","filename":"file0"},{"photo_id":"1398537628","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537630":["hashtag1","hashtag2"]},{"1398537644":["hashtag1","hashtag2"]},{"1398537623":["hashtag1","hashtag2"]},{"1398537625":["hashtag1","hashtag2"]},{"1398537628":["hashtag1","hashtag2"]},{"1398537627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537630, 1398537644, 1398537623, 1398537625, 1398537628, 1398537627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69093155860901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 19:59:03.307959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_34_9587.jpg', '/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_45_10717.jpg', '/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_55_9670.jpg', '/home/pi/Desktop/images/09122025/11/18/image_09122025_11_19_05_9808.jpg', '/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_15_10648.jpg', '/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_25_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_34_9587.jpg
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_45_10717.jpg
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_18_55_9670.jpg
/home/pi/Desktop/images/09122025/11/18/image_09122025_11_19_05_9808.jpg
/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_15_10648.jpg
/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_25_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398537895","1398537856","1398537975","1398538014","1398537933","1398537813"],"photo_ids_order":["1398537813","1398537856","1398537895","1398537933","1398537975","1398538014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/021e11126836cf0fd85afea7b977597b.jpg","text":"TemporaryFile(/tmp/multipartBody8408149252872975870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_18_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8ead754499a214ea23e2d2a5c64cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody5067791491442294112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_18_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/202455708dab4efe5d9d824273795682.jpg","text":"TemporaryFile(/tmp/multipartBody3147913928296110241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_19_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/187cdb57f2833135cc3f621677a01382.jpg","text":"TemporaryFile(/tmp/multipartBody2347886745716433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_19_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3cb4b42828af018cbc8bdc1b7c3f7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3521311361658626111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_19_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a030834ba5638b3d141514b6a33e4a11.jpg","text":"TemporaryFile(/tmp/multipartBody1241919714813394975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306804035,"filename":"image_09122025_11_18_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398537895","file1":"1398537856","file0":"1398537813","file4":"1398537975","file5":"1398538014","file3":"1398537933"},"map_files_photo_id_array":[{"photo_id":"1398538014","filename":"file5"},{"photo_id":"1398537895","filename":"file2"},{"photo_id":"1398537975","filename":"file4"},{"photo_id":"1398537856","filename":"file1"},{"photo_id":"1398537813","filename":"file0"},{"photo_id":"1398537933","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398537895":["hashtag1","hashtag2"]},{"1398537856":["hashtag1","hashtag2"]},{"1398537975":["hashtag1","hashtag2"]},{"1398538014":["hashtag1","hashtag2"]},{"1398537933":["hashtag1","hashtag2"]},{"1398537813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398537895, 1398537856, 1398537975, 1398538014, 1398537933, 1398537813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2363600730896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 19:59:42.370788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_10_2949.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_13_3588.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_23_2962.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_30_4370.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_31_1651.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_34_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_10_2949.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_13_3588.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_23_2962.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_30_4370.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_31_1651.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_34_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398538391","1398538352","1398538307","1398538156","1398538251","1398538206"],"photo_ids_order":["1398538156","1398538206","1398538251","1398538307","1398538352","1398538391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec90ce243d4859dddb48cb107ee26c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8330374346811798655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43c6a707c9fe3a9a686aaa81765dc0d5.jpg","text":"TemporaryFile(/tmp/multipartBody5812074930269700020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_31_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f58b93055b1d0e8181cc7423adf535e.jpg","text":"TemporaryFile(/tmp/multipartBody8153688719867134795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_30_4370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7af9511631584be4708573ef8f078079.jpg","text":"TemporaryFile(/tmp/multipartBody1554245581575790596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_10_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f87ef1e8c2b8c049883d340e92f397f.jpg","text":"TemporaryFile(/tmp/multipartBody377404444805887317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_23_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe8ae2cab982bdca634f1db5396b01d3.jpg","text":"TemporaryFile(/tmp/multipartBody7148114075563378203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306843334,"filename":"image_01112025_19_32_13_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398538251","file1":"1398538206","file0":"1398538156","file4":"1398538352","file5":"1398538391","file3":"1398538307"},"map_files_photo_id_array":[{"photo_id":"1398538391","filename":"file5"},{"photo_id":"1398538251","filename":"file2"},{"photo_id":"1398538352","filename":"file4"},{"photo_id":"1398538206","filename":"file1"},{"photo_id":"1398538156","filename":"file0"},{"photo_id":"1398538307","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398538391":["hashtag1","hashtag2"]},{"1398538352":["hashtag1","hashtag2"]},{"1398538307":["hashtag1","hashtag2"]},{"1398538156":["hashtag1","hashtag2"]},{"1398538251":["hashtag1","hashtag2"]},{"1398538206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398538391, 1398538352, 1398538307, 1398538156, 1398538251, 1398538206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47245979309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:00:32.709806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_15_10563.jpg', '/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_24_9596.jpg', '/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_34_9855.jpg', '/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_45_10687.jpg', '/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_54_9631.jpg', '/home/pi/Desktop/images/08122025/13/23/image_08122025_13_24_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_15_10563.jpg
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_24_9596.jpg
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_34_9855.jpg
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_45_10687.jpg
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_23_54_9631.jpg
/home/pi/Desktop/images/08122025/13/23/image_08122025_13_24_04_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398538547","1398538693","1398538555","1398538534","1398538612","1398538536"],"photo_ids_order":["1398538534","1398538536","1398538547","1398538555","1398538612","1398538693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/051251361a0faaa08d9d9598c1806872.jpg","text":"TemporaryFile(/tmp/multipartBody271587307833380736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_23_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ea479dfb64eb09c9c8b6cf4ead9102a.jpg","text":"TemporaryFile(/tmp/multipartBody7247366423842926373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_24_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19e9417fbe8809241a647ce8c7543f68.jpg","text":"TemporaryFile(/tmp/multipartBody7394784738573385740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_23_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/968272547370d584653c01d09d2aa868.jpg","text":"TemporaryFile(/tmp/multipartBody6475509046078890534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_23_15_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b0289df298644e67ec0d9030025f3a53.jpg","text":"TemporaryFile(/tmp/multipartBody8535995896555358323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_23_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fd178bd5cb1715664d65c5343ce3161.jpg","text":"TemporaryFile(/tmp/multipartBody6715645337217022581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306894639,"filename":"image_08122025_13_23_24_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398538547","file1":"1398538536","file0":"1398538534","file4":"1398538612","file5":"1398538693","file3":"1398538555"},"map_files_photo_id_array":[{"photo_id":"1398538693","filename":"file5"},{"photo_id":"1398538547","filename":"file2"},{"photo_id":"1398538612","filename":"file4"},{"photo_id":"1398538536","filename":"file1"},{"photo_id":"1398538534","filename":"file0"},{"photo_id":"1398538555","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398538547":["hashtag1","hashtag2"]},{"1398538693":["hashtag1","hashtag2"]},{"1398538555":["hashtag1","hashtag2"]},{"1398538534":["hashtag1","hashtag2"]},{"1398538612":["hashtag1","hashtag2"]},{"1398538536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398538547, 1398538693, 1398538555, 1398538534, 1398538612, 1398538536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99647521972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:01:11.789633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_15_10603.jpg', '/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_24_9638.jpg', '/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_34_9879.jpg', '/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_45_10436.jpg', '/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_54_9588.jpg', '/home/pi/Desktop/images/08122025/13/24/image_08122025_13_25_05_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_15_10603.jpg
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_24_9638.jpg
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_34_9879.jpg
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_45_10436.jpg
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_24_54_9588.jpg
/home/pi/Desktop/images/08122025/13/24/image_08122025_13_25_05_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398538838","1398538823","1398539008","1398538893","1398539090","1398538790"],"photo_ids_order":["1398538790","1398538823","1398538838","1398538893","1398539008","1398539090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e6b3995165e14ad841d29f830d95aad.jpg","text":"TemporaryFile(/tmp/multipartBody2898705633040419915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_24_34_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7801b08705fec535feb2a44578640ed.jpg","text":"TemporaryFile(/tmp/multipartBody1372936514900816162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_24_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ae50567fcb64fae48e13514debe3cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2707842001294316589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_24_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e6e58252c404c92326f274ef0468f21.jpg","text":"TemporaryFile(/tmp/multipartBody8303291981817448407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_24_45_10436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3b9ad66313f4ff27646aa650a9ed230.jpg","text":"TemporaryFile(/tmp/multipartBody6409849716800062901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_25_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4929f3c98b687c7d842deeb79fcd5cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2670132740285070063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306933579,"filename":"image_08122025_13_24_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398538838","file1":"1398538823","file0":"1398538790","file4":"1398539008","file5":"1398539090","file3":"1398538893"},"map_files_photo_id_array":[{"photo_id":"1398539090","filename":"file5"},{"photo_id":"1398538838","filename":"file2"},{"photo_id":"1398539008","filename":"file4"},{"photo_id":"1398538823","filename":"file1"},{"photo_id":"1398538790","filename":"file0"},{"photo_id":"1398538893","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398538838":["hashtag1","hashtag2"]},{"1398538823":["hashtag1","hashtag2"]},{"1398539008":["hashtag1","hashtag2"]},{"1398538893":["hashtag1","hashtag2"]},{"1398539090":["hashtag1","hashtag2"]},{"1398538790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398538838, 1398538823, 1398539008, 1398538893, 1398539090, 1398538790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89967203140259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:02:02.485907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_34_9630.jpg', '/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_45_10720.jpg', '/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_55_9638.jpg', '/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_25_10666.jpg', '/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_35_9779.jpg', '/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_45_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_34_9630.jpg
/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_45_10720.jpg
/home/pi/Desktop/images/09122025/11/19/image_09122025_11_19_55_9638.jpg
/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_25_10666.jpg
/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_35_9779.jpg
/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_45_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398539284","1398539442","1398539379","1398539514","1398539477","1398539324"],"photo_ids_order":["1398539284","1398539324","1398539379","1398539442","1398539477","1398539514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d555dcd695592a389e9be6423d63335.jpg","text":"TemporaryFile(/tmp/multipartBody3671149339582854184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_19_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f13fb2469f8070cd5d50aa521a59f5ea.jpg","text":"TemporaryFile(/tmp/multipartBody8606253370634508413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_20_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/436a88a446c1311de8b69084e8396a99.jpg","text":"TemporaryFile(/tmp/multipartBody5863516481769950864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_19_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2f59c3499973cf32e846a1b195b46ef.jpg","text":"TemporaryFile(/tmp/multipartBody4464093227602521055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_20_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab4999a5f7d0f3981c5cb89d37c81e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8617648868944028052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_20_35_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/018f9a963a9133ca14c2a6cfeeff77dd.jpg","text":"TemporaryFile(/tmp/multipartBody149649249762588542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765306983095,"filename":"image_09122025_11_19_45_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398539379","file1":"1398539324","file0":"1398539284","file4":"1398539477","file5":"1398539514","file3":"1398539442"},"map_files_photo_id_array":[{"photo_id":"1398539514","filename":"file5"},{"photo_id":"1398539379","filename":"file2"},{"photo_id":"1398539477","filename":"file4"},{"photo_id":"1398539324","filename":"file1"},{"photo_id":"1398539284","filename":"file0"},{"photo_id":"1398539442","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398539284":["hashtag1","hashtag2"]},{"1398539442":["hashtag1","hashtag2"]},{"1398539379":["hashtag1","hashtag2"]},{"1398539514":["hashtag1","hashtag2"]},{"1398539477":["hashtag1","hashtag2"]},{"1398539324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398539284, 1398539442, 1398539379, 1398539514, 1398539477, 1398539324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9530885219574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:02:42.046925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_38_3677.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_40_2610.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_43_2592.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_46_3647.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_49_2699.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_52_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_38_3677.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_40_2610.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_43_2592.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_46_3647.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_49_2699.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_52_2637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8982300758361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:03:02.887282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_55_10729.jpg', '/home/pi/Desktop/images/09122025/11/20/image_09122025_11_21_05_9642.jpg', '/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_15_9597.jpg', '/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_25_10674.jpg', '/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_35_9582.jpg', '/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_45_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/20/image_09122025_11_20_55_10729.jpg
/home/pi/Desktop/images/09122025/11/20/image_09122025_11_21_05_9642.jpg
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_15_9597.jpg
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_25_10674.jpg
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_35_9582.jpg
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_45_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398539935","1398539895","1398540055","1398539976","1398539853","1398540015"],"photo_ids_order":["1398539853","1398539895","1398539935","1398539976","1398540015","1398540055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/658396856ec60d0e59a3be864a3131e9.jpg","text":"TemporaryFile(/tmp/multipartBody1574639790964390663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_21_15_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb36954f3d25b4060a282d6c34b48cea.jpg","text":"TemporaryFile(/tmp/multipartBody5235508025416197560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_21_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f63c61cd7f33b6518b5c0393c51ac708.jpg","text":"TemporaryFile(/tmp/multipartBody3085816337769373061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_21_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4b4fbc0cabe23fd1b52d84fc8556fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7718185930369931067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_21_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d49cae16cd1e4d052248f24aca8d39d0.jpg","text":"TemporaryFile(/tmp/multipartBody8905056012819235256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_20_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbbd1878ecfb64e9eea7e75896255ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2162452025451740787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307043547,"filename":"image_09122025_11_21_35_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398539935","file1":"1398539895","file0":"1398539853","file4":"1398540015","file5":"1398540055","file3":"1398539976"},"map_files_photo_id_array":[{"photo_id":"1398540055","filename":"file5"},{"photo_id":"1398539935","filename":"file2"},{"photo_id":"1398540015","filename":"file4"},{"photo_id":"1398539895","filename":"file1"},{"photo_id":"1398539853","filename":"file0"},{"photo_id":"1398539976","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398539935":["hashtag1","hashtag2"]},{"1398539895":["hashtag1","hashtag2"]},{"1398540055":["hashtag1","hashtag2"]},{"1398539976":["hashtag1","hashtag2"]},{"1398539853":["hashtag1","hashtag2"]},{"1398540015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398539935, 1398539895, 1398540055, 1398539976, 1398539853, 1398540015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.808818340301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:03:42.254351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_38_3677.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_40_2610.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_43_2592.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_46_3647.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_49_2699.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_52_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_38_3677.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_40_2610.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_43_2592.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_46_3647.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_49_2699.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_52_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398540473","1398540422","1398540283","1398540189","1398540228","1398540365"],"photo_ids_order":["1398540189","1398540228","1398540283","1398540365","1398540422","1398540473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78549135331b29c271823019fd522235.jpg","text":"TemporaryFile(/tmp/multipartBody5787235279686737970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_52_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/163ef333c8586453a97adace352f7f02.jpg","text":"TemporaryFile(/tmp/multipartBody3206210924999298477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_49_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f181aa44cd53cf490ce8195a3405bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5039009181793273654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_43_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f63e7cd93c77949a0214d80a0dbab353.jpg","text":"TemporaryFile(/tmp/multipartBody4077914166036493620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_38_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb9d1b888a7d217acebc72db6445cd58.jpg","text":"TemporaryFile(/tmp/multipartBody6051010864886291350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73bdfec998d951b0a40c9a38541d7adf.jpg","text":"TemporaryFile(/tmp/multipartBody1136651018617249270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307083106,"filename":"image_01112025_19_32_46_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398540283","file1":"1398540228","file0":"1398540189","file4":"1398540422","file5":"1398540473","file3":"1398540365"},"map_files_photo_id_array":[{"photo_id":"1398540473","filename":"file5"},{"photo_id":"1398540283","filename":"file2"},{"photo_id":"1398540422","filename":"file4"},{"photo_id":"1398540228","filename":"file1"},{"photo_id":"1398540189","filename":"file0"},{"photo_id":"1398540365","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398540473":["hashtag1","hashtag2"]},{"1398540422":["hashtag1","hashtag2"]},{"1398540283":["hashtag1","hashtag2"]},{"1398540189":["hashtag1","hashtag2"]},{"1398540228":["hashtag1","hashtag2"]},{"1398540365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398540473, 1398540422, 1398540283, 1398540189, 1398540228, 1398540365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.745418548583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:04:22.539751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_55_10703.jpg', '/home/pi/Desktop/images/09122025/11/21/image_09122025_11_22_05_9685.jpg', '/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_15_9680.jpg', '/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_25_10634.jpg', '/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_35_9703.jpg', '/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_45_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_21_55_10703.jpg
/home/pi/Desktop/images/09122025/11/21/image_09122025_11_22_05_9685.jpg
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_15_9680.jpg
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_25_10634.jpg
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_35_9703.jpg
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_45_9551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398540536","1398540541","1398540550","1398540534","1398540537","1398540531"],"photo_ids_order":["1398540531","1398540534","1398540536","1398540537","1398540541","1398540550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9eda7c474d89b272805301466d41d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody952542762320276095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_22_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2fdfe41a622eeb272cf3f25cf1924215.jpg","text":"TemporaryFile(/tmp/multipartBody8003866593968859755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_22_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4258063724e538e13be5c42b1b255288.jpg","text":"TemporaryFile(/tmp/multipartBody7409909508848070540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_22_45_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a85f2c058595311195f54fba545a9e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8912256693739638621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_22_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd97023a5cac328cc9698e3f23e3f4c6.jpg","text":"TemporaryFile(/tmp/multipartBody1052727720554393866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_22_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cebc9ac86dfda0a0a83166bfe47b2751.jpg","text":"TemporaryFile(/tmp/multipartBody2290091588672876729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307123150,"filename":"image_09122025_11_21_55_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398540536","file1":"1398540534","file0":"1398540531","file4":"1398540541","file5":"1398540550","file3":"1398540537"},"map_files_photo_id_array":[{"photo_id":"1398540550","filename":"file5"},{"photo_id":"1398540536","filename":"file2"},{"photo_id":"1398540541","filename":"file4"},{"photo_id":"1398540534","filename":"file1"},{"photo_id":"1398540531","filename":"file0"},{"photo_id":"1398540537","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398540536":["hashtag1","hashtag2"]},{"1398540541":["hashtag1","hashtag2"]},{"1398540550":["hashtag1","hashtag2"]},{"1398540534":["hashtag1","hashtag2"]},{"1398540537":["hashtag1","hashtag2"]},{"1398540531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398540536, 1398540541, 1398540550, 1398540534, 1398540537, 1398540531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.204240798950195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:05:03.277160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_54_9836.jpg', '/home/pi/Desktop/images/09122025/11/22/image_09122025_11_23_05_10724.jpg', '/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_15_9867.jpg', '/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_25_9667.jpg', '/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_35_10601.jpg', '/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_45_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_22_54_9836.jpg
/home/pi/Desktop/images/09122025/11/22/image_09122025_11_23_05_10724.jpg
/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_15_9867.jpg
/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_25_9667.jpg
/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_35_10601.jpg
/home/pi/Desktop/images/09122025/11/23/image_09122025_11_23_45_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398540569","1398540580","1398540574","1398540583","1398540577","1398540579"],"photo_ids_order":["1398540569","1398540574","1398540577","1398540579","1398540580","1398540583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d3ff9075abbc2387c3073a44e6113aa.jpg","text":"TemporaryFile(/tmp/multipartBody7247852560878950661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_22_54_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/096cb347e2f496b17959eae33a01aadb.jpg","text":"TemporaryFile(/tmp/multipartBody4823881079244754427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_23_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb64c02c9c54624088e8a456052da500.jpg","text":"TemporaryFile(/tmp/multipartBody5037188169623005058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_23_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ac7a3162e6dded43cf152eec0911c6a.jpg","text":"TemporaryFile(/tmp/multipartBody7407704094917312623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_23_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0edebd4e34d64e029b883e5f13423c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8237842852429906399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_23_15_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03aa16ec1fc832d252bcb9bbe5bb1a15.jpg","text":"TemporaryFile(/tmp/multipartBody3820790906595459967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307163948,"filename":"image_09122025_11_23_25_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398540577","file1":"1398540574","file0":"1398540569","file4":"1398540580","file5":"1398540583","file3":"1398540579"},"map_files_photo_id_array":[{"photo_id":"1398540583","filename":"file5"},{"photo_id":"1398540577","filename":"file2"},{"photo_id":"1398540580","filename":"file4"},{"photo_id":"1398540574","filename":"file1"},{"photo_id":"1398540569","filename":"file0"},{"photo_id":"1398540579","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398540569":["hashtag1","hashtag2"]},{"1398540580":["hashtag1","hashtag2"]},{"1398540574":["hashtag1","hashtag2"]},{"1398540583":["hashtag1","hashtag2"]},{"1398540577":["hashtag1","hashtag2"]},{"1398540579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398540569, 1398540580, 1398540574, 1398540583, 1398540577, 1398540579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807466983795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:05:42.732610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_56_3743.jpg', '/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_58_2620.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_05_3551.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_07_2590.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_10_2779.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_13_3024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_56_3743.jpg
/home/pi/Desktop/images/01112025/19/32/image_01112025_19_32_58_2620.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_05_3551.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_07_2590.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_10_2779.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_13_3024.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398540898","1398540722","1398541000","1398540849","1398540953","1398540797"],"photo_ids_order":["1398540722","1398540797","1398540849","1398540898","1398540953","1398541000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e97f52f4d66a24e4a34cef82b5bc2504.jpg","text":"TemporaryFile(/tmp/multipartBody1829243597772779687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_33_07_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eca81e1842cfc3d5d29f4e5dd796a40b.jpg","text":"TemporaryFile(/tmp/multipartBody6979201621010784011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_32_56_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bd53dea0fd9ab671f8ed837614c5057.jpg","text":"TemporaryFile(/tmp/multipartBody6110179406291650081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_33_13_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c489a768f9de121609e235aee3b904bd.jpg","text":"TemporaryFile(/tmp/multipartBody8180064584534384727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_33_05_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07443a2c8d4a7eaed17d3fda7418ca6b.jpg","text":"TemporaryFile(/tmp/multipartBody3999541722201151034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_33_10_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e09a7ef3f0b33fc49a846330b412e85b.jpg","text":"TemporaryFile(/tmp/multipartBody8481986892528782037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307203707,"filename":"image_01112025_19_32_58_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398540849","file1":"1398540797","file0":"1398540722","file4":"1398540953","file5":"1398541000","file3":"1398540898"},"map_files_photo_id_array":[{"photo_id":"1398541000","filename":"file5"},{"photo_id":"1398540849","filename":"file2"},{"photo_id":"1398540953","filename":"file4"},{"photo_id":"1398540797","filename":"file1"},{"photo_id":"1398540722","filename":"file0"},{"photo_id":"1398540898","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398540898":["hashtag1","hashtag2"]},{"1398540722":["hashtag1","hashtag2"]},{"1398541000":["hashtag1","hashtag2"]},{"1398540849":["hashtag1","hashtag2"]},{"1398540953":["hashtag1","hashtag2"]},{"1398540797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398540898, 1398540722, 1398541000, 1398540849, 1398540953, 1398540797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38089346885681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:06:21.957275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_14_10053.jpg', '/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_45_9825.jpg', '/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_55_9983.jpg', '/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_24_9612.jpg', '/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_38_14037.jpg', '/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_45_6544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_14_10053.jpg
/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_45_9825.jpg
/home/pi/Desktop/images/09122025/11/25/image_09122025_11_25_55_9983.jpg
/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_24_9612.jpg
/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_38_14037.jpg
/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_45_6544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541156","1398541260","1398541236","1398541230","1398541196","1398541256"],"photo_ids_order":["1398541156","1398541196","1398541230","1398541236","1398541256","1398541260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b07dbf2a7808c15a4802faa49905c932.jpg","text":"TemporaryFile(/tmp/multipartBody8724404644358002807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_25_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f4427da979c448da9ff034751a57e29c.jpg","text":"TemporaryFile(/tmp/multipartBody464006927523030928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_26_45_6544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3569175b3637dfb49b3a0f645ab5c120.jpg","text":"TemporaryFile(/tmp/multipartBody6834458706239926114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_26_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ee75f45b3413393a150c9e1380bf360.jpg","text":"TemporaryFile(/tmp/multipartBody6550162306396255208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_25_55_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38d8eac0918b183a3207492047c1a74a.jpg","text":"TemporaryFile(/tmp/multipartBody3954869937703542891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_25_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03b17bf23fbdb3b311c3a37290447d00.jpg","text":"TemporaryFile(/tmp/multipartBody7361905039475756893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307242565,"filename":"image_09122025_11_26_38_14037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541230","file1":"1398541196","file0":"1398541156","file4":"1398541256","file5":"1398541260","file3":"1398541236"},"map_files_photo_id_array":[{"photo_id":"1398541260","filename":"file5"},{"photo_id":"1398541230","filename":"file2"},{"photo_id":"1398541256","filename":"file4"},{"photo_id":"1398541196","filename":"file1"},{"photo_id":"1398541156","filename":"file0"},{"photo_id":"1398541236","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398541156":["hashtag1","hashtag2"]},{"1398541260":["hashtag1","hashtag2"]},{"1398541236":["hashtag1","hashtag2"]},{"1398541230":["hashtag1","hashtag2"]},{"1398541196":["hashtag1","hashtag2"]},{"1398541256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398541156, 1398541260, 1398541236, 1398541230, 1398541196, 1398541256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.315460443496704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:07:02.838174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_55_9547.jpg', '/home/pi/Desktop/images/09122025/11/26/image_09122025_11_27_04_9669.jpg', '/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_14_10201.jpg', '/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_44_9627.jpg', '/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_55_10637.jpg', '/home/pi/Desktop/images/09122025/11/27/image_09122025_11_28_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/26/image_09122025_11_26_55_9547.jpg
/home/pi/Desktop/images/09122025/11/26/image_09122025_11_27_04_9669.jpg
/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_14_10201.jpg
/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_44_9627.jpg
/home/pi/Desktop/images/09122025/11/27/image_09122025_11_27_55_10637.jpg
/home/pi/Desktop/images/09122025/11/27/image_09122025_11_28_05_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541520","1398541418","1398541522","1398541339","1398541484","1398541379"],"photo_ids_order":["1398541339","1398541379","1398541418","1398541484","1398541520","1398541522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffcf401ce9d7aa65a807f274e2708554.jpg","text":"TemporaryFile(/tmp/multipartBody2153069583777992009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_27_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/073dbcb7f14f5c7e043363b29167ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody2307251632727828998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_27_14_10201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2cd95a51cba8f8ef10cb159940c7beb4.jpg","text":"TemporaryFile(/tmp/multipartBody562233795604284580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_28_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c59c9f195f2d8c8488e17111eaebde0.jpg","text":"TemporaryFile(/tmp/multipartBody1006730503091242518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_26_55_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d944f696e5098f92a8c5e1a3b315d63.jpg","text":"TemporaryFile(/tmp/multipartBody7543688126445239102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_27_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2496b0a6008b7958d786a16eb04db399.jpg","text":"TemporaryFile(/tmp/multipartBody3545169153185182156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307283477,"filename":"image_09122025_11_27_04_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541418","file1":"1398541379","file0":"1398541339","file4":"1398541520","file5":"1398541522","file3":"1398541484"},"map_files_photo_id_array":[{"photo_id":"1398541522","filename":"file5"},{"photo_id":"1398541418","filename":"file2"},{"photo_id":"1398541520","filename":"file4"},{"photo_id":"1398541379","filename":"file1"},{"photo_id":"1398541339","filename":"file0"},{"photo_id":"1398541484","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398541520":["hashtag1","hashtag2"]},{"1398541418":["hashtag1","hashtag2"]},{"1398541522":["hashtag1","hashtag2"]},{"1398541339":["hashtag1","hashtag2"]},{"1398541484":["hashtag1","hashtag2"]},{"1398541379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398541520, 1398541418, 1398541522, 1398541339, 1398541484, 1398541379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63766837120056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:07:42.190023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_16_2701.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_19_3664.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_22_2882.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_25_2534.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_28_2809.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_31_3855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_16_2701.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_19_3664.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_22_2882.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_25_2534.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_28_2809.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_31_3855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541645","1398541726","1398541790","1398541793","1398541568","1398541769"],"photo_ids_order":["1398541568","1398541645","1398541726","1398541769","1398541790","1398541793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2da6d53dec7f28a21dc8b84edbb7780a.jpg","text":"TemporaryFile(/tmp/multipartBody8409073815759267124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_19_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d5822c544361ae3857e5c931259aa2a.jpg","text":"TemporaryFile(/tmp/multipartBody2319921707166434796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_22_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf68f74c8f9ba02a3fc1b04465e04a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7817413721237660129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_28_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/262cd7009ff66fd161a16e37ae83f16d.jpg","text":"TemporaryFile(/tmp/multipartBody8559169663221184043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_31_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba44a85c53a91b2b26b01dca7c2638ea.jpg","text":"TemporaryFile(/tmp/multipartBody2937601670904188262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_16_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0b71e27a0d86cc24e4acd7ac9aa2767.jpg","text":"TemporaryFile(/tmp/multipartBody1383049194673720719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307323162,"filename":"image_01112025_19_33_25_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541726","file1":"1398541645","file0":"1398541568","file4":"1398541790","file5":"1398541793","file3":"1398541769"},"map_files_photo_id_array":[{"photo_id":"1398541793","filename":"file5"},{"photo_id":"1398541726","filename":"file2"},{"photo_id":"1398541790","filename":"file4"},{"photo_id":"1398541645","filename":"file1"},{"photo_id":"1398541568","filename":"file0"},{"photo_id":"1398541769","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398541645":["hashtag1","hashtag2"]},{"1398541726":["hashtag1","hashtag2"]},{"1398541790":["hashtag1","hashtag2"]},{"1398541793":["hashtag1","hashtag2"]},{"1398541568":["hashtag1","hashtag2"]},{"1398541769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398541645, 1398541726, 1398541790, 1398541793, 1398541568, 1398541769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.809176445007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:08:22.529042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/28/image_09122025_11_28_25_10650.jpg', '/home/pi/Desktop/images/09122025/11/28/image_09122025_11_29_04_9388.jpg', '/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_14_9721.jpg', '/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_25_10697.jpg', '/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_34_9606.jpg', '/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_44_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/28/image_09122025_11_28_25_10650.jpg
/home/pi/Desktop/images/09122025/11/28/image_09122025_11_29_04_9388.jpg
/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_14_9721.jpg
/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_25_10697.jpg
/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_34_9606.jpg
/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_44_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541805","1398541816","1398541810","1398541797","1398541799","1398541802"],"photo_ids_order":["1398541797","1398541799","1398541802","1398541805","1398541810","1398541816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/792e2bc4ed66a8e23e2f1b78ad4335d4.jpg","text":"TemporaryFile(/tmp/multipartBody2574824195958382085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_29_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44763cfbc5a0afd436304426c08f228f.jpg","text":"TemporaryFile(/tmp/multipartBody555666282911779350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_29_44_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37c377ed0722b90308d56b54541dcb85.jpg","text":"TemporaryFile(/tmp/multipartBody5634607224987144069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_29_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd2c433eaa423b89fa03e5541c956832.jpg","text":"TemporaryFile(/tmp/multipartBody6824439007035266107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_28_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccbef9b72fbf6d882fbabb5c4e79ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody8268314664583534329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_29_04_9388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2fc6bc7bfdb28a85143bdecf06e0c399.jpg","text":"TemporaryFile(/tmp/multipartBody4675745535664693790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307363141,"filename":"image_09122025_11_29_14_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541802","file1":"1398541799","file0":"1398541797","file4":"1398541810","file5":"1398541816","file3":"1398541805"},"map_files_photo_id_array":[{"photo_id":"1398541816","filename":"file5"},{"photo_id":"1398541802","filename":"file2"},{"photo_id":"1398541810","filename":"file4"},{"photo_id":"1398541799","filename":"file1"},{"photo_id":"1398541797","filename":"file0"},{"photo_id":"1398541805","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398541805":["hashtag1","hashtag2"]},{"1398541816":["hashtag1","hashtag2"]},{"1398541810":["hashtag1","hashtag2"]},{"1398541797":["hashtag1","hashtag2"]},{"1398541799":["hashtag1","hashtag2"]},{"1398541802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398541805, 1398541816, 1398541810, 1398541797, 1398541799, 1398541802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93131685256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:09:03.649221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_55_10790.jpg', '/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_14_10057.jpg', '/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_25_10740.jpg', '/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_44_9700.jpg', '/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_55_10508.jpg', '/home/pi/Desktop/images/09122025/11/30/image_09122025_11_31_05_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/29/image_09122025_11_29_55_10790.jpg
/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_14_10057.jpg
/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_25_10740.jpg
/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_44_9700.jpg
/home/pi/Desktop/images/09122025/11/30/image_09122025_11_30_55_10508.jpg
/home/pi/Desktop/images/09122025/11/30/image_09122025_11_31_05_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541831","1398541842","1398541836","1398541839","1398541833","1398541827"],"photo_ids_order":["1398541827","1398541831","1398541833","1398541836","1398541839","1398541842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55deb2965a9e2cf01002a1ab29200eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1804203768360833601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_30_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9bc90b512a1212d57aa634518e180860.jpg","text":"TemporaryFile(/tmp/multipartBody2356008378123996245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_31_05_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47641266ebab98159bd75137e453afde.jpg","text":"TemporaryFile(/tmp/multipartBody7286738074720566845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_30_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b16835577c70f9f0328dc8e64d60720.jpg","text":"TemporaryFile(/tmp/multipartBody3332953346668844408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_30_55_10508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c00ed04119aab2787b6458f37ad8519e.jpg","text":"TemporaryFile(/tmp/multipartBody589273168189109504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_30_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa2e3bbda921a0b74b3b6a3031745061.jpg","text":"TemporaryFile(/tmp/multipartBody338776845877871040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307404358,"filename":"image_09122025_11_29_55_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541833","file1":"1398541831","file0":"1398541827","file4":"1398541839","file5":"1398541842","file3":"1398541836"},"map_files_photo_id_array":[{"photo_id":"1398541842","filename":"file5"},{"photo_id":"1398541833","filename":"file2"},{"photo_id":"1398541839","filename":"file4"},{"photo_id":"1398541831","filename":"file1"},{"photo_id":"1398541827","filename":"file0"},{"photo_id":"1398541836","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398541831":["hashtag1","hashtag2"]},{"1398541842":["hashtag1","hashtag2"]},{"1398541836":["hashtag1","hashtag2"]},{"1398541839":["hashtag1","hashtag2"]},{"1398541833":["hashtag1","hashtag2"]},{"1398541827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398541831, 1398541842, 1398541836, 1398541839, 1398541833, 1398541827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24056625366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:09:42.655762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_34_2584.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_37_2655.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_40_3661.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_43_2740.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_46_2556.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_49_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_34_2584.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_37_2655.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_40_3661.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_43_2740.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_46_2556.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_49_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541921","1398541915","1398541947","1398541848","1398541878","1398541850"],"photo_ids_order":["1398541848","1398541850","1398541878","1398541915","1398541921","1398541947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc4f2d25a2e2eec28d9750b16388220f.jpg","text":"TemporaryFile(/tmp/multipartBody4564391392213615960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_46_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f01757c568d0ba09ce5563ea59720e74.jpg","text":"TemporaryFile(/tmp/multipartBody5552779357273109615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_43_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7fda2c7a4da6f24ed6b29ca55b73de32.jpg","text":"TemporaryFile(/tmp/multipartBody3167902736297729319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_49_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c308d591a18ff74ca68d0ef32b243e66.jpg","text":"TemporaryFile(/tmp/multipartBody4331831784421537377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_34_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/305751afdd4c4504ea86e11aeb5d5dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5173957088702691442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_40_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e069d1ec2205d85af61156b2144f14f3.jpg","text":"TemporaryFile(/tmp/multipartBody5878703786346305438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307443625,"filename":"image_01112025_19_33_37_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541878","file1":"1398541850","file0":"1398541848","file4":"1398541921","file5":"1398541947","file3":"1398541915"},"map_files_photo_id_array":[{"photo_id":"1398541947","filename":"file5"},{"photo_id":"1398541878","filename":"file2"},{"photo_id":"1398541921","filename":"file4"},{"photo_id":"1398541850","filename":"file1"},{"photo_id":"1398541848","filename":"file0"},{"photo_id":"1398541915","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398541921":["hashtag1","hashtag2"]},{"1398541915":["hashtag1","hashtag2"]},{"1398541947":["hashtag1","hashtag2"]},{"1398541848":["hashtag1","hashtag2"]},{"1398541878":["hashtag1","hashtag2"]},{"1398541850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398541921, 1398541915, 1398541947, 1398541848, 1398541878, 1398541850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89171314239502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:10:21.924897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_15_10567.jpg', '/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_25_9647.jpg', '/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_34_9502.jpg', '/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_45_10700.jpg', '/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_55_9687.jpg', '/home/pi/Desktop/images/09122025/11/31/image_09122025_11_32_04_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_15_10567.jpg
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_25_9647.jpg
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_34_9502.jpg
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_45_10700.jpg
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_31_55_9687.jpg
/home/pi/Desktop/images/09122025/11/31/image_09122025_11_32_04_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398541993","1398541998","1398541992","1398541986","1398541991","1398541988"],"photo_ids_order":["1398541986","1398541988","1398541991","1398541992","1398541993","1398541998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4652ddb072435a1e0e18ff7702182b8e.jpg","text":"TemporaryFile(/tmp/multipartBody4071369498316709794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_31_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5a48d7418ad45a5263d52926c6ccfde.jpg","text":"TemporaryFile(/tmp/multipartBody3250797028673268187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_32_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97370f3e4ec354e167bbcbdf7bb92ee7.jpg","text":"TemporaryFile(/tmp/multipartBody5170774072939467651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_31_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8e7ab631942e6dac60d4d1adbd6c801b.jpg","text":"TemporaryFile(/tmp/multipartBody3999760450623962125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_31_15_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f79a31d3fb703c87161f8971c48b08a0.jpg","text":"TemporaryFile(/tmp/multipartBody6377228054122661607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_31_34_9502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7697c31d18ae8850094a5ad897cdb9b4.jpg","text":"TemporaryFile(/tmp/multipartBody3787682749197935825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307482535,"filename":"image_09122025_11_31_25_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398541991","file1":"1398541988","file0":"1398541986","file4":"1398541993","file5":"1398541998","file3":"1398541992"},"map_files_photo_id_array":[{"photo_id":"1398541998","filename":"file5"},{"photo_id":"1398541991","filename":"file2"},{"photo_id":"1398541993","filename":"file4"},{"photo_id":"1398541988","filename":"file1"},{"photo_id":"1398541986","filename":"file0"},{"photo_id":"1398541992","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398541993":["hashtag1","hashtag2"]},{"1398541998":["hashtag1","hashtag2"]},{"1398541992":["hashtag1","hashtag2"]},{"1398541986":["hashtag1","hashtag2"]},{"1398541991":["hashtag1","hashtag2"]},{"1398541988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398541993, 1398541998, 1398541992, 1398541986, 1398541991, 1398541988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.652671813964844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:11:02.906949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_15_10551.jpg', '/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_25_9674.jpg', '/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_35_10449.jpg', '/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_45_9671.jpg', '/home/pi/Desktop/images/09122025/11/33/image_09122025_11_33_15_9744.jpg', '/home/pi/Desktop/images/09122025/11/33/image_09122025_11_33_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_15_10551.jpg
/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_25_9674.jpg
/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_35_10449.jpg
/home/pi/Desktop/images/09122025/11/32/image_09122025_11_32_45_9671.jpg
/home/pi/Desktop/images/09122025/11/33/image_09122025_11_33_15_9744.jpg
/home/pi/Desktop/images/09122025/11/33/image_09122025_11_33_55_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542235","1398542156","1398542237","1398542159","1398542234","1398542213"],"photo_ids_order":["1398542156","1398542159","1398542213","1398542234","1398542235","1398542237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/959c074f151809fee90803fb2fd37753.jpg","text":"TemporaryFile(/tmp/multipartBody6889062364907964803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_33_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3876b98cfe87abe1e6ce48b12c66694.jpg","text":"TemporaryFile(/tmp/multipartBody6080110025611341626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_32_15_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4092652fe74067e1220d7bc32c5f3940.jpg","text":"TemporaryFile(/tmp/multipartBody2373346622146420592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_33_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/487d8a181085346b2f1887366f04a483.jpg","text":"TemporaryFile(/tmp/multipartBody779556934299882020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_32_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f5971ef45dd6923863098c014f57137.jpg","text":"TemporaryFile(/tmp/multipartBody8470560208858999588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_32_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a4b223dad4ed771c1c8604f46e44e14.jpg","text":"TemporaryFile(/tmp/multipartBody5687741740023314206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307523565,"filename":"image_09122025_11_32_35_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542213","file1":"1398542159","file0":"1398542156","file4":"1398542235","file5":"1398542237","file3":"1398542234"},"map_files_photo_id_array":[{"photo_id":"1398542237","filename":"file5"},{"photo_id":"1398542213","filename":"file2"},{"photo_id":"1398542235","filename":"file4"},{"photo_id":"1398542159","filename":"file1"},{"photo_id":"1398542156","filename":"file0"},{"photo_id":"1398542234","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542235":["hashtag1","hashtag2"]},{"1398542156":["hashtag1","hashtag2"]},{"1398542237":["hashtag1","hashtag2"]},{"1398542159":["hashtag1","hashtag2"]},{"1398542234":["hashtag1","hashtag2"]},{"1398542213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542235, 1398542156, 1398542237, 1398542159, 1398542234, 1398542213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76347303390503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:11:42.057667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_52_2660.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_55_2644.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_58_3706.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_01_2586.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_04_2761.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_07_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_52_2660.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_55_2644.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_58_3706.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_01_2586.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_04_2761.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_07_3678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8598039150238037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:12:02.788869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/33/image_09122025_11_34_05_9601.jpg', '/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_15_10666.jpg', '/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_34_9599.jpg', '/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_55_9726.jpg', '/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_14_10050.jpg', '/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/33/image_09122025_11_34_05_9601.jpg
/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_15_10666.jpg
/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_34_9599.jpg
/home/pi/Desktop/images/09122025/11/34/image_09122025_11_34_55_9726.jpg
/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_14_10050.jpg
/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_24_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542262","1398542265","1398542274","1398542268","1398542270","1398542272"],"photo_ids_order":["1398542262","1398542265","1398542268","1398542270","1398542272","1398542274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9330da6057256c547323a3975b1c2b04.jpg","text":"TemporaryFile(/tmp/multipartBody174224318594659817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_34_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08f365cc029004566aa4d86b8541edfc.jpg","text":"TemporaryFile(/tmp/multipartBody5006582932149099527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_34_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68269df877d2ddb7c2f1626463b133f4.jpg","text":"TemporaryFile(/tmp/multipartBody2820283091776422282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_35_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4abf1bb26a7ed85a21820b544dbca802.jpg","text":"TemporaryFile(/tmp/multipartBody8431661122407889763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_34_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ae66225f90fea86b1fa1faee09d1bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6086653898427480720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_34_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d624a542d7ba2e818b37f0444104129.jpg","text":"TemporaryFile(/tmp/multipartBody5135489180808311741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307583434,"filename":"image_09122025_11_35_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542268","file1":"1398542265","file0":"1398542262","file4":"1398542272","file5":"1398542274","file3":"1398542270"},"map_files_photo_id_array":[{"photo_id":"1398542274","filename":"file5"},{"photo_id":"1398542268","filename":"file2"},{"photo_id":"1398542272","filename":"file4"},{"photo_id":"1398542265","filename":"file1"},{"photo_id":"1398542262","filename":"file0"},{"photo_id":"1398542270","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542262":["hashtag1","hashtag2"]},{"1398542265":["hashtag1","hashtag2"]},{"1398542274":["hashtag1","hashtag2"]},{"1398542268":["hashtag1","hashtag2"]},{"1398542270":["hashtag1","hashtag2"]},{"1398542272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542262, 1398542265, 1398542274, 1398542268, 1398542270, 1398542272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7829806804657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:12:42.299163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_52_2660.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_55_2644.jpg', '/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_58_3706.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_01_2586.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_04_2761.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_07_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_52_2660.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_55_2644.jpg
/home/pi/Desktop/images/01112025/19/33/image_01112025_19_33_58_3706.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_01_2586.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_04_2761.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_07_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542319","1398542297","1398542312","1398542306","1398542315","1398542287"],"photo_ids_order":["1398542287","1398542297","1398542306","1398542312","1398542315","1398542319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/829b6144f7a44e951761e149d784b1e5.jpg","text":"TemporaryFile(/tmp/multipartBody5321014654922945950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_34_07_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5efd4a35d564a1f862af39c2e1701cc.jpg","text":"TemporaryFile(/tmp/multipartBody681386428756601771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_33_55_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36ae9d2a25820367a22445dbb955c108.jpg","text":"TemporaryFile(/tmp/multipartBody6284518137220173534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_34_01_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3463c898442a2b773786f2c1a8a557d.jpg","text":"TemporaryFile(/tmp/multipartBody1354462691285633122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_33_58_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7079ac1abe87f8ec9ed82487f85dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody1155378310763116531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_34_04_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc29104a476fb663d71e7de745394e9c.jpg","text":"TemporaryFile(/tmp/multipartBody5034917884830868294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307623150,"filename":"image_01112025_19_33_52_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542306","file1":"1398542297","file0":"1398542287","file4":"1398542315","file5":"1398542319","file3":"1398542312"},"map_files_photo_id_array":[{"photo_id":"1398542319","filename":"file5"},{"photo_id":"1398542306","filename":"file2"},{"photo_id":"1398542315","filename":"file4"},{"photo_id":"1398542297","filename":"file1"},{"photo_id":"1398542287","filename":"file0"},{"photo_id":"1398542312","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398542319":["hashtag1","hashtag2"]},{"1398542297":["hashtag1","hashtag2"]},{"1398542312":["hashtag1","hashtag2"]},{"1398542306":["hashtag1","hashtag2"]},{"1398542315":["hashtag1","hashtag2"]},{"1398542287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398542319, 1398542297, 1398542312, 1398542306, 1398542315, 1398542287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.344632387161255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:13:22.536101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_34_9722.jpg', '/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_44_9969.jpg', '/home/pi/Desktop/images/09122025/11/35/image_09122025_11_36_04_10626.jpg', '/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_14_9688.jpg', '/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_24_9696.jpg', '/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_34_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_34_9722.jpg
/home/pi/Desktop/images/09122025/11/35/image_09122025_11_35_44_9969.jpg
/home/pi/Desktop/images/09122025/11/35/image_09122025_11_36_04_10626.jpg
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_14_9688.jpg
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_24_9696.jpg
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_34_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542332","1398542335","1398542334","1398542339","1398542330","1398542327"],"photo_ids_order":["1398542327","1398542330","1398542332","1398542334","1398542335","1398542339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e2d724a2f6f78f5d320ef3e55dcdeef.jpg","text":"TemporaryFile(/tmp/multipartBody2602706761446814404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_36_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/739d3a8de795d4034bf186e3a3caa2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8279965873693846589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_36_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b869de3dde228c559f75d2ace4239cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8155137349669144254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_36_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6987eb30272fc2fab431e3f4a67ccde3.jpg","text":"TemporaryFile(/tmp/multipartBody2179036905569608886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_36_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6457c0caf0ad4d023592ad73a756ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8153508028182999260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_35_44_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad3327c429984db292bead42ca957ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6416856831807057946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307663120,"filename":"image_09122025_11_35_34_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542332","file1":"1398542330","file0":"1398542327","file4":"1398542335","file5":"1398542339","file3":"1398542334"},"map_files_photo_id_array":[{"photo_id":"1398542339","filename":"file5"},{"photo_id":"1398542332","filename":"file2"},{"photo_id":"1398542335","filename":"file4"},{"photo_id":"1398542330","filename":"file1"},{"photo_id":"1398542327","filename":"file0"},{"photo_id":"1398542334","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542332":["hashtag1","hashtag2"]},{"1398542335":["hashtag1","hashtag2"]},{"1398542334":["hashtag1","hashtag2"]},{"1398542339":["hashtag1","hashtag2"]},{"1398542330":["hashtag1","hashtag2"]},{"1398542327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542332, 1398542335, 1398542334, 1398542339, 1398542330, 1398542327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24911332130432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:14:03.342812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_44_9677.jpg', '/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_54_9661.jpg', '/home/pi/Desktop/images/09122025/11/36/image_09122025_11_37_05_10808.jpg', '/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_14_9565.jpg', '/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_44_9669.jpg', '/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_44_9677.jpg
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_36_54_9661.jpg
/home/pi/Desktop/images/09122025/11/36/image_09122025_11_37_05_10808.jpg
/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_14_9565.jpg
/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_44_9669.jpg
/home/pi/Desktop/images/09122025/11/37/image_09122025_11_37_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542356","1398542370","1398542364","1398542367","1398542360","1398542365"],"photo_ids_order":["1398542356","1398542360","1398542364","1398542365","1398542367","1398542370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e792c3b6a3620c09c1cd42777e0a9b37.jpg","text":"TemporaryFile(/tmp/multipartBody7042246041778632879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_36_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55a383f47c54870776d6a64b73641dca.jpg","text":"TemporaryFile(/tmp/multipartBody2305461328548871881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_37_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40cee07f113b0adfe78108ece4a713c7.jpg","text":"TemporaryFile(/tmp/multipartBody1958633641614367293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_37_05_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbe3008a0dd702b809e72ae3374a6e80.jpg","text":"TemporaryFile(/tmp/multipartBody1434738216562933282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_37_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/713bcdbb0021e2a86f18531f9df6d08d.jpg","text":"TemporaryFile(/tmp/multipartBody5285663255121027045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_36_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3547f20b82a1e9c6be987a8cd914bd0e.jpg","text":"TemporaryFile(/tmp/multipartBody1141679768661326291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307703983,"filename":"image_09122025_11_37_14_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542364","file1":"1398542360","file0":"1398542356","file4":"1398542367","file5":"1398542370","file3":"1398542365"},"map_files_photo_id_array":[{"photo_id":"1398542370","filename":"file5"},{"photo_id":"1398542364","filename":"file2"},{"photo_id":"1398542367","filename":"file4"},{"photo_id":"1398542360","filename":"file1"},{"photo_id":"1398542356","filename":"file0"},{"photo_id":"1398542365","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542356":["hashtag1","hashtag2"]},{"1398542370":["hashtag1","hashtag2"]},{"1398542364":["hashtag1","hashtag2"]},{"1398542367":["hashtag1","hashtag2"]},{"1398542360":["hashtag1","hashtag2"]},{"1398542365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542356, 1398542370, 1398542364, 1398542367, 1398542360, 1398542365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.190086364746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:14:42.713677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_10_2607.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_13_2589.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_16_3683.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_19_2721.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_22_2690.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_25_3203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_10_2607.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_13_2589.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_16_3683.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_19_2721.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_22_2690.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_25_3203.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542406","1398542393","1398542396","1398542381","1398542411","1398542398"],"photo_ids_order":["1398542381","1398542393","1398542396","1398542398","1398542406","1398542411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c48c73467dabacfd20b56b2690a8e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1179225091505506601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_22_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1d13a02db98c198e905ce0b80ee9629.jpg","text":"TemporaryFile(/tmp/multipartBody6818008596274241722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81904309d6c434de16b6373a9c6e250f.jpg","text":"TemporaryFile(/tmp/multipartBody553170045885879971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_16_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb43b67dfc0bc090a659833ffcb47019.jpg","text":"TemporaryFile(/tmp/multipartBody2974536480142588535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_10_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f163a61fd0eb703f33a86d8f8894b855.jpg","text":"TemporaryFile(/tmp/multipartBody1925716620732507776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_25_3203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9014ae690d000772a334d115d459330.jpg","text":"TemporaryFile(/tmp/multipartBody266381465973282655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307743688,"filename":"image_01112025_19_34_19_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542396","file1":"1398542393","file0":"1398542381","file4":"1398542406","file5":"1398542411","file3":"1398542398"},"map_files_photo_id_array":[{"photo_id":"1398542411","filename":"file5"},{"photo_id":"1398542396","filename":"file2"},{"photo_id":"1398542406","filename":"file4"},{"photo_id":"1398542393","filename":"file1"},{"photo_id":"1398542381","filename":"file0"},{"photo_id":"1398542398","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398542406":["hashtag1","hashtag2"]},{"1398542393":["hashtag1","hashtag2"]},{"1398542396":["hashtag1","hashtag2"]},{"1398542381":["hashtag1","hashtag2"]},{"1398542411":["hashtag1","hashtag2"]},{"1398542398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398542406, 1398542393, 1398542396, 1398542381, 1398542411, 1398542398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22926950454712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:15:21.881214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/37/image_09122025_11_38_04_10581.jpg', '/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_14_9591.jpg', '/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_24_9555.jpg', '/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_34_10635.jpg', '/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_44_9603.jpg', '/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_55_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/37/image_09122025_11_38_04_10581.jpg
/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_14_9591.jpg
/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_24_9555.jpg
/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_34_10635.jpg
/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_44_9603.jpg
/home/pi/Desktop/images/09122025/11/38/image_09122025_11_38_55_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542425","1398542430","1398542424","1398542423","1398542426","1398542420"],"photo_ids_order":["1398542420","1398542423","1398542424","1398542425","1398542426","1398542430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c53d3fe213acfb901ebc1cf3bfe5b3e.jpg","text":"TemporaryFile(/tmp/multipartBody94913067491847720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ba362fbad04e17b717e4e722c50adf1.jpg","text":"TemporaryFile(/tmp/multipartBody353008753151630252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2ddcbfbb46597cda963a15796d1662f.jpg","text":"TemporaryFile(/tmp/multipartBody8982053168316468223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_24_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ca736805489232b940ad8db8802487c.jpg","text":"TemporaryFile(/tmp/multipartBody5450577547549919722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52bb57ce46ddc05cb6ec40947bbb2204.jpg","text":"TemporaryFile(/tmp/multipartBody6038155883807820254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b95237e462b640e581b6ce31c155ebf.jpg","text":"TemporaryFile(/tmp/multipartBody553962483595110281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307782467,"filename":"image_09122025_11_38_04_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542424","file1":"1398542423","file0":"1398542420","file4":"1398542426","file5":"1398542430","file3":"1398542425"},"map_files_photo_id_array":[{"photo_id":"1398542430","filename":"file5"},{"photo_id":"1398542424","filename":"file2"},{"photo_id":"1398542426","filename":"file4"},{"photo_id":"1398542423","filename":"file1"},{"photo_id":"1398542420","filename":"file0"},{"photo_id":"1398542425","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542425":["hashtag1","hashtag2"]},{"1398542430":["hashtag1","hashtag2"]},{"1398542424":["hashtag1","hashtag2"]},{"1398542423":["hashtag1","hashtag2"]},{"1398542426":["hashtag1","hashtag2"]},{"1398542420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542425, 1398542430, 1398542424, 1398542423, 1398542426, 1398542420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71668720245361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:16:02.594342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_14_9711.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_24_9736.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_44_9838.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_54_9654.jpg', '/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_15_10055.jpg', '/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_25_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_14_9711.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_24_9736.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_44_9838.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_54_9654.jpg
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_15_10055.jpg
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_25_10634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5151746273040771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:16:12.200742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_15_9608.jpg', '/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_24_9627.jpg', '/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_35_10688.jpg', '/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_45_9802.jpg', '/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_54_9670.jpg', '/home/pi/Desktop/images/08122025/13/25/image_08122025_13_26_04_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_15_9608.jpg
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_24_9627.jpg
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_35_10688.jpg
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_45_9802.jpg
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_25_54_9670.jpg
/home/pi/Desktop/images/08122025/13/25/image_08122025_13_26_04_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542452","1398542461","1398542449","1398542457","1398542456","1398542459"],"photo_ids_order":["1398542449","1398542452","1398542456","1398542457","1398542459","1398542461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d916be2cbb326a0214edf74a40a49437.jpg","text":"TemporaryFile(/tmp/multipartBody732488956029912889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_25_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7209a634997ad743d22869f7edcf2ea.jpg","text":"TemporaryFile(/tmp/multipartBody542792356027560940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_26_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24e2a1cd6a7283048ab2979692ff1acc.jpg","text":"TemporaryFile(/tmp/multipartBody7007263206215047878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_25_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/194f9675e21874bfee49ae8e07d03856.jpg","text":"TemporaryFile(/tmp/multipartBody3224735489532450114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_25_45_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03288f56a61de0c5230d6acb0a67f43a.jpg","text":"TemporaryFile(/tmp/multipartBody3342236273407886974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_25_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/432de67686cb7095b35be7b07a22215b.jpg","text":"TemporaryFile(/tmp/multipartBody7843471376512934146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307834042,"filename":"image_08122025_13_25_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542456","file1":"1398542452","file0":"1398542449","file4":"1398542459","file5":"1398542461","file3":"1398542457"},"map_files_photo_id_array":[{"photo_id":"1398542461","filename":"file5"},{"photo_id":"1398542456","filename":"file2"},{"photo_id":"1398542459","filename":"file4"},{"photo_id":"1398542452","filename":"file1"},{"photo_id":"1398542449","filename":"file0"},{"photo_id":"1398542457","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398542452":["hashtag1","hashtag2"]},{"1398542461":["hashtag1","hashtag2"]},{"1398542449":["hashtag1","hashtag2"]},{"1398542457":["hashtag1","hashtag2"]},{"1398542456":["hashtag1","hashtag2"]},{"1398542459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398542452, 1398542461, 1398542449, 1398542457, 1398542456, 1398542459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7620313167572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:17:03.051973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_14_9711.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_24_9736.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_44_9838.jpg', '/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_54_9654.jpg', '/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_15_10055.jpg', '/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_25_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_14_9711.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_24_9736.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_44_9838.jpg
/home/pi/Desktop/images/09122025/11/39/image_09122025_11_39_54_9654.jpg
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_15_10055.jpg
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_25_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542499","1398542493","1398542487","1398542496","1398542483","1398542489"],"photo_ids_order":["1398542483","1398542487","1398542489","1398542493","1398542496","1398542499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c9be450becc4af9ee0c24213a10e9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2261238160676182112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_40_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a31bfc5442a66f5d93da0573858f8dff.jpg","text":"TemporaryFile(/tmp/multipartBody3160458771720620076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_39_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7daf8774cfb0ff3bcf4503608f037918.jpg","text":"TemporaryFile(/tmp/multipartBody8263661667956652967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_39_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f821d7b4bf3b7aa4014cfcb7ad733254.jpg","text":"TemporaryFile(/tmp/multipartBody6424206718267024932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_40_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a01ff9c253a968a2bf084b0ffb77ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8469114347729995286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_39_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26876848e40d05e891de285ca9a411d7.jpg","text":"TemporaryFile(/tmp/multipartBody4632731524127922065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307883701,"filename":"image_09122025_11_39_44_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542489","file1":"1398542487","file0":"1398542483","file4":"1398542496","file5":"1398542499","file3":"1398542493"},"map_files_photo_id_array":[{"photo_id":"1398542499","filename":"file5"},{"photo_id":"1398542489","filename":"file2"},{"photo_id":"1398542496","filename":"file4"},{"photo_id":"1398542487","filename":"file1"},{"photo_id":"1398542483","filename":"file0"},{"photo_id":"1398542493","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542499":["hashtag1","hashtag2"]},{"1398542493":["hashtag1","hashtag2"]},{"1398542487":["hashtag1","hashtag2"]},{"1398542496":["hashtag1","hashtag2"]},{"1398542483":["hashtag1","hashtag2"]},{"1398542489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542499, 1398542493, 1398542487, 1398542496, 1398542483, 1398542489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6275851726532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:17:42.473259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_28_2647.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_34_2690.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_40_2668.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_43_2820.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_46_2851.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_49_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_28_2647.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_34_2690.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_40_2668.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_43_2820.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_46_2851.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_49_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542533","1398542521","1398542503","1398542511","1398542529","1398542525"],"photo_ids_order":["1398542503","1398542511","1398542521","1398542525","1398542529","1398542533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d69687e6334fd37392cb38d519cffe9.jpg","text":"TemporaryFile(/tmp/multipartBody8517807403601670647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_49_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b023a9325ee21eea813f30897753c03b.jpg","text":"TemporaryFile(/tmp/multipartBody4422358289933982558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_40_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b94db4659656e533608746ecfe13f644.jpg","text":"TemporaryFile(/tmp/multipartBody3029536074859928804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_28_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f815bbb1285f7e7a5501a37a2001035d.jpg","text":"TemporaryFile(/tmp/multipartBody3300228618482299396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/729deb70d280f2f16b891eb571293759.jpg","text":"TemporaryFile(/tmp/multipartBody1990026369637424658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_46_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79ef2705e1df447a57d249aeaa9d26b9.jpg","text":"TemporaryFile(/tmp/multipartBody1860544926288369769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307923445,"filename":"image_01112025_19_34_43_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542521","file1":"1398542511","file0":"1398542503","file4":"1398542529","file5":"1398542533","file3":"1398542525"},"map_files_photo_id_array":[{"photo_id":"1398542533","filename":"file5"},{"photo_id":"1398542521","filename":"file2"},{"photo_id":"1398542529","filename":"file4"},{"photo_id":"1398542511","filename":"file1"},{"photo_id":"1398542503","filename":"file0"},{"photo_id":"1398542525","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398542533":["hashtag1","hashtag2"]},{"1398542521":["hashtag1","hashtag2"]},{"1398542503":["hashtag1","hashtag2"]},{"1398542511":["hashtag1","hashtag2"]},{"1398542529":["hashtag1","hashtag2"]},{"1398542525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398542533, 1398542521, 1398542503, 1398542511, 1398542529, 1398542525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05381369590759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:18:22.679770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_56_9934.jpg', '/home/pi/Desktop/images/09122025/11/40/image_09122025_11_41_05_9560.jpg', '/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_15_9726.jpg', '/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_26_10616.jpg', '/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_35_9663.jpg', '/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_46_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_40_56_9934.jpg
/home/pi/Desktop/images/09122025/11/40/image_09122025_11_41_05_9560.jpg
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_15_9726.jpg
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_26_10616.jpg
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_35_9663.jpg
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_46_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542545","1398542539","1398542548","1398542542","1398542536","1398542552"],"photo_ids_order":["1398542536","1398542539","1398542542","1398542545","1398542548","1398542552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd976e62de5a87e4ae077e68fd33b85f.jpg","text":"TemporaryFile(/tmp/multipartBody4899680148730871036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_41_26_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/537341a03d06c7a0a3316de527b374c3.jpg","text":"TemporaryFile(/tmp/multipartBody111142949069502272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_41_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9aa4b0063b44320961a625d76c85e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody3015287253405633943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_41_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e72a118caa3cf949b30a83738291d32f.jpg","text":"TemporaryFile(/tmp/multipartBody4011794051415524140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_41_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7413a2398cf944e4a53b879f8a20120e.jpg","text":"TemporaryFile(/tmp/multipartBody8284400380677824792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_40_56_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76392aa6b0df43ca5f5ddf7ccc6b51e0.jpg","text":"TemporaryFile(/tmp/multipartBody936610119023923424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765307963252,"filename":"image_09122025_11_41_46_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542542","file1":"1398542539","file0":"1398542536","file4":"1398542548","file5":"1398542552","file3":"1398542545"},"map_files_photo_id_array":[{"photo_id":"1398542552","filename":"file5"},{"photo_id":"1398542542","filename":"file2"},{"photo_id":"1398542548","filename":"file4"},{"photo_id":"1398542539","filename":"file1"},{"photo_id":"1398542536","filename":"file0"},{"photo_id":"1398542545","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542545":["hashtag1","hashtag2"]},{"1398542539":["hashtag1","hashtag2"]},{"1398542548":["hashtag1","hashtag2"]},{"1398542542":["hashtag1","hashtag2"]},{"1398542536":["hashtag1","hashtag2"]},{"1398542552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542545, 1398542539, 1398542548, 1398542542, 1398542536, 1398542552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0112099647522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:19:02.868463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_55_9702.jpg', '/home/pi/Desktop/images/09122025/11/41/image_09122025_11_42_05_9637.jpg', '/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_16_10643.jpg', '/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_45_9860.jpg', '/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_56_10608.jpg', '/home/pi/Desktop/images/09122025/11/42/image_09122025_11_43_05_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_41_55_9702.jpg
/home/pi/Desktop/images/09122025/11/41/image_09122025_11_42_05_9637.jpg
/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_16_10643.jpg
/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_45_9860.jpg
/home/pi/Desktop/images/09122025/11/42/image_09122025_11_42_56_10608.jpg
/home/pi/Desktop/images/09122025/11/42/image_09122025_11_43_05_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542644","1398542580","1398542664","1398542631","1398542672","1398542618"],"photo_ids_order":["1398542580","1398542618","1398542631","1398542644","1398542664","1398542672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/576080310e245f7a4f0daa9c3d7d5546.jpg","text":"TemporaryFile(/tmp/multipartBody2394123697490415011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_42_45_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa85d76dee8474a38ca06876529d4f76.jpg","text":"TemporaryFile(/tmp/multipartBody2227372415566093572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_41_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf31995f8fe3b80df318d15e4e889272.jpg","text":"TemporaryFile(/tmp/multipartBody7770648102991132176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_42_56_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02c4ca6463697b1ee245db2710839c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8152470842183111103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_42_16_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0193be3bc97e504f134a72288048e571.jpg","text":"TemporaryFile(/tmp/multipartBody275059795517002024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_43_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7bc042141cfb2c9de2b47f60009a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody119649737268595506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308003645,"filename":"image_09122025_11_42_05_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542631","file1":"1398542618","file0":"1398542580","file4":"1398542664","file5":"1398542672","file3":"1398542644"},"map_files_photo_id_array":[{"photo_id":"1398542672","filename":"file5"},{"photo_id":"1398542631","filename":"file2"},{"photo_id":"1398542664","filename":"file4"},{"photo_id":"1398542618","filename":"file1"},{"photo_id":"1398542580","filename":"file0"},{"photo_id":"1398542644","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542644":["hashtag1","hashtag2"]},{"1398542580":["hashtag1","hashtag2"]},{"1398542664":["hashtag1","hashtag2"]},{"1398542631":["hashtag1","hashtag2"]},{"1398542672":["hashtag1","hashtag2"]},{"1398542618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542644, 1398542580, 1398542664, 1398542631, 1398542672, 1398542618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86882758140564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:19:41.854716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_52_2738.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_55_2747.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_57_2509.jpg', '/home/pi/Desktop/images/01112025/19/34/image_01112025_19_35_01_3627.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_04_3199.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_07_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_52_2738.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_55_2747.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_34_57_2509.jpg
/home/pi/Desktop/images/01112025/19/34/image_01112025_19_35_01_3627.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_04_3199.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_07_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542686","1398542699","1398542692","1398542695","1398542689","1398542680"],"photo_ids_order":["1398542680","1398542686","1398542689","1398542692","1398542695","1398542699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eff9545d407f0929162e0fb65c21f298.jpg","text":"TemporaryFile(/tmp/multipartBody8748134014627895896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_34_55_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d4f4d61dcfb22a65c2f5e58fd581985.jpg","text":"TemporaryFile(/tmp/multipartBody817172026987485137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_35_07_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/986fa61183c6153892940bb4e02d5f48.jpg","text":"TemporaryFile(/tmp/multipartBody3650000583399605572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_35_01_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0214b276574fb7b51ee01ac6e51ec60.jpg","text":"TemporaryFile(/tmp/multipartBody2413876944335555248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_35_04_3199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/012b8a69de5c20d80da16b417b868972.jpg","text":"TemporaryFile(/tmp/multipartBody369092285385464600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_34_57_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38ef2ef520457b6bcca95203aa34cc84.jpg","text":"TemporaryFile(/tmp/multipartBody8614820010050865745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308042825,"filename":"image_01112025_19_34_52_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542689","file1":"1398542686","file0":"1398542680","file4":"1398542695","file5":"1398542699","file3":"1398542692"},"map_files_photo_id_array":[{"photo_id":"1398542699","filename":"file5"},{"photo_id":"1398542689","filename":"file2"},{"photo_id":"1398542695","filename":"file4"},{"photo_id":"1398542686","filename":"file1"},{"photo_id":"1398542680","filename":"file0"},{"photo_id":"1398542692","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398542686":["hashtag1","hashtag2"]},{"1398542699":["hashtag1","hashtag2"]},{"1398542692":["hashtag1","hashtag2"]},{"1398542695":["hashtag1","hashtag2"]},{"1398542689":["hashtag1","hashtag2"]},{"1398542680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398542686, 1398542699, 1398542692, 1398542695, 1398542689, 1398542680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.941290855407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:20:22.100558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_15_9702.jpg', '/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_25_9725.jpg', '/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_35_10583.jpg', '/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_45_9709.jpg', '/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_55_9596.jpg', '/home/pi/Desktop/images/09122025/11/43/image_09122025_11_44_05_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_15_9702.jpg
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_25_9725.jpg
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_35_10583.jpg
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_45_9709.jpg
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_43_55_9596.jpg
/home/pi/Desktop/images/09122025/11/43/image_09122025_11_44_05_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542716","1398542712","1398542726","1398542714","1398542708","1398542705"],"photo_ids_order":["1398542705","1398542708","1398542712","1398542714","1398542716","1398542726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3968a5055def5fc09111059e62f0e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4646828946675462257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_43_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4948cab6aed5ebf340b50c6efa74bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6375814601674292482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_43_35_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a2dba9e65cdbc39e64b87b0f07704a3.jpg","text":"TemporaryFile(/tmp/multipartBody8700951293821169082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_44_05_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b531a13cf78224a6023cb9970632817.jpg","text":"TemporaryFile(/tmp/multipartBody5756622653413502042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_43_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de0b838fc65df8ed67507ed1cbe729bf.jpg","text":"TemporaryFile(/tmp/multipartBody5131066144407455352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_43_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c8035ee01d7521d646669c934548abd.jpg","text":"TemporaryFile(/tmp/multipartBody6092488547475168713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308082719,"filename":"image_09122025_11_43_15_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542712","file1":"1398542708","file0":"1398542705","file4":"1398542716","file5":"1398542726","file3":"1398542714"},"map_files_photo_id_array":[{"photo_id":"1398542726","filename":"file5"},{"photo_id":"1398542712","filename":"file2"},{"photo_id":"1398542716","filename":"file4"},{"photo_id":"1398542708","filename":"file1"},{"photo_id":"1398542705","filename":"file0"},{"photo_id":"1398542714","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542716":["hashtag1","hashtag2"]},{"1398542712":["hashtag1","hashtag2"]},{"1398542726":["hashtag1","hashtag2"]},{"1398542714":["hashtag1","hashtag2"]},{"1398542708":["hashtag1","hashtag2"]},{"1398542705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542716, 1398542712, 1398542726, 1398542714, 1398542708, 1398542705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33175492286682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:21:03.046385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_15_9793.jpg', '/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_25_9706.jpg', '/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_36_10782.jpg', '/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_45_9853.jpg', '/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_55_9682.jpg', '/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_15_9793.jpg
/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_25_9706.jpg
/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_36_10782.jpg
/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_45_9853.jpg
/home/pi/Desktop/images/09122025/11/44/image_09122025_11_44_55_9682.jpg
/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_14_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542743","1398542751","1398542753","1398542747","1398542755","1398542749"],"photo_ids_order":["1398542743","1398542747","1398542749","1398542751","1398542753","1398542755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6e43aaee38e1da2667b7cd9b50a8eb7.jpg","text":"TemporaryFile(/tmp/multipartBody777581809149885945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_44_15_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/168cfd88733517b7be2110beea9b4345.jpg","text":"TemporaryFile(/tmp/multipartBody9024783583609377375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_44_45_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/719bb4f3cbe3aaaf380494c0774fea3d.jpg","text":"TemporaryFile(/tmp/multipartBody5179467598974447865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_44_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff9c21c374c632ee1cfa06968e68ca4f.jpg","text":"TemporaryFile(/tmp/multipartBody8191588305866295014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_44_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46e5816d54509b984a3ecd42926bcc19.jpg","text":"TemporaryFile(/tmp/multipartBody5258861094561944965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_45_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ef0a57fc9c5148f4b7560dcac371401.jpg","text":"TemporaryFile(/tmp/multipartBody6930695161485307348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308123695,"filename":"image_09122025_11_44_36_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542749","file1":"1398542747","file0":"1398542743","file4":"1398542753","file5":"1398542755","file3":"1398542751"},"map_files_photo_id_array":[{"photo_id":"1398542755","filename":"file5"},{"photo_id":"1398542749","filename":"file2"},{"photo_id":"1398542753","filename":"file4"},{"photo_id":"1398542747","filename":"file1"},{"photo_id":"1398542743","filename":"file0"},{"photo_id":"1398542751","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542743":["hashtag1","hashtag2"]},{"1398542751":["hashtag1","hashtag2"]},{"1398542753":["hashtag1","hashtag2"]},{"1398542747":["hashtag1","hashtag2"]},{"1398542755":["hashtag1","hashtag2"]},{"1398542749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542743, 1398542751, 1398542753, 1398542747, 1398542755, 1398542749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85195326805115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:21:42.236950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_09_2677.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_16_2616.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_19_3604.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_22_2734.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_38_16395.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_42_3222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_09_2677.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_16_2616.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_19_3604.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_22_2734.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_38_16395.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_42_3222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542857","1398542764","1398542812","1398542772","1398542775","1398542768"],"photo_ids_order":["1398542764","1398542768","1398542772","1398542775","1398542812","1398542857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3e0d927fc94dc8d0d3577c03a9c7224.jpg","text":"TemporaryFile(/tmp/multipartBody8537873591065719954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_42_3222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe25d6f94c06d6950cb83a4d8eb6f178.jpg","text":"TemporaryFile(/tmp/multipartBody3973752922833885824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_09_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/923f1235946607137b14814bfe28fa82.jpg","text":"TemporaryFile(/tmp/multipartBody1748969854242179551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_38_16395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ad6a0326f2a4ee773313e834f956b15.jpg","text":"TemporaryFile(/tmp/multipartBody3542944784087554560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_19_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f3602a7e2c344b903e759e14ce167de.jpg","text":"TemporaryFile(/tmp/multipartBody710078477731510441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_22_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1897e8141d463dfce3beed29f18f8aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2624243183351601450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308163204,"filename":"image_01112025_19_35_16_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542772","file1":"1398542768","file0":"1398542764","file4":"1398542812","file5":"1398542857","file3":"1398542775"},"map_files_photo_id_array":[{"photo_id":"1398542857","filename":"file5"},{"photo_id":"1398542772","filename":"file2"},{"photo_id":"1398542812","filename":"file4"},{"photo_id":"1398542768","filename":"file1"},{"photo_id":"1398542764","filename":"file0"},{"photo_id":"1398542775","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398542857":["hashtag1","hashtag2"]},{"1398542764":["hashtag1","hashtag2"]},{"1398542812":["hashtag1","hashtag2"]},{"1398542772":["hashtag1","hashtag2"]},{"1398542775":["hashtag1","hashtag2"]},{"1398542768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398542857, 1398542764, 1398542812, 1398542772, 1398542775, 1398542768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17341470718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:22:22.505946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_25_10697.jpg', '/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_34_9798.jpg', '/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_55_10548.jpg', '/home/pi/Desktop/images/09122025/11/45/image_09122025_11_46_04_9656.jpg', '/home/pi/Desktop/images/09122025/11/46/image_09122025_11_46_24_10577.jpg', '/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_14_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_25_10697.jpg
/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_34_9798.jpg
/home/pi/Desktop/images/09122025/11/45/image_09122025_11_45_55_10548.jpg
/home/pi/Desktop/images/09122025/11/45/image_09122025_11_46_04_9656.jpg
/home/pi/Desktop/images/09122025/11/46/image_09122025_11_46_24_10577.jpg
/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_14_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542944","1398542917","1398542932","1398542908","1398542970","1398542975"],"photo_ids_order":["1398542908","1398542917","1398542932","1398542944","1398542970","1398542975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1380a1cae4122870f5874dbef6cedebe.jpg","text":"TemporaryFile(/tmp/multipartBody6573142343446200666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_46_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/959dcb1e42402d70dc9a6b34287e6279.jpg","text":"TemporaryFile(/tmp/multipartBody5840091047218033363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_45_34_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3be8d603704393094f36e8a3acbbaf0e.jpg","text":"TemporaryFile(/tmp/multipartBody3054578522475059358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_45_55_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b66be894cab8bbd871eea1a687a876c0.jpg","text":"TemporaryFile(/tmp/multipartBody1009234943531259530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_45_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6922740fd26c14aa5900aca83a24e83.jpg","text":"TemporaryFile(/tmp/multipartBody4068534366935102783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_46_24_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f6c5b0179c567dc2562c11426e4b223.jpg","text":"TemporaryFile(/tmp/multipartBody2629262721459095386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308203078,"filename":"image_09122025_11_47_14_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542932","file1":"1398542917","file0":"1398542908","file4":"1398542970","file5":"1398542975","file3":"1398542944"},"map_files_photo_id_array":[{"photo_id":"1398542975","filename":"file5"},{"photo_id":"1398542932","filename":"file2"},{"photo_id":"1398542970","filename":"file4"},{"photo_id":"1398542917","filename":"file1"},{"photo_id":"1398542908","filename":"file0"},{"photo_id":"1398542944","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542944":["hashtag1","hashtag2"]},{"1398542917":["hashtag1","hashtag2"]},{"1398542932":["hashtag1","hashtag2"]},{"1398542908":["hashtag1","hashtag2"]},{"1398542970":["hashtag1","hashtag2"]},{"1398542975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542944, 1398542917, 1398542932, 1398542908, 1398542970, 1398542975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.683027029037476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:23:03.281360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_34_9707.jpg', '/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_45_10516.jpg', '/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_54_9710.jpg', '/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_14_9795.jpg', '/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_44_9546.jpg', '/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_55_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_34_9707.jpg
/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_45_10516.jpg
/home/pi/Desktop/images/09122025/11/47/image_09122025_11_47_54_9710.jpg
/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_14_9795.jpg
/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_44_9546.jpg
/home/pi/Desktop/images/09122025/11/48/image_09122025_11_48_55_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398542997","1398543003","1398542999","1398542993","1398542995","1398542989"],"photo_ids_order":["1398542989","1398542993","1398542995","1398542997","1398542999","1398543003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3751fca562ddeb976f6ab6d9afe286f1.jpg","text":"TemporaryFile(/tmp/multipartBody1892705668043653556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_48_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78f8bfc30525951644f11088c9910e65.jpg","text":"TemporaryFile(/tmp/multipartBody4719504156719658315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_48_55_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/51b11654bd04058e7b3a33f5e87f610f.jpg","text":"TemporaryFile(/tmp/multipartBody7204229485553981342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_48_44_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1819eb9a473c99b99602ffb6bb393627.jpg","text":"TemporaryFile(/tmp/multipartBody4525941992004003433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_47_45_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d374091fd60360792e432d2c2b1d99b.jpg","text":"TemporaryFile(/tmp/multipartBody3489016835213905594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_47_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa47bebd4e8cdde7f5fc32e82af3d076.jpg","text":"TemporaryFile(/tmp/multipartBody1612733477450994110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308243908,"filename":"image_09122025_11_47_34_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398542995","file1":"1398542993","file0":"1398542989","file4":"1398542999","file5":"1398543003","file3":"1398542997"},"map_files_photo_id_array":[{"photo_id":"1398543003","filename":"file5"},{"photo_id":"1398542995","filename":"file2"},{"photo_id":"1398542999","filename":"file4"},{"photo_id":"1398542993","filename":"file1"},{"photo_id":"1398542989","filename":"file0"},{"photo_id":"1398542997","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398542997":["hashtag1","hashtag2"]},{"1398543003":["hashtag1","hashtag2"]},{"1398542999":["hashtag1","hashtag2"]},{"1398542993":["hashtag1","hashtag2"]},{"1398542995":["hashtag1","hashtag2"]},{"1398542989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398542997, 1398543003, 1398542999, 1398542993, 1398542995, 1398542989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90766644477844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:23:42.736127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_45_1893.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_47_1806.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_52_1605.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_53_1594.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_55_1608.jpg', '/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_57_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_45_1893.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_47_1806.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_52_1605.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_53_1594.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_55_1608.jpg
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_57_1774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543031","1398543027","1398543021","1398543009","1398543024","1398543017"],"photo_ids_order":["1398543009","1398543017","1398543021","1398543024","1398543027","1398543031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f21c76fe09e8654db8d3563bf82b31a.jpg","text":"TemporaryFile(/tmp/multipartBody3518614818615453014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_57_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/911b555c04d3575631866e1876380ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4927736292563641787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_55_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d29814187ddcee89ccc33be22d2ce57b.jpg","text":"TemporaryFile(/tmp/multipartBody5324128445855677547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_52_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e461787fd9124a8ec4ccabda5fbaa065.jpg","text":"TemporaryFile(/tmp/multipartBody4762472050715538645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_45_1893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/581df2beae020e600e8c5b6d9bc7ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody3892744154025969450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_53_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4da78b35b83c5446fb29b40bfae09cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8007867143945699649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308283707,"filename":"image_01112025_19_35_47_1806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543021","file1":"1398543017","file0":"1398543009","file4":"1398543027","file5":"1398543031","file3":"1398543024"},"map_files_photo_id_array":[{"photo_id":"1398543031","filename":"file5"},{"photo_id":"1398543021","filename":"file2"},{"photo_id":"1398543027","filename":"file4"},{"photo_id":"1398543017","filename":"file1"},{"photo_id":"1398543009","filename":"file0"},{"photo_id":"1398543024","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398543031":["hashtag1","hashtag2"]},{"1398543027":["hashtag1","hashtag2"]},{"1398543021":["hashtag1","hashtag2"]},{"1398543009":["hashtag1","hashtag2"]},{"1398543024":["hashtag1","hashtag2"]},{"1398543017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398543031, 1398543027, 1398543021, 1398543009, 1398543024, 1398543017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.170111656188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:24:22.012555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/48/image_09122025_11_49_04_9588.jpg', '/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_34_9828.jpg', '/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_44_9550.jpg', '/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_54_10603.jpg', '/home/pi/Desktop/images/09122025/11/50/image_09122025_11_50_25_10680.jpg', '/home/pi/Desktop/images/09122025/11/50/image_09122025_11_50_34_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/48/image_09122025_11_49_04_9588.jpg
/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_34_9828.jpg
/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_44_9550.jpg
/home/pi/Desktop/images/09122025/11/49/image_09122025_11_49_54_10603.jpg
/home/pi/Desktop/images/09122025/11/50/image_09122025_11_50_25_10680.jpg
/home/pi/Desktop/images/09122025/11/50/image_09122025_11_50_34_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543057","1398543042","1398543056","1398543046","1398543040","1398543037"],"photo_ids_order":["1398543037","1398543040","1398543042","1398543046","1398543056","1398543057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fccef50f31b3f6c0822bc3553bc1ed75.jpg","text":"TemporaryFile(/tmp/multipartBody4089989908201005137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_50_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53f8416e14197cb7ff24b53d23860484.jpg","text":"TemporaryFile(/tmp/multipartBody4910904170240637635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_49_44_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c3878b12f3d8d50236b934a3c7ed201.jpg","text":"TemporaryFile(/tmp/multipartBody2505164273937155412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_50_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b323fa2b28c45c2286f38c90a2985fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7418617789802584156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_49_54_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72dcf34002330e7bf97703d07d1dcba2.jpg","text":"TemporaryFile(/tmp/multipartBody389041056885371528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_49_34_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ccd8b2e7869f21c10f9a04a5115518f.jpg","text":"TemporaryFile(/tmp/multipartBody8612150395750339698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308322583,"filename":"image_09122025_11_49_04_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543042","file1":"1398543040","file0":"1398543037","file4":"1398543056","file5":"1398543057","file3":"1398543046"},"map_files_photo_id_array":[{"photo_id":"1398543057","filename":"file5"},{"photo_id":"1398543042","filename":"file2"},{"photo_id":"1398543056","filename":"file4"},{"photo_id":"1398543040","filename":"file1"},{"photo_id":"1398543037","filename":"file0"},{"photo_id":"1398543046","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398543057":["hashtag1","hashtag2"]},{"1398543042":["hashtag1","hashtag2"]},{"1398543056":["hashtag1","hashtag2"]},{"1398543046":["hashtag1","hashtag2"]},{"1398543040":["hashtag1","hashtag2"]},{"1398543037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398543057, 1398543042, 1398543056, 1398543046, 1398543040, 1398543037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.667792081832886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:25:02.820149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/50/image_09122025_11_51_04_9647.jpg', '/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_14_9803.jpg', '/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_34_9583.jpg', '/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_45_10537.jpg', '/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_54_9569.jpg', '/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_15_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/50/image_09122025_11_51_04_9647.jpg
/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_14_9803.jpg
/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_34_9583.jpg
/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_45_10537.jpg
/home/pi/Desktop/images/09122025/11/51/image_09122025_11_51_54_9569.jpg
/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_15_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543170","1398543302","1398543203","1398543113","1398543262","1398543178"],"photo_ids_order":["1398543113","1398543170","1398543178","1398543203","1398543262","1398543302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e34a4cce4015bcffcd61753b9f1c567b.jpg","text":"TemporaryFile(/tmp/multipartBody7709443283118905246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_51_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36c19dee7161a72ae66147d0e84c338d.jpg","text":"TemporaryFile(/tmp/multipartBody5722976658759063854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_52_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd52834e2599ab2a3542f3efe067485c.jpg","text":"TemporaryFile(/tmp/multipartBody2019676858748422636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_51_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad09d2840d07d93b3326f71e9270d47a.jpg","text":"TemporaryFile(/tmp/multipartBody682800889315753449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_51_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7074839b48934090eee315e139b88a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3502999903261174235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_51_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27a71b4cfca6b246e9c6a288ee797865.jpg","text":"TemporaryFile(/tmp/multipartBody2677725482611103771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308363437,"filename":"image_09122025_11_51_34_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543178","file1":"1398543170","file0":"1398543113","file4":"1398543262","file5":"1398543302","file3":"1398543203"},"map_files_photo_id_array":[{"photo_id":"1398543302","filename":"file5"},{"photo_id":"1398543178","filename":"file2"},{"photo_id":"1398543262","filename":"file4"},{"photo_id":"1398543170","filename":"file1"},{"photo_id":"1398543113","filename":"file0"},{"photo_id":"1398543203","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398543170":["hashtag1","hashtag2"]},{"1398543302":["hashtag1","hashtag2"]},{"1398543203":["hashtag1","hashtag2"]},{"1398543113":["hashtag1","hashtag2"]},{"1398543262":["hashtag1","hashtag2"]},{"1398543178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398543170, 1398543302, 1398543203, 1398543113, 1398543262, 1398543178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6990282535553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:25:42.266814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_58_1633.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_01_2764.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_13_2641.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_15_2690.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_18_2822.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_31_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/35/image_01112025_19_35_58_1633.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_01_2764.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_13_2641.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_15_2690.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_18_2822.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_31_3712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543372","1398543360","1398543378","1398543376","1398543364","1398543355"],"photo_ids_order":["1398543355","1398543360","1398543364","1398543372","1398543376","1398543378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcb39381f8e006e60cb3dcfe8c4a748f.jpg","text":"TemporaryFile(/tmp/multipartBody8091333967535783417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_36_15_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0d0a23d92d11ec9518acfb32e77c047.jpg","text":"TemporaryFile(/tmp/multipartBody6876863723251186155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_36_01_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5adc3deefdfaf973793123c0e125a05f.jpg","text":"TemporaryFile(/tmp/multipartBody4916725050014933262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_36_31_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c2533ed73143c3d23116bc2734055a12.jpg","text":"TemporaryFile(/tmp/multipartBody1452263919328174743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_36_18_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/16bd1c7bdffd0c284078a56b7bc0b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1173119889098743197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_36_13_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b209de4e81325276bee290124034b62.jpg","text":"TemporaryFile(/tmp/multipartBody3678305959565398026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308403271,"filename":"image_01112025_19_35_58_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543364","file1":"1398543360","file0":"1398543355","file4":"1398543376","file5":"1398543378","file3":"1398543372"},"map_files_photo_id_array":[{"photo_id":"1398543378","filename":"file5"},{"photo_id":"1398543364","filename":"file2"},{"photo_id":"1398543376","filename":"file4"},{"photo_id":"1398543360","filename":"file1"},{"photo_id":"1398543355","filename":"file0"},{"photo_id":"1398543372","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398543372":["hashtag1","hashtag2"]},{"1398543360":["hashtag1","hashtag2"]},{"1398543378":["hashtag1","hashtag2"]},{"1398543376":["hashtag1","hashtag2"]},{"1398543364":["hashtag1","hashtag2"]},{"1398543355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398543372, 1398543360, 1398543378, 1398543376, 1398543364, 1398543355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61242389678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:26:22.539626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_25_9815.jpg', '/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_34_9662.jpg', '/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_45_10607.jpg', '/home/pi/Desktop/images/09122025/11/53/image_09122025_11_53_45_10510.jpg', '/home/pi/Desktop/images/09122025/11/53/image_09122025_11_53_54_9679.jpg', '/home/pi/Desktop/images/09122025/11/53/image_09122025_11_54_04_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_25_9815.jpg
/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_34_9662.jpg
/home/pi/Desktop/images/09122025/11/52/image_09122025_11_52_45_10607.jpg
/home/pi/Desktop/images/09122025/11/53/image_09122025_11_53_45_10510.jpg
/home/pi/Desktop/images/09122025/11/53/image_09122025_11_53_54_9679.jpg
/home/pi/Desktop/images/09122025/11/53/image_09122025_11_54_04_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543396","1398543383","1398543392","1398543401","1398543388","1398543385"],"photo_ids_order":["1398543383","1398543385","1398543388","1398543392","1398543396","1398543401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/987eced69ea30e8df027880008e05071.jpg","text":"TemporaryFile(/tmp/multipartBody8708937232194580765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_53_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/334b14e0c56a55e90623dad6bc718a5f.jpg","text":"TemporaryFile(/tmp/multipartBody1700131516093927478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_52_25_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ded3bc66ddf4bad6bec5ccda871b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody895545219464707053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_53_45_10510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/852cd334f474811f75ad8e968ecf7af3.jpg","text":"TemporaryFile(/tmp/multipartBody3430134491655479084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_54_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37dde64631aeb3dbe71a2cc2b5ada18e.jpg","text":"TemporaryFile(/tmp/multipartBody295811467659078239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_52_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c50230ddc973b6055bc2fa1b0f1dca6.jpg","text":"TemporaryFile(/tmp/multipartBody3311139309668191185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308443113,"filename":"image_09122025_11_52_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543388","file1":"1398543385","file0":"1398543383","file4":"1398543396","file5":"1398543401","file3":"1398543392"},"map_files_photo_id_array":[{"photo_id":"1398543401","filename":"file5"},{"photo_id":"1398543388","filename":"file2"},{"photo_id":"1398543396","filename":"file4"},{"photo_id":"1398543385","filename":"file1"},{"photo_id":"1398543383","filename":"file0"},{"photo_id":"1398543392","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398543396":["hashtag1","hashtag2"]},{"1398543383":["hashtag1","hashtag2"]},{"1398543392":["hashtag1","hashtag2"]},{"1398543401":["hashtag1","hashtag2"]},{"1398543388":["hashtag1","hashtag2"]},{"1398543385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398543396, 1398543383, 1398543392, 1398543401, 1398543388, 1398543385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69061636924744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:27:03.492738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_15_10746.jpg', '/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_24_9542.jpg', '/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_35_10612.jpg', '/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_54_9770.jpg', '/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_14_10063.jpg', '/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_24_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_15_10746.jpg
/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_24_9542.jpg
/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_35_10612.jpg
/home/pi/Desktop/images/09122025/11/54/image_09122025_11_54_54_9770.jpg
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_14_10063.jpg
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_24_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543435","1398543417","1398543431","1398543428","1398543439","1398543433"],"photo_ids_order":["1398543417","1398543428","1398543431","1398543433","1398543435","1398543439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/308e9dcf5d6249079a8c4d8bdc86a29e.jpg","text":"TemporaryFile(/tmp/multipartBody2772814564688249560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_55_14_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33e7f8ace631f5b2934fae770050653d.jpg","text":"TemporaryFile(/tmp/multipartBody2741349397724050568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_54_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ea74516d6bb89baa21ab29dd5323797.jpg","text":"TemporaryFile(/tmp/multipartBody2336261288873583639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_54_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e766fa3b742313729d14b8946aae79d4.jpg","text":"TemporaryFile(/tmp/multipartBody3490697997028595602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_54_24_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d84d28dd7ec5bd440260061ffc3ec9b.jpg","text":"TemporaryFile(/tmp/multipartBody6378119098422991404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_55_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/400566a988a2fee99cad0451d8d3e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody684250752285459577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308484122,"filename":"image_09122025_11_54_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543431","file1":"1398543428","file0":"1398543417","file4":"1398543435","file5":"1398543439","file3":"1398543433"},"map_files_photo_id_array":[{"photo_id":"1398543439","filename":"file5"},{"photo_id":"1398543431","filename":"file2"},{"photo_id":"1398543435","filename":"file4"},{"photo_id":"1398543428","filename":"file1"},{"photo_id":"1398543417","filename":"file0"},{"photo_id":"1398543433","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398543435":["hashtag1","hashtag2"]},{"1398543417":["hashtag1","hashtag2"]},{"1398543431":["hashtag1","hashtag2"]},{"1398543428":["hashtag1","hashtag2"]},{"1398543439":["hashtag1","hashtag2"]},{"1398543433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398543435, 1398543417, 1398543431, 1398543428, 1398543439, 1398543433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.327184200286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:27:42.835103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_34_2659.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_36_2642.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_40_3667.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_43_2855.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_45_2637.jpg', '/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_51_5213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_34_2659.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_36_2642.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_40_3667.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_43_2855.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_45_2637.jpg
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_51_5213.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543483","1398543534","1398543452","1398543446","1398543455","1398543449"],"photo_ids_order":["1398543446","1398543449","1398543452","1398543455","1398543483","1398543534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49631a314160b196ffc52447231fea5c.jpg","text":"TemporaryFile(/tmp/multipartBody4731811553737532910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_45_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/221eef6b62af3b5c3d474a28e587f283.jpg","text":"TemporaryFile(/tmp/multipartBody4272323665891234490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_51_5213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d045daf34007865a8f1071147445a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5457543636100576729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_40_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5bf2d268eca5bc5556a10ea434a9189.jpg","text":"TemporaryFile(/tmp/multipartBody7962502834238437238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_34_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77610c5e77430ad6090b0d7cff159506.jpg","text":"TemporaryFile(/tmp/multipartBody5611049023995100317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_43_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2916232ae663e555d9dc7889d8d6aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2206653047474634835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308523798,"filename":"image_01112025_19_36_36_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543452","file1":"1398543449","file0":"1398543446","file4":"1398543483","file5":"1398543534","file3":"1398543455"},"map_files_photo_id_array":[{"photo_id":"1398543534","filename":"file5"},{"photo_id":"1398543452","filename":"file2"},{"photo_id":"1398543483","filename":"file4"},{"photo_id":"1398543449","filename":"file1"},{"photo_id":"1398543446","filename":"file0"},{"photo_id":"1398543455","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398543483":["hashtag1","hashtag2"]},{"1398543534":["hashtag1","hashtag2"]},{"1398543452":["hashtag1","hashtag2"]},{"1398543446":["hashtag1","hashtag2"]},{"1398543455":["hashtag1","hashtag2"]},{"1398543449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398543483, 1398543534, 1398543452, 1398543446, 1398543455, 1398543449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51883244514465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:28:32.117686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_15_10863.jpg', '/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_24_9382.jpg', '/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_34_9974.jpg', '/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_44_9758.jpg', '/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_55_10535.jpg', '/home/pi/Desktop/images/08122025/13/26/image_08122025_13_27_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_15_10863.jpg
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_24_9382.jpg
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_34_9974.jpg
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_44_9758.jpg
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_26_55_10535.jpg
/home/pi/Desktop/images/08122025/13/26/image_08122025_13_27_04_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543660","1398543648","1398543657","1398543662","1398543653","1398543634"],"photo_ids_order":["1398543634","1398543648","1398543653","1398543657","1398543660","1398543662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6aa9ac604742f227036ef082c88fd7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7591118200979487415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_26_55_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/524f7ca37ff083fffdd17d42e8bd59e1.jpg","text":"TemporaryFile(/tmp/multipartBody7199126392736200916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_26_24_9382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb6b295c6b3be28c03779eb8bcca3a47.jpg","text":"TemporaryFile(/tmp/multipartBody9130402073862056164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_26_44_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2461b98232046f6151b5ebabf0493ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5758946663817144855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_27_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6b3ba2e8fcf7d943550caf1fdc946d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4101337235054353011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_26_34_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa5a7f4ba7908bd99af0e5cf65f8eac9.jpg","text":"TemporaryFile(/tmp/multipartBody4427172778008421129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308574020,"filename":"image_08122025_13_26_15_10863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543653","file1":"1398543648","file0":"1398543634","file4":"1398543660","file5":"1398543662","file3":"1398543657"},"map_files_photo_id_array":[{"photo_id":"1398543662","filename":"file5"},{"photo_id":"1398543653","filename":"file2"},{"photo_id":"1398543660","filename":"file4"},{"photo_id":"1398543648","filename":"file1"},{"photo_id":"1398543634","filename":"file0"},{"photo_id":"1398543657","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398543660":["hashtag1","hashtag2"]},{"1398543648":["hashtag1","hashtag2"]},{"1398543657":["hashtag1","hashtag2"]},{"1398543662":["hashtag1","hashtag2"]},{"1398543653":["hashtag1","hashtag2"]},{"1398543634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398543660, 1398543648, 1398543657, 1398543662, 1398543653, 1398543634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54596829414368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:29:12.316279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_15_10744.jpg', '/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_25_9581.jpg', '/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_36_11736.jpg', '/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_45_8680.jpg', '/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_55_9573.jpg', '/home/pi/Desktop/images/08122025/13/27/image_08122025_13_28_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_15_10744.jpg
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_25_9581.jpg
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_36_11736.jpg
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_45_8680.jpg
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_27_55_9573.jpg
/home/pi/Desktop/images/08122025/13/27/image_08122025_13_28_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543681","1398543693","1398543695","1398543698","1398543685","1398543688"],"photo_ids_order":["1398543681","1398543685","1398543688","1398543693","1398543695","1398543698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17ebf0dc71ce1001d2cf900ed1235a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2230811813110269557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_27_15_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62c2cbd67ea220925c0248456a213b89.jpg","text":"TemporaryFile(/tmp/multipartBody7559563677326481499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_27_45_8680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c82d0fb67acc317f39c5b7b525d4fe0.jpg","text":"TemporaryFile(/tmp/multipartBody726148647186511001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_27_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23df7914c3c82997bec288ce60086a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3033057423245535000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_28_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e09facb5fd68be9eed81aa2aa1c2bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7094709609231255419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_27_25_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84dd0bd06b1ef44b7315a7d9aa645417.jpg","text":"TemporaryFile(/tmp/multipartBody1807299500562851438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308614085,"filename":"image_08122025_13_27_36_11736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543688","file1":"1398543685","file0":"1398543681","file4":"1398543695","file5":"1398543698","file3":"1398543693"},"map_files_photo_id_array":[{"photo_id":"1398543698","filename":"file5"},{"photo_id":"1398543688","filename":"file2"},{"photo_id":"1398543695","filename":"file4"},{"photo_id":"1398543685","filename":"file1"},{"photo_id":"1398543681","filename":"file0"},{"photo_id":"1398543693","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398543681":["hashtag1","hashtag2"]},{"1398543693":["hashtag1","hashtag2"]},{"1398543695":["hashtag1","hashtag2"]},{"1398543698":["hashtag1","hashtag2"]},{"1398543685":["hashtag1","hashtag2"]},{"1398543688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398543681, 1398543693, 1398543695, 1398543698, 1398543685, 1398543688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25585150718689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:30:02.875427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_34_9568.jpg', '/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_44_10672.jpg', '/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_54_9555.jpg', '/home/pi/Desktop/images/09122025/11/55/image_09122025_11_56_04_9660.jpg', '/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_14_10717.jpg', '/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_34_9568.jpg
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_44_10672.jpg
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_55_54_9555.jpg
/home/pi/Desktop/images/09122025/11/55/image_09122025_11_56_04_9660.jpg
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_14_10717.jpg
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543722","1398543731","1398543725","1398543719","1398543728","1398543716"],"photo_ids_order":["1398543716","1398543719","1398543722","1398543725","1398543728","1398543731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f56f1c6bbf6e90447714a2723663e869.jpg","text":"TemporaryFile(/tmp/multipartBody1341255130441451458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_55_54_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e61c3861d0f1ebc65951282cdf197cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4386869890941797996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_56_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54793e8bdbbb612aacf54945df8b416c.jpg","text":"TemporaryFile(/tmp/multipartBody4984150959370596419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_56_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86fc26b4138f5355884250675468b815.jpg","text":"TemporaryFile(/tmp/multipartBody6031456956784619619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_55_44_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46f8b4bb1fe8bdbc6c11b634905b8cb8.jpg","text":"TemporaryFile(/tmp/multipartBody735808989111438775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_56_14_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ffac4aed2617a36566775d3b06fbcc6.jpg","text":"TemporaryFile(/tmp/multipartBody1400644948983356885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308663483,"filename":"image_09122025_11_55_34_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543722","file1":"1398543719","file0":"1398543716","file4":"1398543728","file5":"1398543731","file3":"1398543725"},"map_files_photo_id_array":[{"photo_id":"1398543731","filename":"file5"},{"photo_id":"1398543722","filename":"file2"},{"photo_id":"1398543728","filename":"file4"},{"photo_id":"1398543719","filename":"file1"},{"photo_id":"1398543716","filename":"file0"},{"photo_id":"1398543725","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398543722":["hashtag1","hashtag2"]},{"1398543731":["hashtag1","hashtag2"]},{"1398543725":["hashtag1","hashtag2"]},{"1398543719":["hashtag1","hashtag2"]},{"1398543728":["hashtag1","hashtag2"]},{"1398543716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398543722, 1398543731, 1398543725, 1398543719, 1398543728, 1398543716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.089948654174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:30:42.440127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_59_8708.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_10_1588.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_12_1915.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_13_1542.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_15_1640.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_18_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/36/image_01112025_19_36_59_8708.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_10_1588.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_12_1915.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_13_1542.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_15_1640.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_18_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398543888","1398543884","1398543788","1398543742","1398543745","1398543739"],"photo_ids_order":["1398543739","1398543742","1398543745","1398543788","1398543884","1398543888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff429aebaa00ca7e9841ff0b04360876.jpg","text":"TemporaryFile(/tmp/multipartBody6126889428895036846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_37_18_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9353efb5140e3b8f554ad6d720c90ba.jpg","text":"TemporaryFile(/tmp/multipartBody5001618008845899994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_37_15_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34624f662ec4191dbe69f402a6c27cb4.jpg","text":"TemporaryFile(/tmp/multipartBody983288138589903843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_37_13_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee9b18a5c6edcd336e24ddabd0152893.jpg","text":"TemporaryFile(/tmp/multipartBody721802864175881251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_37_10_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97872f4ac13a9fed12b5e99b1a6dfb92.jpg","text":"TemporaryFile(/tmp/multipartBody1027423937181572842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_37_12_1915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cd2b8d465ca4195f7d8e3790a058483.jpg","text":"TemporaryFile(/tmp/multipartBody5319082793349240652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308703453,"filename":"image_01112025_19_36_59_8708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398543745","file1":"1398543742","file0":"1398543739","file4":"1398543884","file5":"1398543888","file3":"1398543788"},"map_files_photo_id_array":[{"photo_id":"1398543888","filename":"file5"},{"photo_id":"1398543745","filename":"file2"},{"photo_id":"1398543884","filename":"file4"},{"photo_id":"1398543742","filename":"file1"},{"photo_id":"1398543739","filename":"file0"},{"photo_id":"1398543788","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398543888":["hashtag1","hashtag2"]},{"1398543884":["hashtag1","hashtag2"]},{"1398543788":["hashtag1","hashtag2"]},{"1398543742":["hashtag1","hashtag2"]},{"1398543745":["hashtag1","hashtag2"]},{"1398543739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398543888, 1398543884, 1398543788, 1398543742, 1398543745, 1398543739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00745105743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:31:22.692101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_34_9572.jpg', '/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_44_10616.jpg', '/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_54_9599.jpg', '/home/pi/Desktop/images/09122025/11/56/image_09122025_11_57_04_9700.jpg', '/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_14_10563.jpg', '/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_34_9572.jpg
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_44_10616.jpg
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_56_54_9599.jpg
/home/pi/Desktop/images/09122025/11/56/image_09122025_11_57_04_9700.jpg
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_14_10563.jpg
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_24_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544305","1398544273","1398544162","1398544078","1398544231","1398544333"],"photo_ids_order":["1398544078","1398544162","1398544231","1398544273","1398544305","1398544333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c30b9f6e988e2b98bd2f459a0300225d.jpg","text":"TemporaryFile(/tmp/multipartBody8950419959682863290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_57_14_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70ce2d5990ea6ab6c328662e56486f7b.jpg","text":"TemporaryFile(/tmp/multipartBody2699487745501702022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_57_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ae9f136e82f6ccedea30687058155f3.jpg","text":"TemporaryFile(/tmp/multipartBody2567669544952432078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_56_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/daf5217f65034cd43e5530d9f4eb1c85.jpg","text":"TemporaryFile(/tmp/multipartBody287143989251558779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_56_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c979df978a691bcbc16b8c2f57b2fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1487794802904378718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_56_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7cac3d877278529dfb9bdbfaa9de89e5.jpg","text":"TemporaryFile(/tmp/multipartBody2582524104639275848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308743270,"filename":"image_09122025_11_57_24_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544231","file1":"1398544162","file0":"1398544078","file4":"1398544305","file5":"1398544333","file3":"1398544273"},"map_files_photo_id_array":[{"photo_id":"1398544333","filename":"file5"},{"photo_id":"1398544231","filename":"file2"},{"photo_id":"1398544305","filename":"file4"},{"photo_id":"1398544162","filename":"file1"},{"photo_id":"1398544078","filename":"file0"},{"photo_id":"1398544273","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398544305":["hashtag1","hashtag2"]},{"1398544273":["hashtag1","hashtag2"]},{"1398544162":["hashtag1","hashtag2"]},{"1398544078":["hashtag1","hashtag2"]},{"1398544231":["hashtag1","hashtag2"]},{"1398544333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398544305, 1398544273, 1398544162, 1398544078, 1398544231, 1398544333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86660718917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:32:02.322011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_33_9773.jpg', '/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_44_10595.jpg', '/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_54_9891.jpg', '/home/pi/Desktop/images/09122025/11/57/image_09122025_11_58_04_9674.jpg', '/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_14_10530.jpg', '/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_24_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_33_9773.jpg
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_44_10595.jpg
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_57_54_9891.jpg
/home/pi/Desktop/images/09122025/11/57/image_09122025_11_58_04_9674.jpg
/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_14_10530.jpg
/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_24_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544455","1398544449","1398544451","1398544424","1398544453","1398544459"],"photo_ids_order":["1398544424","1398544449","1398544451","1398544453","1398544455","1398544459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/799d9ee1c8c74ac008ae2c41ca0c79fe.jpg","text":"TemporaryFile(/tmp/multipartBody3698241656702776305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_58_14_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc9f1c73278aad38a52a281cf640df5d.jpg","text":"TemporaryFile(/tmp/multipartBody5057273464688391108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_57_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5bed6e50bb328231fe17a2587b965748.jpg","text":"TemporaryFile(/tmp/multipartBody669558396894231209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_57_54_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/089823221baed8d866e40e630f0e699e.jpg","text":"TemporaryFile(/tmp/multipartBody8667871909325018617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_57_33_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abfeef084db5855897ae01fcf3c806bb.jpg","text":"TemporaryFile(/tmp/multipartBody9103085413467323004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_58_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71f4ba954a74f7f93ff770c325d4e632.jpg","text":"TemporaryFile(/tmp/multipartBody187217012657223551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308782979,"filename":"image_09122025_11_58_24_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544451","file1":"1398544449","file0":"1398544424","file4":"1398544455","file5":"1398544459","file3":"1398544453"},"map_files_photo_id_array":[{"photo_id":"1398544459","filename":"file5"},{"photo_id":"1398544451","filename":"file2"},{"photo_id":"1398544455","filename":"file4"},{"photo_id":"1398544449","filename":"file1"},{"photo_id":"1398544424","filename":"file0"},{"photo_id":"1398544453","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398544455":["hashtag1","hashtag2"]},{"1398544449":["hashtag1","hashtag2"]},{"1398544451":["hashtag1","hashtag2"]},{"1398544424":["hashtag1","hashtag2"]},{"1398544453":["hashtag1","hashtag2"]},{"1398544459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398544455, 1398544449, 1398544451, 1398544424, 1398544453, 1398544459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06617283821106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:32:41.858936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_23_4571.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_25_1737.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_26_1650.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_28_1650.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_30_1834.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_31_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_23_4571.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_25_1737.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_26_1650.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_28_1650.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_30_1834.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_31_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544500","1398544493","1398544465","1398544480","1398544504","1398544497"],"photo_ids_order":["1398544465","1398544480","1398544493","1398544497","1398544500","1398544504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8930b2a67197075c876f6edcfa32c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2227790684839819034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_30_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b6635cf866c59ad485f07eab54d5296.jpg","text":"TemporaryFile(/tmp/multipartBody5409166952141140511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_26_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1838f330496f3fce6599d1c692ece68d.jpg","text":"TemporaryFile(/tmp/multipartBody4373414503668044361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_23_4571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50034c0a8b7a340f3842e72ecc1bb882.jpg","text":"TemporaryFile(/tmp/multipartBody7261445551588932584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_25_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d964213d89a3be2063f9c9f93709de64.jpg","text":"TemporaryFile(/tmp/multipartBody3735236954944448237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_31_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e2c6fa5f1f5034cae6cdbba62037d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2265477874499181409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308822828,"filename":"image_01112025_19_37_28_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544493","file1":"1398544480","file0":"1398544465","file4":"1398544500","file5":"1398544504","file3":"1398544497"},"map_files_photo_id_array":[{"photo_id":"1398544504","filename":"file5"},{"photo_id":"1398544493","filename":"file2"},{"photo_id":"1398544500","filename":"file4"},{"photo_id":"1398544480","filename":"file1"},{"photo_id":"1398544465","filename":"file0"},{"photo_id":"1398544497","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398544500":["hashtag1","hashtag2"]},{"1398544493":["hashtag1","hashtag2"]},{"1398544465":["hashtag1","hashtag2"]},{"1398544480":["hashtag1","hashtag2"]},{"1398544504":["hashtag1","hashtag2"]},{"1398544497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398544500, 1398544493, 1398544465, 1398544480, 1398544504, 1398544497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7991988658905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:33:22.119471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_44_10603.jpg', '/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_54_9669.jpg', '/home/pi/Desktop/images/09122025/11/58/image_09122025_11_59_04_9649.jpg', '/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_14_10771.jpg', '/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_44_10629.jpg', '/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_44_10603.jpg
/home/pi/Desktop/images/09122025/11/58/image_09122025_11_58_54_9669.jpg
/home/pi/Desktop/images/09122025/11/58/image_09122025_11_59_04_9649.jpg
/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_14_10771.jpg
/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_44_10629.jpg
/home/pi/Desktop/images/09122025/11/59/image_09122025_11_59_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544515","1398544517","1398544511","1398544508","1398544522","1398544519"],"photo_ids_order":["1398544508","1398544511","1398544515","1398544517","1398544519","1398544522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a76d247d127651ca6351e9486e3a4628.jpg","text":"TemporaryFile(/tmp/multipartBody5930701869054923589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_59_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2dcbb7d0799583d32dc8735ddfa5e7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2447473319885291960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_59_14_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d13104bb934b9dac754672124d440eed.jpg","text":"TemporaryFile(/tmp/multipartBody7747396602333070643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_58_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02f82932b4af65ee1502dfb16b5770d2.jpg","text":"TemporaryFile(/tmp/multipartBody263698966335404017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_58_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5f5758cc20eadcca78e4e532a219115.jpg","text":"TemporaryFile(/tmp/multipartBody1690118437487266144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_59_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3b9012cd1a98a3082c3d28adaf969ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6762877231444361113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308862698,"filename":"image_09122025_11_59_44_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544515","file1":"1398544511","file0":"1398544508","file4":"1398544519","file5":"1398544522","file3":"1398544517"},"map_files_photo_id_array":[{"photo_id":"1398544522","filename":"file5"},{"photo_id":"1398544515","filename":"file2"},{"photo_id":"1398544519","filename":"file4"},{"photo_id":"1398544511","filename":"file1"},{"photo_id":"1398544508","filename":"file0"},{"photo_id":"1398544517","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398544515":["hashtag1","hashtag2"]},{"1398544517":["hashtag1","hashtag2"]},{"1398544511":["hashtag1","hashtag2"]},{"1398544508":["hashtag1","hashtag2"]},{"1398544522":["hashtag1","hashtag2"]},{"1398544519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398544515, 1398544517, 1398544511, 1398544508, 1398544522, 1398544519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94967794418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:34:03.001778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_14_10052.jpg', '/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_25_10688.jpg', '/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_45_10596.jpg', '/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_55_9701.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_06_10677.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_14_8664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_14_10052.jpg
/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_25_10688.jpg
/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_45_10596.jpg
/home/pi/Desktop/images/09122025/12/00/image_09122025_12_00_55_9701.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_06_10677.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_14_8664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544539","1398544561","1398544549","1398544558","1398544560","1398544563"],"photo_ids_order":["1398544539","1398544549","1398544558","1398544560","1398544561","1398544563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d541dfa82af929abe9554ffc3761c529.jpg","text":"TemporaryFile(/tmp/multipartBody5934788975887582550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_00_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2195ff95fe9df2d90242a9b0ec06f60.jpg","text":"TemporaryFile(/tmp/multipartBody2710443372667226134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_01_06_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3b8b92877b04dacd5ded771f471f4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3128762332755842877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_00_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56045ba1f4f8ab8caebc531304c7b774.jpg","text":"TemporaryFile(/tmp/multipartBody1917308807183874930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_00_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e19f146f8bbd867fbaa3ed7d5170a699.jpg","text":"TemporaryFile(/tmp/multipartBody1011869944631320685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_00_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2b7f72f45a8e77b5eef402ae7488722.jpg","text":"TemporaryFile(/tmp/multipartBody883438369933207682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308903683,"filename":"image_09122025_12_01_14_8664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544558","file1":"1398544549","file0":"1398544539","file4":"1398544561","file5":"1398544563","file3":"1398544560"},"map_files_photo_id_array":[{"photo_id":"1398544563","filename":"file5"},{"photo_id":"1398544558","filename":"file2"},{"photo_id":"1398544561","filename":"file4"},{"photo_id":"1398544549","filename":"file1"},{"photo_id":"1398544539","filename":"file0"},{"photo_id":"1398544560","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398544539":["hashtag1","hashtag2"]},{"1398544561":["hashtag1","hashtag2"]},{"1398544549":["hashtag1","hashtag2"]},{"1398544558":["hashtag1","hashtag2"]},{"1398544560":["hashtag1","hashtag2"]},{"1398544563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398544539, 1398544561, 1398544549, 1398544558, 1398544560, 1398544563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53064727783203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:34:42.337802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_34_2693.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_37_2793.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_39_2589.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_56_10282.jpg', '/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_58_1696.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_11_13052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_34_2693.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_37_2793.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_39_2589.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_56_10282.jpg
/home/pi/Desktop/images/01112025/19/37/image_01112025_19_37_58_1696.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_11_13052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544605","1398544595","1398544582","1398544601","1398544591","1398544593"],"photo_ids_order":["1398544582","1398544591","1398544593","1398544595","1398544601","1398544605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb267ae543c7a910e94b031fdcb838e6.jpg","text":"TemporaryFile(/tmp/multipartBody1274925841395032444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_38_11_13052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a043f2894c28711f08d6f235a2c5161.jpg","text":"TemporaryFile(/tmp/multipartBody2670250730296647756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_37_56_10282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53ff2c60128087d643603e7fb6c6d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6182895511303310233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_37_34_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b0b1e0d2ae5f3a429db7dcdb5e4e597.jpg","text":"TemporaryFile(/tmp/multipartBody8659401842239854009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_37_58_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9d08beaa6f28ad1f464ca9df34b48ed.jpg","text":"TemporaryFile(/tmp/multipartBody2013278142105281764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_37_37_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/427f16aa6cd0330d8068e6f78939ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody993713160006382405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308943327,"filename":"image_01112025_19_37_39_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544593","file1":"1398544591","file0":"1398544582","file4":"1398544601","file5":"1398544605","file3":"1398544595"},"map_files_photo_id_array":[{"photo_id":"1398544605","filename":"file5"},{"photo_id":"1398544593","filename":"file2"},{"photo_id":"1398544601","filename":"file4"},{"photo_id":"1398544591","filename":"file1"},{"photo_id":"1398544582","filename":"file0"},{"photo_id":"1398544595","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398544605":["hashtag1","hashtag2"]},{"1398544595":["hashtag1","hashtag2"]},{"1398544582":["hashtag1","hashtag2"]},{"1398544601":["hashtag1","hashtag2"]},{"1398544591":["hashtag1","hashtag2"]},{"1398544593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398544605, 1398544595, 1398544582, 1398544601, 1398544591, 1398544593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18673253059387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:35:22.511513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_25_10745.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_35_9668.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_44_9746.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_55_10643.jpg', '/home/pi/Desktop/images/09122025/12/01/image_09122025_12_02_05_9585.jpg', '/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_14_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_25_10745.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_35_9668.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_44_9746.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_01_55_10643.jpg
/home/pi/Desktop/images/09122025/12/01/image_09122025_12_02_05_9585.jpg
/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_14_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398544938","1398544701","1398544853","1398544663","1398544624","1398544740"],"photo_ids_order":["1398544624","1398544663","1398544701","1398544740","1398544853","1398544938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/548094e66b0eefdcee241f610cb6b8ff.jpg","text":"TemporaryFile(/tmp/multipartBody209171117096070279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_02_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4948a3f405ccc0b4d59194923669a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4039475404153040771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_01_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88c6fa2e4914d4842ea941dcc954bb04.jpg","text":"TemporaryFile(/tmp/multipartBody62878357973024494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_02_05_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6f7346d0730d33c97cce6e9e7d15d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7351966695631873249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_01_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/edf86b07744a7b28677024e1877c55aa.jpg","text":"TemporaryFile(/tmp/multipartBody2153183179252803081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_01_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88c8694baadf21532e6efc6588c536cd.jpg","text":"TemporaryFile(/tmp/multipartBody6742128015781725961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765308983087,"filename":"image_09122025_12_01_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398544701","file1":"1398544663","file0":"1398544624","file4":"1398544853","file5":"1398544938","file3":"1398544740"},"map_files_photo_id_array":[{"photo_id":"1398544938","filename":"file5"},{"photo_id":"1398544701","filename":"file2"},{"photo_id":"1398544853","filename":"file4"},{"photo_id":"1398544663","filename":"file1"},{"photo_id":"1398544624","filename":"file0"},{"photo_id":"1398544740","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398544938":["hashtag1","hashtag2"]},{"1398544701":["hashtag1","hashtag2"]},{"1398544853":["hashtag1","hashtag2"]},{"1398544663":["hashtag1","hashtag2"]},{"1398544624":["hashtag1","hashtag2"]},{"1398544740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398544938, 1398544701, 1398544853, 1398544663, 1398544624, 1398544740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.518741607666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:36:03.083708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_25_10745.jpg', '/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_35_9709.jpg', '/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_44_9556.jpg', '/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_55_10583.jpg', '/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_15_9777.jpg', '/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_24_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_25_10745.jpg
/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_35_9709.jpg
/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_44_9556.jpg
/home/pi/Desktop/images/09122025/12/02/image_09122025_12_02_55_10583.jpg
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_15_9777.jpg
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_24_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545156","1398545213","1398545173","1398545152","1398545143","1398545154"],"photo_ids_order":["1398545143","1398545152","1398545154","1398545156","1398545173","1398545213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1333fa4c9c9037f744c8894002bdcefa.jpg","text":"TemporaryFile(/tmp/multipartBody4828319572230396313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_02_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0687e02d226d8c37923c7fc5ba5865c9.jpg","text":"TemporaryFile(/tmp/multipartBody2848967753493072003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_03_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c551911597ea3b4cc3617c4ada29ea93.jpg","text":"TemporaryFile(/tmp/multipartBody788485078214959636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_03_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b03676d4ba2ee0831d57f3d855f9ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1970026622308319445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_02_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a998b41b2e1c6930dd364f1a9de9dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody7584388093079719669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_02_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a1559f8882a0d1df6e8ac3b47c3afe6.jpg","text":"TemporaryFile(/tmp/multipartBody3374168392003096265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309023691,"filename":"image_09122025_12_02_44_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545154","file1":"1398545152","file0":"1398545143","file4":"1398545173","file5":"1398545213","file3":"1398545156"},"map_files_photo_id_array":[{"photo_id":"1398545213","filename":"file5"},{"photo_id":"1398545154","filename":"file2"},{"photo_id":"1398545173","filename":"file4"},{"photo_id":"1398545152","filename":"file1"},{"photo_id":"1398545143","filename":"file0"},{"photo_id":"1398545156","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398545156":["hashtag1","hashtag2"]},{"1398545213":["hashtag1","hashtag2"]},{"1398545173":["hashtag1","hashtag2"]},{"1398545152":["hashtag1","hashtag2"]},{"1398545143":["hashtag1","hashtag2"]},{"1398545154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398545156, 1398545213, 1398545173, 1398545152, 1398545143, 1398545154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03840398788452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:36:42.699978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_14_3024.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_15_1568.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_17_1590.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_24_1717.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_25_1613.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_28_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_14_3024.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_15_1568.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_17_1590.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_24_1717.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_25_1613.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_28_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545291","1398545363","1398545368","1398545263","1398545271","1398545334"],"photo_ids_order":["1398545263","1398545271","1398545291","1398545334","1398545363","1398545368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6763b8c37d50ca65415e9bcbce183934.jpg","text":"TemporaryFile(/tmp/multipartBody5457309551928698641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_17_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1bbefcc515cda6d48812a50a896012e0.jpg","text":"TemporaryFile(/tmp/multipartBody2609346695515068287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_25_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a37d925df261add9cc53fa97bc49018c.jpg","text":"TemporaryFile(/tmp/multipartBody2110927268378358928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_28_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85148bf0849934e4224a71e35ded29a6.jpg","text":"TemporaryFile(/tmp/multipartBody2913803014810317550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_14_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3100a3e6cad274dc1c5b66bf640a6c36.jpg","text":"TemporaryFile(/tmp/multipartBody2474084228181652988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_15_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/121532a47a6fd180883340c91daeda10.jpg","text":"TemporaryFile(/tmp/multipartBody8386625211637632068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309063666,"filename":"image_01112025_19_38_24_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545291","file1":"1398545271","file0":"1398545263","file4":"1398545363","file5":"1398545368","file3":"1398545334"},"map_files_photo_id_array":[{"photo_id":"1398545368","filename":"file5"},{"photo_id":"1398545291","filename":"file2"},{"photo_id":"1398545363","filename":"file4"},{"photo_id":"1398545271","filename":"file1"},{"photo_id":"1398545263","filename":"file0"},{"photo_id":"1398545334","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398545291":["hashtag1","hashtag2"]},{"1398545363":["hashtag1","hashtag2"]},{"1398545368":["hashtag1","hashtag2"]},{"1398545263":["hashtag1","hashtag2"]},{"1398545271":["hashtag1","hashtag2"]},{"1398545334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398545291, 1398545363, 1398545368, 1398545263, 1398545271, 1398545334)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.719560861587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:37:32.002382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_15_10645.jpg', '/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_25_9787.jpg', '/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_34_9590.jpg', '/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_45_10662.jpg', '/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_54_9591.jpg', '/home/pi/Desktop/images/08122025/13/28/image_08122025_13_29_04_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_15_10645.jpg
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_25_9787.jpg
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_34_9590.jpg
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_45_10662.jpg
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_28_54_9591.jpg
/home/pi/Desktop/images/08122025/13/28/image_08122025_13_29_04_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545579","1398545502","1398545465","1398545432","1398545542","1398545617"],"photo_ids_order":["1398545432","1398545465","1398545502","1398545542","1398545579","1398545617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e21648dacd92dddb7accbb707fcb3fb.jpg","text":"TemporaryFile(/tmp/multipartBody7918848728646492606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_28_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/147f1870f41896dde707fcd02a0a9e28.jpg","text":"TemporaryFile(/tmp/multipartBody1175178898609748018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_28_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/281883ab621203b30279e437f192bf54.jpg","text":"TemporaryFile(/tmp/multipartBody2942100695222223328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_28_25_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4bf9a3b7ab6a33547744dd898539223.jpg","text":"TemporaryFile(/tmp/multipartBody9200474395848149961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_28_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d9de6d7b5eda050fea7759eed1241a89.jpg","text":"TemporaryFile(/tmp/multipartBody9180622399753887743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_28_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f86071290395206f40e81063d4573ac.jpg","text":"TemporaryFile(/tmp/multipartBody8178900248945686043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309113948,"filename":"image_08122025_13_29_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545502","file1":"1398545465","file0":"1398545432","file4":"1398545579","file5":"1398545617","file3":"1398545542"},"map_files_photo_id_array":[{"photo_id":"1398545617","filename":"file5"},{"photo_id":"1398545502","filename":"file2"},{"photo_id":"1398545579","filename":"file4"},{"photo_id":"1398545465","filename":"file1"},{"photo_id":"1398545432","filename":"file0"},{"photo_id":"1398545542","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398545579":["hashtag1","hashtag2"]},{"1398545502":["hashtag1","hashtag2"]},{"1398545465":["hashtag1","hashtag2"]},{"1398545432":["hashtag1","hashtag2"]},{"1398545542":["hashtag1","hashtag2"]},{"1398545617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398545579, 1398545502, 1398545465, 1398545432, 1398545542, 1398545617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7313871383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:38:12.171752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_15_10603.jpg', '/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_24_9580.jpg', '/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_35_10666.jpg', '/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_44_9526.jpg', '/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_54_9800.jpg', '/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_14_10061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_15_10603.jpg
/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_24_9580.jpg
/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_35_10666.jpg
/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_44_9526.jpg
/home/pi/Desktop/images/08122025/13/29/image_08122025_13_29_54_9800.jpg
/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_14_10061.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545756","1398545753","1398545710","1398545707","1398545691","1398545715"],"photo_ids_order":["1398545691","1398545707","1398545710","1398545715","1398545753","1398545756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a8035882c431a6e4bb2b4bc2800be89.jpg","text":"TemporaryFile(/tmp/multipartBody8965651818505450901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_30_14_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/451fa145876c2d47453883714cf73042.jpg","text":"TemporaryFile(/tmp/multipartBody3143232255325698194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_29_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/676f2588179a8d5c0cdddbd03afe83c3.jpg","text":"TemporaryFile(/tmp/multipartBody3803035973500119903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_29_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f59bbc6f8f6311362a12637c31d01a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6737405711712070576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_29_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82e7824d7073f7d4bb05dc64800cc3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3446929868099563166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_29_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d40c0093e64311b62a25955b1d9ee543.jpg","text":"TemporaryFile(/tmp/multipartBody6994730350145949719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309153960,"filename":"image_08122025_13_29_44_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545710","file1":"1398545707","file0":"1398545691","file4":"1398545753","file5":"1398545756","file3":"1398545715"},"map_files_photo_id_array":[{"photo_id":"1398545756","filename":"file5"},{"photo_id":"1398545710","filename":"file2"},{"photo_id":"1398545753","filename":"file4"},{"photo_id":"1398545707","filename":"file1"},{"photo_id":"1398545691","filename":"file0"},{"photo_id":"1398545715","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398545756":["hashtag1","hashtag2"]},{"1398545753":["hashtag1","hashtag2"]},{"1398545710":["hashtag1","hashtag2"]},{"1398545707":["hashtag1","hashtag2"]},{"1398545691":["hashtag1","hashtag2"]},{"1398545715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398545756, 1398545753, 1398545710, 1398545707, 1398545691, 1398545715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.889771938323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:39:03.124646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_35_10595.jpg', '/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_45_9493.jpg', '/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_54_9742.jpg', '/home/pi/Desktop/images/09122025/12/03/image_09122025_12_04_05_10745.jpg', '/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_15_9707.jpg', '/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_24_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_35_10595.jpg
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_45_9493.jpg
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_03_54_9742.jpg
/home/pi/Desktop/images/09122025/12/03/image_09122025_12_04_05_10745.jpg
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_15_9707.jpg
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_24_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545825","1398545828","1398545830","1398545818","1398545832","1398545835"],"photo_ids_order":["1398545818","1398545825","1398545828","1398545830","1398545832","1398545835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/073b0e986e6b6ddac48eb22ce20df9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1839420420784751409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_03_45_9493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f01a09a9e7eac9447cd466c2f5a8ccd7.jpg","text":"TemporaryFile(/tmp/multipartBody887309890754721921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_03_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7da234e3fd21b76472b293d01a4d9e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4004415019860853808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_04_05_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0209de3d816392d8caa62e0d8c7fe5ef.jpg","text":"TemporaryFile(/tmp/multipartBody5063225811446428760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_03_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e5a7a9360f8ecdfe9ca69f493ea2b75.jpg","text":"TemporaryFile(/tmp/multipartBody2375813304595998555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_04_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e969bdf88181198b9131f3465ed85c61.jpg","text":"TemporaryFile(/tmp/multipartBody2494101374525358393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309203979,"filename":"image_09122025_12_04_24_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545828","file1":"1398545825","file0":"1398545818","file4":"1398545832","file5":"1398545835","file3":"1398545830"},"map_files_photo_id_array":[{"photo_id":"1398545835","filename":"file5"},{"photo_id":"1398545828","filename":"file2"},{"photo_id":"1398545832","filename":"file4"},{"photo_id":"1398545825","filename":"file1"},{"photo_id":"1398545818","filename":"file0"},{"photo_id":"1398545830","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398545825":["hashtag1","hashtag2"]},{"1398545828":["hashtag1","hashtag2"]},{"1398545830":["hashtag1","hashtag2"]},{"1398545818":["hashtag1","hashtag2"]},{"1398545832":["hashtag1","hashtag2"]},{"1398545835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398545825, 1398545828, 1398545830, 1398545818, 1398545832, 1398545835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91940093040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:39:42.376568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_30_1748.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_32_1606.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_36_2682.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_40_3709.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_45_2576.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_49_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_30_1748.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_32_1606.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_36_2682.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_40_3709.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_45_2576.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_49_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545855","1398545858","1398545852","1398545846","1398545849","1398545842"],"photo_ids_order":["1398545842","1398545846","1398545849","1398545852","1398545855","1398545858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d358041885c0c6068d6cd3ec68d1b1e0.jpg","text":"TemporaryFile(/tmp/multipartBody5949821515501408901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_45_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/036bebccd92d93122280831d93804b49.jpg","text":"TemporaryFile(/tmp/multipartBody2021134476679843996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_49_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/def77139ab3f55a3ec049827b858633a.jpg","text":"TemporaryFile(/tmp/multipartBody5804234319652264090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_40_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13fc62ed5db46f2c7027515ef300a20e.jpg","text":"TemporaryFile(/tmp/multipartBody3714321647252374499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_32_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94c0d49eeaad7fe987bde3b1027a4249.jpg","text":"TemporaryFile(/tmp/multipartBody7323442883239420466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_36_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e18fc419f2f465cfa5928968e8fc4d93.jpg","text":"TemporaryFile(/tmp/multipartBody7155222836646810066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309243369,"filename":"image_01112025_19_38_30_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545849","file1":"1398545846","file0":"1398545842","file4":"1398545855","file5":"1398545858","file3":"1398545852"},"map_files_photo_id_array":[{"photo_id":"1398545858","filename":"file5"},{"photo_id":"1398545849","filename":"file2"},{"photo_id":"1398545855","filename":"file4"},{"photo_id":"1398545846","filename":"file1"},{"photo_id":"1398545842","filename":"file0"},{"photo_id":"1398545852","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398545855":["hashtag1","hashtag2"]},{"1398545858":["hashtag1","hashtag2"]},{"1398545852":["hashtag1","hashtag2"]},{"1398545846":["hashtag1","hashtag2"]},{"1398545849":["hashtag1","hashtag2"]},{"1398545842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398545855, 1398545858, 1398545852, 1398545846, 1398545849, 1398545842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00562381744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:40:22.710393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_35_10659.jpg', '/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_45_9722.jpg', '/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_54_9639.jpg', '/home/pi/Desktop/images/09122025/12/04/image_09122025_12_05_04_9971.jpg', '/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_15_10705.jpg', '/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_25_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_35_10659.jpg
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_45_9722.jpg
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_04_54_9639.jpg
/home/pi/Desktop/images/09122025/12/04/image_09122025_12_05_04_9971.jpg
/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_15_10705.jpg
/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_25_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398545993","1398545932","1398545979","1398545865","1398545952","1398545955"],"photo_ids_order":["1398545865","1398545932","1398545952","1398545955","1398545979","1398545993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fcc7a773da1484d02a2786e0fa4590ef.jpg","text":"TemporaryFile(/tmp/multipartBody7084031913833441063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_05_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3688de2697a0e8099f33810ac4c1fee.jpg","text":"TemporaryFile(/tmp/multipartBody4666777993798756055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_04_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bee845967bd78baa083dfb67ef560fe.jpg","text":"TemporaryFile(/tmp/multipartBody632243646107941791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_05_15_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d6a089bc24c41cbc11144e6fe1e5ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8128931057396072087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_04_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87a0c7eb7ddbe4f05909a0031101add6.jpg","text":"TemporaryFile(/tmp/multipartBody5078765496152183269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_04_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4ba79a8c1a13e8d306dd9b009cd575a.jpg","text":"TemporaryFile(/tmp/multipartBody1962600818025897651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309283307,"filename":"image_09122025_12_05_04_9971.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398545952","file1":"1398545932","file0":"1398545865","file4":"1398545979","file5":"1398545993","file3":"1398545955"},"map_files_photo_id_array":[{"photo_id":"1398545993","filename":"file5"},{"photo_id":"1398545952","filename":"file2"},{"photo_id":"1398545979","filename":"file4"},{"photo_id":"1398545932","filename":"file1"},{"photo_id":"1398545865","filename":"file0"},{"photo_id":"1398545955","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398545993":["hashtag1","hashtag2"]},{"1398545932":["hashtag1","hashtag2"]},{"1398545979":["hashtag1","hashtag2"]},{"1398545865":["hashtag1","hashtag2"]},{"1398545952":["hashtag1","hashtag2"]},{"1398545955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398545993, 1398545932, 1398545979, 1398545865, 1398545952, 1398545955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.564714193344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:41:11.872416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_25_10703.jpg', '/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_34_9561.jpg', '/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_55_9771.jpg', '/home/pi/Desktop/images/08122025/13/30/image_08122025_13_31_04_9527.jpg', '/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_15_10544.jpg', '/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_25_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_25_10703.jpg
/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_34_9561.jpg
/home/pi/Desktop/images/08122025/13/30/image_08122025_13_30_55_9771.jpg
/home/pi/Desktop/images/08122025/13/30/image_08122025_13_31_04_9527.jpg
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_15_10544.jpg
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_25_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398546224","1398546305","1398546101","1398546265","1398546183","1398546141"],"photo_ids_order":["1398546101","1398546141","1398546183","1398546224","1398546265","1398546305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4ad702a31add928ba1e9f6bae8ca383.jpg","text":"TemporaryFile(/tmp/multipartBody8891200772891604035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_31_04_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13bb242455001c48f739907d85dc653d.jpg","text":"TemporaryFile(/tmp/multipartBody4751529754431189105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_31_25_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23c8b2d05e1202c95df55ecd64e11c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3198012946782381117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_30_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0256fbf8fe631a89566b9f1a77cd0db6.jpg","text":"TemporaryFile(/tmp/multipartBody4190742396162729275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_31_15_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/666078d6d551d1c4fbcdf805711bab9d.jpg","text":"TemporaryFile(/tmp/multipartBody1066896657550812268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_30_55_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64c0455d8886855216fe553818fd33e8.jpg","text":"TemporaryFile(/tmp/multipartBody2639868739966070990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309333649,"filename":"image_08122025_13_30_34_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398546183","file1":"1398546141","file0":"1398546101","file4":"1398546265","file5":"1398546305","file3":"1398546224"},"map_files_photo_id_array":[{"photo_id":"1398546305","filename":"file5"},{"photo_id":"1398546183","filename":"file2"},{"photo_id":"1398546265","filename":"file4"},{"photo_id":"1398546141","filename":"file1"},{"photo_id":"1398546101","filename":"file0"},{"photo_id":"1398546224","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398546224":["hashtag1","hashtag2"]},{"1398546305":["hashtag1","hashtag2"]},{"1398546101":["hashtag1","hashtag2"]},{"1398546265":["hashtag1","hashtag2"]},{"1398546183":["hashtag1","hashtag2"]},{"1398546141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398546224, 1398546305, 1398546101, 1398546265, 1398546183, 1398546141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19585561752319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:42:02.523007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_34_9705.jpg', '/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_45_10609.jpg', '/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_54_9552.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_15_9582.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_24_9796.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_35_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_34_9705.jpg
/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_45_10609.jpg
/home/pi/Desktop/images/09122025/12/05/image_09122025_12_05_54_9552.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_15_9582.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_24_9796.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_35_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398546419","1398546481","1398546483","1398546378","1398546482","1398546458"],"photo_ids_order":["1398546378","1398546419","1398546458","1398546481","1398546482","1398546483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e90f7495c09ab09a7f9738aca30140d.jpg","text":"TemporaryFile(/tmp/multipartBody1074128532235297153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_05_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa4319627968ec45ea03d76bd42059bf.jpg","text":"TemporaryFile(/tmp/multipartBody6486994097574695586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_06_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6080793436455f7f51568cc135b46b1.jpg","text":"TemporaryFile(/tmp/multipartBody4617917824776341623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_06_35_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f54cbf2a02820f432a7e377917e8aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody6654906455052550052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_05_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b81b7ec9fd824c3c711a4bf052ad400.jpg","text":"TemporaryFile(/tmp/multipartBody4102537777891185178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_06_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c725e72d9e0b3b8a6d98242485402cd.jpg","text":"TemporaryFile(/tmp/multipartBody4794868575152379097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309383142,"filename":"image_09122025_12_05_54_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398546458","file1":"1398546419","file0":"1398546378","file4":"1398546482","file5":"1398546483","file3":"1398546481"},"map_files_photo_id_array":[{"photo_id":"1398546483","filename":"file5"},{"photo_id":"1398546458","filename":"file2"},{"photo_id":"1398546482","filename":"file4"},{"photo_id":"1398546419","filename":"file1"},{"photo_id":"1398546378","filename":"file0"},{"photo_id":"1398546481","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398546419":["hashtag1","hashtag2"]},{"1398546481":["hashtag1","hashtag2"]},{"1398546483":["hashtag1","hashtag2"]},{"1398546378":["hashtag1","hashtag2"]},{"1398546482":["hashtag1","hashtag2"]},{"1398546458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398546419, 1398546481, 1398546483, 1398546378, 1398546482, 1398546458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.892863512039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:42:42.053568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_51_2522.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_54_2997.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_58_3613.jpg', '/home/pi/Desktop/images/01112025/19/38/image_01112025_19_39_00_2615.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_03_2639.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_34_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_51_2522.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_54_2997.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_38_58_3613.jpg
/home/pi/Desktop/images/01112025/19/38/image_01112025_19_39_00_2615.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_03_2639.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_34_1793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398546623","1398546598","1398546556","1398546604","1398546588","1398546612"],"photo_ids_order":["1398546556","1398546588","1398546598","1398546604","1398546612","1398546623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2035c297c02f41398d5a3d8e7ca1046d.jpg","text":"TemporaryFile(/tmp/multipartBody4175583111030284128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_39_34_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3597880aab3a991b9df86f10d6e66c8.jpg","text":"TemporaryFile(/tmp/multipartBody359512788300196075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_38_58_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a8cfa62440ec45bed67631d5c16ab11.jpg","text":"TemporaryFile(/tmp/multipartBody9123336947121889972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_38_51_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a7c8f8052723d31806834b10f108646.jpg","text":"TemporaryFile(/tmp/multipartBody5996968034246364381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_39_00_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68cb1dbfc736eb2a135e3b321bf8a0ff.jpg","text":"TemporaryFile(/tmp/multipartBody7141430205602373824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_38_54_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df118decf9c9a85a6abcb8c2b28bfdc0.jpg","text":"TemporaryFile(/tmp/multipartBody5032834093827049495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309423105,"filename":"image_01112025_19_39_03_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398546598","file1":"1398546588","file0":"1398546556","file4":"1398546612","file5":"1398546623","file3":"1398546604"},"map_files_photo_id_array":[{"photo_id":"1398546623","filename":"file5"},{"photo_id":"1398546598","filename":"file2"},{"photo_id":"1398546612","filename":"file4"},{"photo_id":"1398546588","filename":"file1"},{"photo_id":"1398546556","filename":"file0"},{"photo_id":"1398546604","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398546623":["hashtag1","hashtag2"]},{"1398546598":["hashtag1","hashtag2"]},{"1398546556":["hashtag1","hashtag2"]},{"1398546604":["hashtag1","hashtag2"]},{"1398546588":["hashtag1","hashtag2"]},{"1398546612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398546623, 1398546598, 1398546556, 1398546604, 1398546588, 1398546612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83051085472107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:43:22.307010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_45_10274.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_55_9909.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_07_04_9119.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_15_10640.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_24_9625.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_34_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_45_10274.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_55_9909.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_07_04_9119.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_15_10640.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_24_9625.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_34_9757.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5166668891906738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:43:32.282019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_34_9672.jpg', '/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_45_10695.jpg', '/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_55_10020.jpg', '/home/pi/Desktop/images/08122025/13/31/image_08122025_13_32_04_9538.jpg', '/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_14_9581.jpg', '/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_25_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_34_9672.jpg
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_45_10695.jpg
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_31_55_10020.jpg
/home/pi/Desktop/images/08122025/13/31/image_08122025_13_32_04_9538.jpg
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_14_9581.jpg
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_25_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398546644","1398546635","1398546651","1398546639","1398546654","1398546648"],"photo_ids_order":["1398546635","1398546639","1398546644","1398546648","1398546651","1398546654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68a7cb4f690e1e49923c0970d8b705a7.jpg","text":"TemporaryFile(/tmp/multipartBody8700488715447126929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_31_55_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fbf7114d799ad6a3193e08277835cec.jpg","text":"TemporaryFile(/tmp/multipartBody6004575615110332891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_31_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca7d41c0021ee1585434053acf770489.jpg","text":"TemporaryFile(/tmp/multipartBody2060430764658085486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_32_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db3c889f3c8b4d8b4b48f0e2bb8b2cda.jpg","text":"TemporaryFile(/tmp/multipartBody257902153533418214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_31_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a24d913df0681b18bca28f6b89b662a.jpg","text":"TemporaryFile(/tmp/multipartBody2282792069883113886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_32_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2097e87048b8d566ac13e4ba4f8fcda9.jpg","text":"TemporaryFile(/tmp/multipartBody5427588019450670036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309474187,"filename":"image_08122025_13_32_04_9538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398546644","file1":"1398546639","file0":"1398546635","file4":"1398546651","file5":"1398546654","file3":"1398546648"},"map_files_photo_id_array":[{"photo_id":"1398546654","filename":"file5"},{"photo_id":"1398546644","filename":"file2"},{"photo_id":"1398546651","filename":"file4"},{"photo_id":"1398546639","filename":"file1"},{"photo_id":"1398546635","filename":"file0"},{"photo_id":"1398546648","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398546644":["hashtag1","hashtag2"]},{"1398546635":["hashtag1","hashtag2"]},{"1398546651":["hashtag1","hashtag2"]},{"1398546639":["hashtag1","hashtag2"]},{"1398546654":["hashtag1","hashtag2"]},{"1398546648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398546644, 1398546635, 1398546651, 1398546639, 1398546654, 1398546648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.041311502456665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:44:12.563691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_34_9200.jpg', '/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_45_10615.jpg', '/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_54_9732.jpg', '/home/pi/Desktop/images/08122025/13/32/image_08122025_13_33_05_10587.jpg', '/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_14_9532.jpg', '/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_34_9200.jpg
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_45_10615.jpg
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_32_54_9732.jpg
/home/pi/Desktop/images/08122025/13/32/image_08122025_13_33_05_10587.jpg
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_14_9532.jpg
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_24_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398546895","1398546820","1398546858","1398546738","1398546779","1398546695"],"photo_ids_order":["1398546695","1398546738","1398546779","1398546820","1398546858","1398546895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6ac123282357094a19ed3e358202d5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8741523471237212818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_33_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bc1fc942c16ccf58f9dda123ffe59fa.jpg","text":"TemporaryFile(/tmp/multipartBody805007621664342728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_33_05_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab7d369a4a394ce40ddb76c1cdd3c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7520852829851492712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_33_14_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/379ad8b295499c082fba8f0252705317.jpg","text":"TemporaryFile(/tmp/multipartBody2518893434500772086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_32_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b03ea94186b76eb244a17f71f6ef123.jpg","text":"TemporaryFile(/tmp/multipartBody5393587958887517669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_32_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d1be18c0a10269f6839ceff61046177.jpg","text":"TemporaryFile(/tmp/multipartBody154331605266847916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309514359,"filename":"image_08122025_13_32_34_9200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398546779","file1":"1398546738","file0":"1398546695","file4":"1398546858","file5":"1398546895","file3":"1398546820"},"map_files_photo_id_array":[{"photo_id":"1398546895","filename":"file5"},{"photo_id":"1398546779","filename":"file2"},{"photo_id":"1398546858","filename":"file4"},{"photo_id":"1398546738","filename":"file1"},{"photo_id":"1398546695","filename":"file0"},{"photo_id":"1398546820","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398546895":["hashtag1","hashtag2"]},{"1398546820":["hashtag1","hashtag2"]},{"1398546858":["hashtag1","hashtag2"]},{"1398546738":["hashtag1","hashtag2"]},{"1398546779":["hashtag1","hashtag2"]},{"1398546695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398546895, 1398546820, 1398546858, 1398546738, 1398546779, 1398546695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34489631652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:45:03.389355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_45_10274.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_55_9909.jpg', '/home/pi/Desktop/images/09122025/12/06/image_09122025_12_07_04_9119.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_15_10640.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_24_9625.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_34_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_45_10274.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_06_55_9909.jpg
/home/pi/Desktop/images/09122025/12/06/image_09122025_12_07_04_9119.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_15_10640.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_24_9625.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_34_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547094","1398547079","1398547160","1398547040","1398547115","1398547001"],"photo_ids_order":["1398547001","1398547040","1398547079","1398547094","1398547115","1398547160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92ea483783f37c0bcc52ad753597b355.jpg","text":"TemporaryFile(/tmp/multipartBody5863614479062727921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_07_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1d495d72d1bf0bc5a815e43fbb22030.jpg","text":"TemporaryFile(/tmp/multipartBody8513191386507627776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_07_04_9119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43f8ccbeee5d21c34c060f74685a9f47.jpg","text":"TemporaryFile(/tmp/multipartBody3121909261579005248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_07_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/437d4fc63a435102d7c0870a19bf931f.jpg","text":"TemporaryFile(/tmp/multipartBody2047823647817590327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_06_55_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a7f9c539a1c4bd7664f161f6e981ba1.jpg","text":"TemporaryFile(/tmp/multipartBody4329779779475538861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_07_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62244bee3901f066c64dedc3f0e93546.jpg","text":"TemporaryFile(/tmp/multipartBody7932504031259730939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309564050,"filename":"image_09122025_12_06_45_10274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547079","file1":"1398547040","file0":"1398547001","file4":"1398547115","file5":"1398547160","file3":"1398547094"},"map_files_photo_id_array":[{"photo_id":"1398547160","filename":"file5"},{"photo_id":"1398547079","filename":"file2"},{"photo_id":"1398547115","filename":"file4"},{"photo_id":"1398547040","filename":"file1"},{"photo_id":"1398547001","filename":"file0"},{"photo_id":"1398547094","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398547094":["hashtag1","hashtag2"]},{"1398547079":["hashtag1","hashtag2"]},{"1398547160":["hashtag1","hashtag2"]},{"1398547040":["hashtag1","hashtag2"]},{"1398547115":["hashtag1","hashtag2"]},{"1398547001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398547094, 1398547079, 1398547160, 1398547040, 1398547115, 1398547001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60627746582031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:45:42.698483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_44_1528.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_46_1832.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_47_1731.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_51_1694.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_52_1642.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_54_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_44_1528.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_46_1832.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_47_1731.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_51_1694.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_52_1642.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_54_1673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8555750846862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:46:02.535599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_45_10671.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_55_9746.jpg', '/home/pi/Desktop/images/09122025/12/07/image_09122025_12_08_04_9829.jpg', '/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_15_10690.jpg', '/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_25_9670.jpg', '/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_34_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_45_10671.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_07_55_9746.jpg
/home/pi/Desktop/images/09122025/12/07/image_09122025_12_08_04_9829.jpg
/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_15_10690.jpg
/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_25_9670.jpg
/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_34_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547415","1398547502","1398547480","1398547474","1398547446","1398547448"],"photo_ids_order":["1398547415","1398547446","1398547448","1398547474","1398547480","1398547502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2f459528ddffe047dc2db91f0134e651.jpg","text":"TemporaryFile(/tmp/multipartBody3087482749874766624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_07_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6afe4919984b34f2fa69f7aad075a62d.jpg","text":"TemporaryFile(/tmp/multipartBody7562845358655687957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_08_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27ba58da727415ad4bb904a31028be76.jpg","text":"TemporaryFile(/tmp/multipartBody8109052055697012847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_08_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ec0fbc351e1b975cc7755e72a4f9e27.jpg","text":"TemporaryFile(/tmp/multipartBody5226650790181310128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_08_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2c8e25822ac5c31a9c3455fc27cb14f.jpg","text":"TemporaryFile(/tmp/multipartBody1611705143144659161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_07_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f62334ec217476cce1d2a75d3ece28f.jpg","text":"TemporaryFile(/tmp/multipartBody9197423059838804736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309623128,"filename":"image_09122025_12_08_04_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547448","file1":"1398547446","file0":"1398547415","file4":"1398547480","file5":"1398547502","file3":"1398547474"},"map_files_photo_id_array":[{"photo_id":"1398547502","filename":"file5"},{"photo_id":"1398547448","filename":"file2"},{"photo_id":"1398547480","filename":"file4"},{"photo_id":"1398547446","filename":"file1"},{"photo_id":"1398547415","filename":"file0"},{"photo_id":"1398547474","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398547415":["hashtag1","hashtag2"]},{"1398547502":["hashtag1","hashtag2"]},{"1398547480":["hashtag1","hashtag2"]},{"1398547474":["hashtag1","hashtag2"]},{"1398547446":["hashtag1","hashtag2"]},{"1398547448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398547415, 1398547502, 1398547480, 1398547474, 1398547446, 1398547448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.184022426605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:46:41.901542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_44_1528.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_46_1832.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_47_1731.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_51_1694.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_52_1642.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_54_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_44_1528.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_46_1832.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_47_1731.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_51_1694.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_52_1642.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_54_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547564","1398547549","1398547519","1398547515","1398547544","1398547532"],"photo_ids_order":["1398547515","1398547519","1398547532","1398547544","1398547549","1398547564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74e06d6744456e4f2ab0774d51a0be46.jpg","text":"TemporaryFile(/tmp/multipartBody6811930579881525892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_54_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9299f9a86f732ba11e6b250fc06519ab.jpg","text":"TemporaryFile(/tmp/multipartBody5110615696904010826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_52_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c8520b55b8e6f7777a2943fb436fd9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1954705823590318401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_46_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fba463ff3ffdec16170ea28b05e72baf.jpg","text":"TemporaryFile(/tmp/multipartBody1362053431086736694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_44_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2f625874fbd618996ac385b9a6d5fc0f.jpg","text":"TemporaryFile(/tmp/multipartBody504829626563943429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_51_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6543a70ec127475abc59ec462b68916.jpg","text":"TemporaryFile(/tmp/multipartBody869328662711466712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309662746,"filename":"image_01112025_19_39_47_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547532","file1":"1398547519","file0":"1398547515","file4":"1398547549","file5":"1398547564","file3":"1398547544"},"map_files_photo_id_array":[{"photo_id":"1398547564","filename":"file5"},{"photo_id":"1398547532","filename":"file2"},{"photo_id":"1398547549","filename":"file4"},{"photo_id":"1398547519","filename":"file1"},{"photo_id":"1398547515","filename":"file0"},{"photo_id":"1398547544","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398547564":["hashtag1","hashtag2"]},{"1398547549":["hashtag1","hashtag2"]},{"1398547519":["hashtag1","hashtag2"]},{"1398547515":["hashtag1","hashtag2"]},{"1398547544":["hashtag1","hashtag2"]},{"1398547532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398547564, 1398547549, 1398547519, 1398547515, 1398547544, 1398547532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.762959003448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:47:22.163814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_44_9812.jpg', '/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_55_10549.jpg', '/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_15_10656.jpg', '/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_25_9758.jpg', '/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_34_9538.jpg', '/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_45_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_44_9812.jpg
/home/pi/Desktop/images/09122025/12/08/image_09122025_12_08_55_10549.jpg
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_15_10656.jpg
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_25_9758.jpg
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_34_9538.jpg
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_45_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547576","1398547570","1398547573","1398547584","1398547580","1398547568"],"photo_ids_order":["1398547568","1398547570","1398547573","1398547576","1398547580","1398547584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff5239009b7f774172ba3e9df868056c.jpg","text":"TemporaryFile(/tmp/multipartBody2780635622568643407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_09_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a2a8ba605a09478ea03a3bb8f027a35.jpg","text":"TemporaryFile(/tmp/multipartBody1815348791751216462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_08_55_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/153618eed12d6c31b8baf64b878898b3.jpg","text":"TemporaryFile(/tmp/multipartBody2311385752899966413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_09_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3625698c1a4f452ef34fae17c0964c4e.jpg","text":"TemporaryFile(/tmp/multipartBody414472918434031105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_09_45_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ebc4ab1628dbf58bf62e96085a2198d9.jpg","text":"TemporaryFile(/tmp/multipartBody5216587131833459688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_09_34_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bfa14755e903c83679f6a2dab8117c3.jpg","text":"TemporaryFile(/tmp/multipartBody1736377289008657553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309702773,"filename":"image_09122025_12_08_44_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547573","file1":"1398547570","file0":"1398547568","file4":"1398547580","file5":"1398547584","file3":"1398547576"},"map_files_photo_id_array":[{"photo_id":"1398547584","filename":"file5"},{"photo_id":"1398547573","filename":"file2"},{"photo_id":"1398547580","filename":"file4"},{"photo_id":"1398547570","filename":"file1"},{"photo_id":"1398547568","filename":"file0"},{"photo_id":"1398547576","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398547576":["hashtag1","hashtag2"]},{"1398547570":["hashtag1","hashtag2"]},{"1398547573":["hashtag1","hashtag2"]},{"1398547584":["hashtag1","hashtag2"]},{"1398547580":["hashtag1","hashtag2"]},{"1398547568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398547576, 1398547570, 1398547573, 1398547584, 1398547580, 1398547568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.141512870788574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:48:02.752795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_55_9736.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_14_9610.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_25_10807.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_35_9623.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_55_10560.jpg', '/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_14_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_55_9736.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_14_9610.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_25_10807.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_35_9623.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_55_10560.jpg
/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_14_9864.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5047130584716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:48:12.304430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_34_10195.jpg', '/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_45_10529.jpg', '/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_55_9636.jpg', '/home/pi/Desktop/images/08122025/13/33/image_08122025_13_34_04_9810.jpg', '/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_14_9736.jpg', '/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_25_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_34_10195.jpg
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_45_10529.jpg
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_33_55_9636.jpg
/home/pi/Desktop/images/08122025/13/33/image_08122025_13_34_04_9810.jpg
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_14_9736.jpg
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_25_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547621","1398547615","1398547624","1398547618","1398547623","1398547611"],"photo_ids_order":["1398547611","1398547615","1398547618","1398547621","1398547623","1398547624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/450b68201b25c3071ef7f076540f29b7.jpg","text":"TemporaryFile(/tmp/multipartBody2418761587938668199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_34_04_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8229085a8ed5e64b9c7eaaf45d371582.jpg","text":"TemporaryFile(/tmp/multipartBody5168625803450357718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_33_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4029960c39e9feffe52e9f9d35a86a31.jpg","text":"TemporaryFile(/tmp/multipartBody2185495927077676001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_34_25_10396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06a8e5e9ddc23d20a5cefacce2bb02f3.jpg","text":"TemporaryFile(/tmp/multipartBody4324397555854819191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_33_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13f7d954c13c0024d288d8e19b76933f.jpg","text":"TemporaryFile(/tmp/multipartBody1291851718036273141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_34_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2af69f4b8a6ce518e7cef93cf542c5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7549326904245623951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309754092,"filename":"image_08122025_13_33_34_10195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547618","file1":"1398547615","file0":"1398547611","file4":"1398547623","file5":"1398547624","file3":"1398547621"},"map_files_photo_id_array":[{"photo_id":"1398547624","filename":"file5"},{"photo_id":"1398547618","filename":"file2"},{"photo_id":"1398547623","filename":"file4"},{"photo_id":"1398547615","filename":"file1"},{"photo_id":"1398547611","filename":"file0"},{"photo_id":"1398547621","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398547621":["hashtag1","hashtag2"]},{"1398547615":["hashtag1","hashtag2"]},{"1398547624":["hashtag1","hashtag2"]},{"1398547618":["hashtag1","hashtag2"]},{"1398547623":["hashtag1","hashtag2"]},{"1398547611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398547621, 1398547615, 1398547624, 1398547618, 1398547623, 1398547611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87639808654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:49:03.391838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_55_9736.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_14_9610.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_25_10807.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_35_9623.jpg', '/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_55_10560.jpg', '/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_14_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/09/image_09122025_12_09_55_9736.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_14_9610.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_25_10807.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_35_9623.jpg
/home/pi/Desktop/images/09122025/12/10/image_09122025_12_10_55_10560.jpg
/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_14_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547657","1398547651","1398547653","1398547647","1398547649","1398547643"],"photo_ids_order":["1398547643","1398547647","1398547649","1398547651","1398547653","1398547657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba44abdc4035efe69e9efa9a5c4ee24b.jpg","text":"TemporaryFile(/tmp/multipartBody7593877129377170955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_11_14_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae3dd47cacb493942bfc55b10dbf9ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1770778099302301847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_10_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a53ce0810b0902ed6eede2fd82ce90d5.jpg","text":"TemporaryFile(/tmp/multipartBody4806946946595184962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_10_55_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/719ee276a0ff7b6e27b414d5f77da351.jpg","text":"TemporaryFile(/tmp/multipartBody1033484708529836740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_10_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2dbc3361afa4be6a3e41527d82e3565f.jpg","text":"TemporaryFile(/tmp/multipartBody4709218229980697039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_10_25_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/825e25cd4fefa4b3288a78eabfce39c4.jpg","text":"TemporaryFile(/tmp/multipartBody8562212614292153468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309804115,"filename":"image_09122025_12_09_55_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547649","file1":"1398547647","file0":"1398547643","file4":"1398547653","file5":"1398547657","file3":"1398547651"},"map_files_photo_id_array":[{"photo_id":"1398547657","filename":"file5"},{"photo_id":"1398547649","filename":"file2"},{"photo_id":"1398547653","filename":"file4"},{"photo_id":"1398547647","filename":"file1"},{"photo_id":"1398547643","filename":"file0"},{"photo_id":"1398547651","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398547657":["hashtag1","hashtag2"]},{"1398547651":["hashtag1","hashtag2"]},{"1398547653":["hashtag1","hashtag2"]},{"1398547647":["hashtag1","hashtag2"]},{"1398547649":["hashtag1","hashtag2"]},{"1398547643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398547657, 1398547651, 1398547653, 1398547647, 1398547649, 1398547643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69542336463928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:49:42.648702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_56_1495.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_57_1664.jpg', '/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_59_1640.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_01_1700.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_02_1623.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_07_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_56_1495.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_57_1664.jpg
/home/pi/Desktop/images/01112025/19/39/image_01112025_19_39_59_1640.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_01_1700.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_02_1623.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_07_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547675","1398547663","1398547666","1398547668","1398547671","1398547679"],"photo_ids_order":["1398547663","1398547666","1398547668","1398547671","1398547675","1398547679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cda0f6bc3a5ade37c1aa9b9f0b6f7a19.jpg","text":"TemporaryFile(/tmp/multipartBody1133742196570377160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_40_02_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4821c7cc89fc9ce5ce1e2f42afc0ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3599400154606862133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_39_56_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/262c01b99ec546826d9ca41063940914.jpg","text":"TemporaryFile(/tmp/multipartBody8258736362648876950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_39_57_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c1e2a8bf4f8c87f69554738f1fb7891b.jpg","text":"TemporaryFile(/tmp/multipartBody6360382254046406091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_39_59_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9357a8f54a325b4ebde9ccbc6a43f01.jpg","text":"TemporaryFile(/tmp/multipartBody6649790042559506677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_40_01_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5af997a978291902a60c0fe3ae8ff11c.jpg","text":"TemporaryFile(/tmp/multipartBody4474400521913779747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309843621,"filename":"image_01112025_19_40_07_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547668","file1":"1398547666","file0":"1398547663","file4":"1398547675","file5":"1398547679","file3":"1398547671"},"map_files_photo_id_array":[{"photo_id":"1398547679","filename":"file5"},{"photo_id":"1398547668","filename":"file2"},{"photo_id":"1398547675","filename":"file4"},{"photo_id":"1398547666","filename":"file1"},{"photo_id":"1398547663","filename":"file0"},{"photo_id":"1398547671","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398547675":["hashtag1","hashtag2"]},{"1398547663":["hashtag1","hashtag2"]},{"1398547666":["hashtag1","hashtag2"]},{"1398547668":["hashtag1","hashtag2"]},{"1398547671":["hashtag1","hashtag2"]},{"1398547679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398547675, 1398547663, 1398547666, 1398547668, 1398547671, 1398547679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75424933433533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:50:31.854452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_34_9651.jpg', '/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_45_10830.jpg', '/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_55_9603.jpg', '/home/pi/Desktop/images/08122025/13/34/image_08122025_13_35_04_9666.jpg', '/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_15_10673.jpg', '/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_25_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_34_9651.jpg
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_45_10830.jpg
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_34_55_9603.jpg
/home/pi/Desktop/images/08122025/13/34/image_08122025_13_35_04_9666.jpg
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_15_10673.jpg
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_25_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398547936","1398547819","1398547848","1398547806","1398547784","1398547891"],"photo_ids_order":["1398547784","1398547806","1398547819","1398547848","1398547891","1398547936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b73dd5c6e5aa99e2d9913e65f7ca53d9.jpg","text":"TemporaryFile(/tmp/multipartBody7750457206252872323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_35_25_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e51cfb5d3882d89d97885e0ff575d897.jpg","text":"TemporaryFile(/tmp/multipartBody4378764482582144257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_34_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3f742ebfe8d33fb8c3560f3666d525e.jpg","text":"TemporaryFile(/tmp/multipartBody694133635796010211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_35_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46b3d720d0a12fd54c9e237262e46d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7517884287178838250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_34_45_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e2f26d1730f0e15e8c52128b2bd1e07.jpg","text":"TemporaryFile(/tmp/multipartBody2723718391759795787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_34_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d795b8352cdaefe866235bf9c4027c72.jpg","text":"TemporaryFile(/tmp/multipartBody6510183961278043282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309893812,"filename":"image_08122025_13_35_15_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398547819","file1":"1398547806","file0":"1398547784","file4":"1398547891","file5":"1398547936","file3":"1398547848"},"map_files_photo_id_array":[{"photo_id":"1398547936","filename":"file5"},{"photo_id":"1398547819","filename":"file2"},{"photo_id":"1398547891","filename":"file4"},{"photo_id":"1398547806","filename":"file1"},{"photo_id":"1398547784","filename":"file0"},{"photo_id":"1398547848","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398547936":["hashtag1","hashtag2"]},{"1398547819":["hashtag1","hashtag2"]},{"1398547848":["hashtag1","hashtag2"]},{"1398547806":["hashtag1","hashtag2"]},{"1398547784":["hashtag1","hashtag2"]},{"1398547891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398547936, 1398547819, 1398547848, 1398547806, 1398547784, 1398547891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87690544128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:51:12.006609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_34_9600.jpg', '/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_44_9682.jpg', '/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_55_10609.jpg', '/home/pi/Desktop/images/08122025/13/35/image_08122025_13_36_04_9643.jpg', '/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_15_10358.jpg', '/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_24_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_34_9600.jpg
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_44_9682.jpg
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_35_55_10609.jpg
/home/pi/Desktop/images/08122025/13/35/image_08122025_13_36_04_9643.jpg
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_15_10358.jpg
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_24_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548149","1398548224","1398548262","1398548187","1398548111","1398548071"],"photo_ids_order":["1398548071","1398548111","1398548149","1398548187","1398548224","1398548262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce4eb7e0ac4cf2d80615463c2f7ac90c.jpg","text":"TemporaryFile(/tmp/multipartBody8283577781418317704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_35_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c615c7b9cb2c2239735a14420ce1ae19.jpg","text":"TemporaryFile(/tmp/multipartBody7802967890563683033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_36_15_10358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b23986ce4a4ef5d2ca006167c67e7f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1135821581575204614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_36_24_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96b85d3bf56013e7bb9b89f7ebf390d6.jpg","text":"TemporaryFile(/tmp/multipartBody2390409123555486102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_36_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cbc6b96d03a59949dc1c5a721dc82d1.jpg","text":"TemporaryFile(/tmp/multipartBody1200801225175082361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_35_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e16fac7154a744ebba8cfabb83b2fe2d.jpg","text":"TemporaryFile(/tmp/multipartBody5853446197979434329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309933798,"filename":"image_08122025_13_35_34_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548149","file1":"1398548111","file0":"1398548071","file4":"1398548224","file5":"1398548262","file3":"1398548187"},"map_files_photo_id_array":[{"photo_id":"1398548262","filename":"file5"},{"photo_id":"1398548149","filename":"file2"},{"photo_id":"1398548224","filename":"file4"},{"photo_id":"1398548111","filename":"file1"},{"photo_id":"1398548071","filename":"file0"},{"photo_id":"1398548187","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398548149":["hashtag1","hashtag2"]},{"1398548224":["hashtag1","hashtag2"]},{"1398548262":["hashtag1","hashtag2"]},{"1398548187":["hashtag1","hashtag2"]},{"1398548111":["hashtag1","hashtag2"]},{"1398548071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398548149, 1398548224, 1398548262, 1398548187, 1398548111, 1398548071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.235692739486694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:52:02.619452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_25_10469.jpg', '/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_35_9713.jpg', '/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_45_10501.jpg', '/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_14_9611.jpg', '/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_25_10365.jpg', '/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_34_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_25_10469.jpg
/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_35_9713.jpg
/home/pi/Desktop/images/09122025/12/11/image_09122025_12_11_45_10501.jpg
/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_14_9611.jpg
/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_25_10365.jpg
/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_34_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548440","1398548493","1398548382","1398548474","1398548528","1398548516"],"photo_ids_order":["1398548382","1398548440","1398548474","1398548493","1398548516","1398548528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/195aa092aeb9811d5c1e5998f5de6372.jpg","text":"TemporaryFile(/tmp/multipartBody388263001027513936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_11_35_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57e53a7a9877dbd819841878aa740438.jpg","text":"TemporaryFile(/tmp/multipartBody7035512049668174932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_12_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc18fe4c6c5b0a5e2f031c1a65108c16.jpg","text":"TemporaryFile(/tmp/multipartBody2913979083538366029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_11_25_10469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/efc9ca0e00e5ff7be440792561c0131f.jpg","text":"TemporaryFile(/tmp/multipartBody421710312912871928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_11_45_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5af990804305e5a5697f28f2241f1008.jpg","text":"TemporaryFile(/tmp/multipartBody4390890468120170860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_12_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe0886e197d47b10b58f9903f4461016.jpg","text":"TemporaryFile(/tmp/multipartBody3567735472052211839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765309983213,"filename":"image_09122025_12_12_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548474","file1":"1398548440","file0":"1398548382","file4":"1398548516","file5":"1398548528","file3":"1398548493"},"map_files_photo_id_array":[{"photo_id":"1398548528","filename":"file5"},{"photo_id":"1398548474","filename":"file2"},{"photo_id":"1398548516","filename":"file4"},{"photo_id":"1398548440","filename":"file1"},{"photo_id":"1398548382","filename":"file0"},{"photo_id":"1398548493","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398548440":["hashtag1","hashtag2"]},{"1398548493":["hashtag1","hashtag2"]},{"1398548382":["hashtag1","hashtag2"]},{"1398548474":["hashtag1","hashtag2"]},{"1398548528":["hashtag1","hashtag2"]},{"1398548516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398548440, 1398548493, 1398548382, 1398548474, 1398548528, 1398548516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58354163169861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:52:42.234612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_09_1864.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_18_9117.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_20_1536.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_21_1665.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_23_1720.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_25_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_09_1864.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_18_9117.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_20_1536.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_21_1665.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_23_1720.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_25_1569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548544","1398548681","1398548588","1398548636","1398548674","1398548677"],"photo_ids_order":["1398548544","1398548588","1398548636","1398548674","1398548677","1398548681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6a4413a42f8afac09d3665d65358280.jpg","text":"TemporaryFile(/tmp/multipartBody8177843739318393922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_09_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6deab04808755bda7d649befb36b989.jpg","text":"TemporaryFile(/tmp/multipartBody4310445625791701822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_25_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bd5b7c1a712f2b5258f877f699a9d76.jpg","text":"TemporaryFile(/tmp/multipartBody7101195511219098836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_18_9117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87e665f8cfbe5441ce471f8bd3744170.jpg","text":"TemporaryFile(/tmp/multipartBody4392161283691478677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_20_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eebd73b37c683ee208aef2afde715815.jpg","text":"TemporaryFile(/tmp/multipartBody2247586683172445471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_21_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf7d88bb5909a5a9e2def799062fa23e.jpg","text":"TemporaryFile(/tmp/multipartBody7263711592968255858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310023267,"filename":"image_01112025_19_40_23_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548636","file1":"1398548588","file0":"1398548544","file4":"1398548677","file5":"1398548681","file3":"1398548674"},"map_files_photo_id_array":[{"photo_id":"1398548681","filename":"file5"},{"photo_id":"1398548636","filename":"file2"},{"photo_id":"1398548677","filename":"file4"},{"photo_id":"1398548588","filename":"file1"},{"photo_id":"1398548544","filename":"file0"},{"photo_id":"1398548674","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398548544":["hashtag1","hashtag2"]},{"1398548681":["hashtag1","hashtag2"]},{"1398548588":["hashtag1","hashtag2"]},{"1398548636":["hashtag1","hashtag2"]},{"1398548674":["hashtag1","hashtag2"]},{"1398548677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398548544, 1398548681, 1398548588, 1398548636, 1398548674, 1398548677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.733022928237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:53:22.635906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_45_10476.jpg', '/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_34_9825.jpg', '/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_55_10364.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_35_9740.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_45_10582.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_55_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_45_10476.jpg
/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_34_9825.jpg
/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_55_10364.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_35_9740.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_45_10582.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_55_9959.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4683074951171875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:53:32.485259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_35_10504.jpg', '/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_44_9640.jpg', '/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_54_9946.jpg', '/home/pi/Desktop/images/08122025/13/36/image_08122025_13_37_04_9680.jpg', '/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_15_10619.jpg', '/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_24_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_35_10504.jpg
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_44_9640.jpg
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_36_54_9946.jpg
/home/pi/Desktop/images/08122025/13/36/image_08122025_13_37_04_9680.jpg
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_15_10619.jpg
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_24_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548777","1398548797","1398548791","1398548794","1398548773","1398548782"],"photo_ids_order":["1398548773","1398548777","1398548782","1398548791","1398548794","1398548797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/058b31cb4394e9844fbe28edb4ee09dd.jpg","text":"TemporaryFile(/tmp/multipartBody6448014578937777342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_36_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6b57128b75cd16e36e43d9a72700999.jpg","text":"TemporaryFile(/tmp/multipartBody6487725897160111138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_37_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfd814792d265b2774e5bffc7e2ff76f.jpg","text":"TemporaryFile(/tmp/multipartBody1157335727902665174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_37_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/216415f199b4138c1c366fac1bdc6371.jpg","text":"TemporaryFile(/tmp/multipartBody5968171054156589550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_37_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69afc23d2043a5afbc5b6ba1c9716b38.jpg","text":"TemporaryFile(/tmp/multipartBody9157748470828473730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_36_35_10504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d9bb8c7ebca4a5ac7ebf12c40504a90.jpg","text":"TemporaryFile(/tmp/multipartBody1444719623458490079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310074435,"filename":"image_08122025_13_36_54_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548782","file1":"1398548777","file0":"1398548773","file4":"1398548794","file5":"1398548797","file3":"1398548791"},"map_files_photo_id_array":[{"photo_id":"1398548797","filename":"file5"},{"photo_id":"1398548782","filename":"file2"},{"photo_id":"1398548794","filename":"file4"},{"photo_id":"1398548777","filename":"file1"},{"photo_id":"1398548773","filename":"file0"},{"photo_id":"1398548791","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398548777":["hashtag1","hashtag2"]},{"1398548797":["hashtag1","hashtag2"]},{"1398548791":["hashtag1","hashtag2"]},{"1398548794":["hashtag1","hashtag2"]},{"1398548773":["hashtag1","hashtag2"]},{"1398548782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398548777, 1398548797, 1398548791, 1398548794, 1398548773, 1398548782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66335368156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 20:54:12.695323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_35_10380.jpg', '/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_44_9505.jpg', '/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_55_10652.jpg', '/home/pi/Desktop/images/08122025/13/37/image_08122025_13_38_04_9618.jpg', '/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_14_9673.jpg', '/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_35_10380.jpg
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_44_9505.jpg
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_37_55_10652.jpg
/home/pi/Desktop/images/08122025/13/37/image_08122025_13_38_04_9618.jpg
/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_14_9673.jpg
/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_34_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548817","1398548819","1398548810","1398548804","1398548813","1398548807"],"photo_ids_order":["1398548804","1398548807","1398548810","1398548813","1398548817","1398548819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5fffa9f3c39c4216c12430d663377734.jpg","text":"TemporaryFile(/tmp/multipartBody7955350936745199600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_38_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/124767a4d5855049cb00eac54c2a6cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5571361484978367744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_38_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aacb37a4261cdedd9cd196941af7c98b.jpg","text":"TemporaryFile(/tmp/multipartBody39226195249315362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_37_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55648b34d1330f02933b5947e69a9462.jpg","text":"TemporaryFile(/tmp/multipartBody8793016811937689582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_37_35_10380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1245d0946a0414aaccf0bd4760376d1.jpg","text":"TemporaryFile(/tmp/multipartBody708746523054032419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_38_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87e984fd2a35310ee7b26d2ba89c1f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4064475968020937781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310114479,"filename":"image_08122025_13_37_44_9505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548810","file1":"1398548807","file0":"1398548804","file4":"1398548817","file5":"1398548819","file3":"1398548813"},"map_files_photo_id_array":[{"photo_id":"1398548819","filename":"file5"},{"photo_id":"1398548810","filename":"file2"},{"photo_id":"1398548817","filename":"file4"},{"photo_id":"1398548807","filename":"file1"},{"photo_id":"1398548804","filename":"file0"},{"photo_id":"1398548813","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398548817":["hashtag1","hashtag2"]},{"1398548819":["hashtag1","hashtag2"]},{"1398548810":["hashtag1","hashtag2"]},{"1398548804":["hashtag1","hashtag2"]},{"1398548813":["hashtag1","hashtag2"]},{"1398548807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398548817, 1398548819, 1398548810, 1398548804, 1398548813, 1398548807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49423336982727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:55:02.664317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_45_10476.jpg', '/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_34_9825.jpg', '/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_55_10364.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_35_9740.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_45_10582.jpg', '/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_55_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/12/image_09122025_12_12_45_10476.jpg
/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_34_9825.jpg
/home/pi/Desktop/images/09122025/12/13/image_09122025_12_13_55_10364.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_35_9740.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_45_10582.jpg
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_14_55_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398548908","1398548838","1398548841","1398548870","1398548974","1398548833"],"photo_ids_order":["1398548833","1398548838","1398548841","1398548870","1398548908","1398548974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/449ad189c972439e5174933a59f526b6.jpg","text":"TemporaryFile(/tmp/multipartBody5684480890859494354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_14_45_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d36182556404818054de80a204dbf94c.jpg","text":"TemporaryFile(/tmp/multipartBody4117319397885347703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_13_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de5a9f3c63e4a58a82796b7c8355f5d5.jpg","text":"TemporaryFile(/tmp/multipartBody9103000858030219624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_13_55_10364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33bd7468cae552d7aaed6c4fb8832d53.jpg","text":"TemporaryFile(/tmp/multipartBody4985098606369581679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_14_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2105303bc9f4d74c8499d91cd6942927.jpg","text":"TemporaryFile(/tmp/multipartBody4811645607273310298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_14_55_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0aeb33f29c5dfb296523bfe8f5ed3881.jpg","text":"TemporaryFile(/tmp/multipartBody2291959945949549050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310163338,"filename":"image_09122025_12_12_45_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398548841","file1":"1398548838","file0":"1398548833","file4":"1398548908","file5":"1398548974","file3":"1398548870"},"map_files_photo_id_array":[{"photo_id":"1398548974","filename":"file5"},{"photo_id":"1398548841","filename":"file2"},{"photo_id":"1398548908","filename":"file4"},{"photo_id":"1398548838","filename":"file1"},{"photo_id":"1398548833","filename":"file0"},{"photo_id":"1398548870","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398548908":["hashtag1","hashtag2"]},{"1398548838":["hashtag1","hashtag2"]},{"1398548841":["hashtag1","hashtag2"]},{"1398548870":["hashtag1","hashtag2"]},{"1398548974":["hashtag1","hashtag2"]},{"1398548833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398548908, 1398548838, 1398548841, 1398548870, 1398548974, 1398548833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.936047315597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:55:41.919764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_26_1536.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_28_1568.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_30_2538.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_33_2646.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_40_2864.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_42_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_26_1536.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_28_1568.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_30_2538.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_33_2646.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_40_2864.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_42_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549390","1398549438","1398549341","1398549236","1398549305","1398549322"],"photo_ids_order":["1398549236","1398549305","1398549322","1398549341","1398549390","1398549438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af4a11203cadc5b98f5c4f18ab8ebd97.jpg","text":"TemporaryFile(/tmp/multipartBody424801100197408800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_40_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55d4e534f329225136db118612da7e26.jpg","text":"TemporaryFile(/tmp/multipartBody7043465945671003997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_42_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1b2870533a01f28f396f1e320d4a373.jpg","text":"TemporaryFile(/tmp/multipartBody7940693177318312563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_33_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab3884f9b644ae80446ca1a7c2a481ae.jpg","text":"TemporaryFile(/tmp/multipartBody5737520085021991363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_26_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d1599f0f312a6c35933f4a3c076aee1.jpg","text":"TemporaryFile(/tmp/multipartBody8675285418258112613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_28_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae7612ba94ad53f2c06c4f93e5995097.jpg","text":"TemporaryFile(/tmp/multipartBody3150696068111074489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310202929,"filename":"image_01112025_19_40_30_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549322","file1":"1398549305","file0":"1398549236","file4":"1398549390","file5":"1398549438","file3":"1398549341"},"map_files_photo_id_array":[{"photo_id":"1398549438","filename":"file5"},{"photo_id":"1398549322","filename":"file2"},{"photo_id":"1398549390","filename":"file4"},{"photo_id":"1398549305","filename":"file1"},{"photo_id":"1398549236","filename":"file0"},{"photo_id":"1398549341","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398549390":["hashtag1","hashtag2"]},{"1398549438":["hashtag1","hashtag2"]},{"1398549341":["hashtag1","hashtag2"]},{"1398549236":["hashtag1","hashtag2"]},{"1398549305":["hashtag1","hashtag2"]},{"1398549322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398549390, 1398549438, 1398549341, 1398549236, 1398549305, 1398549322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.325459003448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 20:56:22.174594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/14/image_09122025_12_15_05_9593.jpg', '/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_14_9698.jpg', '/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_25_10536.jpg', '/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_35_9674.jpg', '/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_45_10552.jpg', '/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_55_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/14/image_09122025_12_15_05_9593.jpg
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_14_9698.jpg
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_25_10536.jpg
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_35_9674.jpg
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_45_10552.jpg
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_15_55_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549508","1398549513","1398549518","1398549512","1398549475","1398549511"],"photo_ids_order":["1398549475","1398549508","1398549511","1398549512","1398549513","1398549518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2043aee7b852e3e2a3885a959f995c59.jpg","text":"TemporaryFile(/tmp/multipartBody4373928837515355105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3508c62677518fc84a660c6745d3d2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6764345474097454238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d74a3e22340f9d3e2d034c2c50d4f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1035927293431305020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_55_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/929b4178e5c0a243233e4112266c56cd.jpg","text":"TemporaryFile(/tmp/multipartBody8333871317905093604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3cca83e486e8469fe0d2620948cbfe0.jpg","text":"TemporaryFile(/tmp/multipartBody5502574699512317322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9069c75fbaef8c34c7dfafba401638cc.jpg","text":"TemporaryFile(/tmp/multipartBody2688775070520527896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310242756,"filename":"image_09122025_12_15_25_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549511","file1":"1398549508","file0":"1398549475","file4":"1398549513","file5":"1398549518","file3":"1398549512"},"map_files_photo_id_array":[{"photo_id":"1398549518","filename":"file5"},{"photo_id":"1398549511","filename":"file2"},{"photo_id":"1398549513","filename":"file4"},{"photo_id":"1398549508","filename":"file1"},{"photo_id":"1398549475","filename":"file0"},{"photo_id":"1398549512","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549508":["hashtag1","hashtag2"]},{"1398549513":["hashtag1","hashtag2"]},{"1398549518":["hashtag1","hashtag2"]},{"1398549512":["hashtag1","hashtag2"]},{"1398549475":["hashtag1","hashtag2"]},{"1398549511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549508, 1398549513, 1398549518, 1398549512, 1398549475, 1398549511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00117230415344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:57:02.981270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/15/image_09122025_12_16_05_9703.jpg', '/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_14_9692.jpg', '/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_25_10623.jpg', '/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_35_9681.jpg', '/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_44_9575.jpg', '/home/pi/Desktop/images/09122025/12/16/image_09122025_12_17_05_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/15/image_09122025_12_16_05_9703.jpg
/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_14_9692.jpg
/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_25_10623.jpg
/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_35_9681.jpg
/home/pi/Desktop/images/09122025/12/16/image_09122025_12_16_44_9575.jpg
/home/pi/Desktop/images/09122025/12/16/image_09122025_12_17_05_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549607","1398549635","1398549536","1398549632","1398549571","1398549532"],"photo_ids_order":["1398549532","1398549536","1398549571","1398549607","1398549632","1398549635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/404ae09e69889a06011a5a9bec11a99c.jpg","text":"TemporaryFile(/tmp/multipartBody5457112957997614555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_16_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f7cc199bc16700049c2feac1954052b8.jpg","text":"TemporaryFile(/tmp/multipartBody2637283868337406907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_17_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06284708577882e1eba8c3d15ec34897.jpg","text":"TemporaryFile(/tmp/multipartBody9174525382461749336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_16_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c797aff88f002a2e7a9c77f98880636.jpg","text":"TemporaryFile(/tmp/multipartBody4437178858767992234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_16_44_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e2936a7348d6a322f7e39ca49529ed61.jpg","text":"TemporaryFile(/tmp/multipartBody6006117920166275614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_16_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be2960764aeb4e56326f38b3f85a4a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8646514820356078025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310283618,"filename":"image_09122025_12_16_05_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549571","file1":"1398549536","file0":"1398549532","file4":"1398549632","file5":"1398549635","file3":"1398549607"},"map_files_photo_id_array":[{"photo_id":"1398549635","filename":"file5"},{"photo_id":"1398549571","filename":"file2"},{"photo_id":"1398549632","filename":"file4"},{"photo_id":"1398549536","filename":"file1"},{"photo_id":"1398549532","filename":"file0"},{"photo_id":"1398549607","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549607":["hashtag1","hashtag2"]},{"1398549635":["hashtag1","hashtag2"]},{"1398549536":["hashtag1","hashtag2"]},{"1398549632":["hashtag1","hashtag2"]},{"1398549571":["hashtag1","hashtag2"]},{"1398549532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549607, 1398549635, 1398549536, 1398549632, 1398549571, 1398549532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.134886264801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 20:57:42.280785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_46_3511.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_48_2747.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_51_2779.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_54_2618.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_57_3640.jpg', '/home/pi/Desktop/images/01112025/19/40/image_01112025_19_41_00_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_46_3511.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_48_2747.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_51_2779.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_54_2618.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_40_57_3640.jpg
/home/pi/Desktop/images/01112025/19/40/image_01112025_19_41_00_2586.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549756","1398549801","1398549717","1398549793","1398549707","1398549694"],"photo_ids_order":["1398549694","1398549707","1398549717","1398549756","1398549793","1398549801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef302e57e04e30cb329823b5ec93c9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7413612444608022623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_40_54_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de17a1a3dbd97152de474b5d1fd30971.jpg","text":"TemporaryFile(/tmp/multipartBody763652390133429464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_41_00_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72430af984d2f738af4f49e7d5107571.jpg","text":"TemporaryFile(/tmp/multipartBody2699316214785520837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_40_51_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33378fc86058b099daa4ecb49a8e45ed.jpg","text":"TemporaryFile(/tmp/multipartBody8098679171936665479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_40_57_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e75f9e5a7937c218d2e83a041c349c7.jpg","text":"TemporaryFile(/tmp/multipartBody28091930682468179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_40_48_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f292757b0b3fa8b8bd7ccf4207829a46.jpg","text":"TemporaryFile(/tmp/multipartBody3817912834884479361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310323260,"filename":"image_01112025_19_40_46_3511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549717","file1":"1398549707","file0":"1398549694","file4":"1398549793","file5":"1398549801","file3":"1398549756"},"map_files_photo_id_array":[{"photo_id":"1398549801","filename":"file5"},{"photo_id":"1398549717","filename":"file2"},{"photo_id":"1398549793","filename":"file4"},{"photo_id":"1398549707","filename":"file1"},{"photo_id":"1398549694","filename":"file0"},{"photo_id":"1398549756","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398549756":["hashtag1","hashtag2"]},{"1398549801":["hashtag1","hashtag2"]},{"1398549717":["hashtag1","hashtag2"]},{"1398549793":["hashtag1","hashtag2"]},{"1398549707":["hashtag1","hashtag2"]},{"1398549694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398549756, 1398549801, 1398549717, 1398549793, 1398549707, 1398549694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73362588882446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 20:59:03.606131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_15_9747.jpg', '/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_25_10616.jpg', '/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_35_9635.jpg', '/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_55_10699.jpg', '/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_24_9786.jpg', '/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_35_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_15_9747.jpg
/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_25_10616.jpg
/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_35_9635.jpg
/home/pi/Desktop/images/09122025/12/17/image_09122025_12_17_55_10699.jpg
/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_24_9786.jpg
/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_35_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549878","1398549881","1398549869","1398549860","1398549874","1398549883"],"photo_ids_order":["1398549860","1398549869","1398549874","1398549878","1398549881","1398549883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0ddc118f11f77dc1bfe900bd7a32ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2138457099745856386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_17_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d690ae81b26f484ce1758ecd3ac19068.jpg","text":"TemporaryFile(/tmp/multipartBody4448668289156975694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_18_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5951efeca4259d86bb9af7124339244.jpg","text":"TemporaryFile(/tmp/multipartBody3028884283675904419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_17_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34f12263e4f0bd239e3a1ef620b42063.jpg","text":"TemporaryFile(/tmp/multipartBody5635158798003228565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_17_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5aa57bdb0d24b1828c29bed1f62e9b22.jpg","text":"TemporaryFile(/tmp/multipartBody9007479160744409169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_17_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1824f94009503678a28948e909c4fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3013051874176626110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310404411,"filename":"image_09122025_12_18_35_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549874","file1":"1398549869","file0":"1398549860","file4":"1398549881","file5":"1398549883","file3":"1398549878"},"map_files_photo_id_array":[{"photo_id":"1398549883","filename":"file5"},{"photo_id":"1398549874","filename":"file2"},{"photo_id":"1398549881","filename":"file4"},{"photo_id":"1398549869","filename":"file1"},{"photo_id":"1398549860","filename":"file0"},{"photo_id":"1398549878","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549878":["hashtag1","hashtag2"]},{"1398549881":["hashtag1","hashtag2"]},{"1398549869":["hashtag1","hashtag2"]},{"1398549860":["hashtag1","hashtag2"]},{"1398549874":["hashtag1","hashtag2"]},{"1398549883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549878, 1398549881, 1398549869, 1398549860, 1398549874, 1398549883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.74794387817383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:00:02.286921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_45_9536.jpg', '/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_54_9615.jpg', '/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_14_9551.jpg', '/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_24_9826.jpg', '/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_55_10608.jpg', '/home/pi/Desktop/images/09122025/12/19/image_09122025_12_20_05_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_45_9536.jpg
/home/pi/Desktop/images/09122025/12/18/image_09122025_12_18_54_9615.jpg
/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_14_9551.jpg
/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_24_9826.jpg
/home/pi/Desktop/images/09122025/12/19/image_09122025_12_19_55_10608.jpg
/home/pi/Desktop/images/09122025/12/19/image_09122025_12_20_05_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549888","1398549896","1398549899","1398549902","1398549907","1398549891"],"photo_ids_order":["1398549888","1398549891","1398549896","1398549899","1398549902","1398549907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7920d35d11437b85ae3c0b5d415f496b.jpg","text":"TemporaryFile(/tmp/multipartBody1024001291111462362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_18_45_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9776038cbdecc91e79e01f370c02a570.jpg","text":"TemporaryFile(/tmp/multipartBody8140887597157109952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_19_14_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/595164bdc91cfe394e4fb6aa0ce3cbe7.jpg","text":"TemporaryFile(/tmp/multipartBody591191108333946480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_19_24_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2414dd80d18e5abb31c3e849b109d667.jpg","text":"TemporaryFile(/tmp/multipartBody3319755620772672246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_19_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff7d70078cd75f7c6a9c9c4e6a7bb9c5.jpg","text":"TemporaryFile(/tmp/multipartBody7905989885505653146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_20_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c9c0546f90bb77df6c9e0c9d5ea0b78.jpg","text":"TemporaryFile(/tmp/multipartBody8997790713861013296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310462891,"filename":"image_09122025_12_18_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549896","file1":"1398549891","file0":"1398549888","file4":"1398549902","file5":"1398549907","file3":"1398549899"},"map_files_photo_id_array":[{"photo_id":"1398549907","filename":"file5"},{"photo_id":"1398549896","filename":"file2"},{"photo_id":"1398549902","filename":"file4"},{"photo_id":"1398549891","filename":"file1"},{"photo_id":"1398549888","filename":"file0"},{"photo_id":"1398549899","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549888":["hashtag1","hashtag2"]},{"1398549896":["hashtag1","hashtag2"]},{"1398549899":["hashtag1","hashtag2"]},{"1398549902":["hashtag1","hashtag2"]},{"1398549907":["hashtag1","hashtag2"]},{"1398549891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549888, 1398549896, 1398549899, 1398549902, 1398549907, 1398549891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73984360694885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:00:41.813508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_07_3907.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_19_2967.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_21_2715.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_24_2595.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_27_2866.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_30_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_07_3907.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_19_2967.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_21_2715.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_24_2595.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_27_2866.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_30_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549921","1398549930","1398549933","1398549937","1398549925","1398549928"],"photo_ids_order":["1398549921","1398549925","1398549928","1398549930","1398549933","1398549937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6bd345b5f8ca51bd5157e2d36bbb4a5.jpg","text":"TemporaryFile(/tmp/multipartBody2319811957872079783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_07_3907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb57b9f86c83e79bddd36788b1fc1839.jpg","text":"TemporaryFile(/tmp/multipartBody1825222349634743780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_24_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/090f50aff2da2438fa65177d8dff915f.jpg","text":"TemporaryFile(/tmp/multipartBody2364509501643271773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_27_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ae479d45942f014e8d16a9a97a1f924.jpg","text":"TemporaryFile(/tmp/multipartBody5843621376433673629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_30_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9831c08cc61818318b803eb7f94becc.jpg","text":"TemporaryFile(/tmp/multipartBody8412092324573474119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_19_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a08d2cef1960219e114177ec1f114bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8782083255349660461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310502782,"filename":"image_01112025_19_41_21_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549928","file1":"1398549925","file0":"1398549921","file4":"1398549933","file5":"1398549937","file3":"1398549930"},"map_files_photo_id_array":[{"photo_id":"1398549937","filename":"file5"},{"photo_id":"1398549928","filename":"file2"},{"photo_id":"1398549933","filename":"file4"},{"photo_id":"1398549925","filename":"file1"},{"photo_id":"1398549921","filename":"file0"},{"photo_id":"1398549930","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398549921":["hashtag1","hashtag2"]},{"1398549930":["hashtag1","hashtag2"]},{"1398549933":["hashtag1","hashtag2"]},{"1398549937":["hashtag1","hashtag2"]},{"1398549925":["hashtag1","hashtag2"]},{"1398549928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398549921, 1398549930, 1398549933, 1398549937, 1398549925, 1398549928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51714038848877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:01:22.078314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_15_9633.jpg', '/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_25_10632.jpg', '/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_35_9588.jpg', '/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_44_9565.jpg', '/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_55_10570.jpg', '/home/pi/Desktop/images/09122025/12/20/image_09122025_12_21_05_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_15_9633.jpg
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_25_10632.jpg
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_35_9588.jpg
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_44_9565.jpg
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_20_55_10570.jpg
/home/pi/Desktop/images/09122025/12/20/image_09122025_12_21_05_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549945","1398549950","1398549947","1398549956","1398549952","1398549949"],"photo_ids_order":["1398549945","1398549947","1398549949","1398549950","1398549952","1398549956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92eb581c8d0e6804991a1251d012528c.jpg","text":"TemporaryFile(/tmp/multipartBody1195014575372952801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_20_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/14515347085c826c48939c7b654a1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3601459935799811219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_20_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5483488560a44040c4ddfc212314e43.jpg","text":"TemporaryFile(/tmp/multipartBody7981088258211159098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_20_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2ab139b4ed7c6fef06ada8477abc15a.jpg","text":"TemporaryFile(/tmp/multipartBody6880113820505089437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_21_05_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8673d337dea94583c86a2af0f1f46dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7962446170471910671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_20_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea62265852d41991f06af453cef08efb.jpg","text":"TemporaryFile(/tmp/multipartBody9121821345896538744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310542650,"filename":"image_09122025_12_20_35_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549949","file1":"1398549947","file0":"1398549945","file4":"1398549952","file5":"1398549956","file3":"1398549950"},"map_files_photo_id_array":[{"photo_id":"1398549956","filename":"file5"},{"photo_id":"1398549949","filename":"file2"},{"photo_id":"1398549952","filename":"file4"},{"photo_id":"1398549947","filename":"file1"},{"photo_id":"1398549945","filename":"file0"},{"photo_id":"1398549950","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549945":["hashtag1","hashtag2"]},{"1398549950":["hashtag1","hashtag2"]},{"1398549947":["hashtag1","hashtag2"]},{"1398549956":["hashtag1","hashtag2"]},{"1398549952":["hashtag1","hashtag2"]},{"1398549949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549945, 1398549950, 1398549947, 1398549956, 1398549952, 1398549949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.830108880996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:02:02.700431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_15_9918.jpg', '/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_24_9607.jpg', '/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_35_10595.jpg', '/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_55_10629.jpg', '/home/pi/Desktop/images/09122025/12/21/image_09122025_12_22_05_9524.jpg', '/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_14_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_15_9918.jpg
/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_24_9607.jpg
/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_35_10595.jpg
/home/pi/Desktop/images/09122025/12/21/image_09122025_12_21_55_10629.jpg
/home/pi/Desktop/images/09122025/12/21/image_09122025_12_22_05_9524.jpg
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_14_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549972","1398549969","1398549980","1398549974","1398549973","1398549976"],"photo_ids_order":["1398549969","1398549972","1398549973","1398549974","1398549976","1398549980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cbec58437a4f39b0392021d6be5946b.jpg","text":"TemporaryFile(/tmp/multipartBody7545911682321559649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_21_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dfeefc0175ca3baff5be20c53f98e6f2.jpg","text":"TemporaryFile(/tmp/multipartBody625929421060958234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_21_15_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3b5e8d63edcca1b95a3bb7ff33d97f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3229350508283003134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_22_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8fda34ac319d57ca50db70270dc3b410.jpg","text":"TemporaryFile(/tmp/multipartBody7123554364109955123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_21_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1370a7633fdaca340cd7cdd76106e2a8.jpg","text":"TemporaryFile(/tmp/multipartBody1188965685013713737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_21_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84b86fe63588af7415506518fe24a722.jpg","text":"TemporaryFile(/tmp/multipartBody2244424647423741692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310583279,"filename":"image_09122025_12_22_05_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398549973","file1":"1398549972","file0":"1398549969","file4":"1398549976","file5":"1398549980","file3":"1398549974"},"map_files_photo_id_array":[{"photo_id":"1398549980","filename":"file5"},{"photo_id":"1398549973","filename":"file2"},{"photo_id":"1398549976","filename":"file4"},{"photo_id":"1398549972","filename":"file1"},{"photo_id":"1398549969","filename":"file0"},{"photo_id":"1398549974","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398549972":["hashtag1","hashtag2"]},{"1398549969":["hashtag1","hashtag2"]},{"1398549980":["hashtag1","hashtag2"]},{"1398549974":["hashtag1","hashtag2"]},{"1398549973":["hashtag1","hashtag2"]},{"1398549976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398549972, 1398549969, 1398549980, 1398549974, 1398549973, 1398549976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.822240114212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:02:42.279979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_33_2657.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_37_3661.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_39_2593.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_52_3652.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_54_2640.jpg', '/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_57_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_33_2657.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_37_3661.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_39_2593.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_52_3652.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_54_2640.jpg
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_41_57_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398549989","1398550017","1398550010","1398550004","1398550013","1398550007"],"photo_ids_order":["1398549989","1398550004","1398550007","1398550010","1398550013","1398550017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b84ec17d956a1338e55629fc19b69fa.jpg","text":"TemporaryFile(/tmp/multipartBody3520794291158921849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_33_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a172fc98795ca8530acc9551ebb15d2.jpg","text":"TemporaryFile(/tmp/multipartBody4164428730800440115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_57_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1857d4fdcceec7126b999b37e17a6b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6931264998693458692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_52_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9bd564c5b0db9f9d188fe96bc2172e2.jpg","text":"TemporaryFile(/tmp/multipartBody5012838420207461866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_37_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c5c875c51a72e5e441f464a2bdb0926.jpg","text":"TemporaryFile(/tmp/multipartBody5911661634152499432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_54_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30bd5512b6ba4b3d872a4212fe5b0e84.jpg","text":"TemporaryFile(/tmp/multipartBody2122945510459384468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310623245,"filename":"image_01112025_19_41_39_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550007","file1":"1398550004","file0":"1398549989","file4":"1398550013","file5":"1398550017","file3":"1398550010"},"map_files_photo_id_array":[{"photo_id":"1398550017","filename":"file5"},{"photo_id":"1398550007","filename":"file2"},{"photo_id":"1398550013","filename":"file4"},{"photo_id":"1398550004","filename":"file1"},{"photo_id":"1398549989","filename":"file0"},{"photo_id":"1398550010","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398549989":["hashtag1","hashtag2"]},{"1398550017":["hashtag1","hashtag2"]},{"1398550010":["hashtag1","hashtag2"]},{"1398550004":["hashtag1","hashtag2"]},{"1398550013":["hashtag1","hashtag2"]},{"1398550007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398549989, 1398550017, 1398550010, 1398550004, 1398550013, 1398550007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.544851541519165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:03:22.622153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_25_10569.jpg', '/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_35_9594.jpg', '/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_50_15615.jpg', '/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_55_4514.jpg', '/home/pi/Desktop/images/09122025/12/22/image_09122025_12_23_04_9606.jpg', '/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_25_10569.jpg
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_35_9594.jpg
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_50_15615.jpg
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_22_55_4514.jpg
/home/pi/Desktop/images/09122025/12/22/image_09122025_12_23_04_9606.jpg
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550036","1398550038","1398550023","1398550034","1398550025","1398550042"],"photo_ids_order":["1398550023","1398550025","1398550034","1398550036","1398550038","1398550042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1396bf40eaa833a709aa7d1b1e2d164.jpg","text":"TemporaryFile(/tmp/multipartBody8670368787160421698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_22_55_4514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3dde69982abebfa02d0fa1bee2308afd.jpg","text":"TemporaryFile(/tmp/multipartBody4583437009616797922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_23_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94aa134a04fb8ae318fe52a039958eca.jpg","text":"TemporaryFile(/tmp/multipartBody336452557736032827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_22_25_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6efd1a806aef1330dfb89db96caa9333.jpg","text":"TemporaryFile(/tmp/multipartBody5990377386617797410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_22_50_15615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29e75f0372591451acf724ebf3d64d73.jpg","text":"TemporaryFile(/tmp/multipartBody6409211465739535612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_22_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de4d4908f2ac465760ec043eb6d95812.jpg","text":"TemporaryFile(/tmp/multipartBody2524861421975451887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310663185,"filename":"image_09122025_12_23_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550034","file1":"1398550025","file0":"1398550023","file4":"1398550038","file5":"1398550042","file3":"1398550036"},"map_files_photo_id_array":[{"photo_id":"1398550042","filename":"file5"},{"photo_id":"1398550034","filename":"file2"},{"photo_id":"1398550038","filename":"file4"},{"photo_id":"1398550025","filename":"file1"},{"photo_id":"1398550023","filename":"file0"},{"photo_id":"1398550036","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398550036":["hashtag1","hashtag2"]},{"1398550038":["hashtag1","hashtag2"]},{"1398550023":["hashtag1","hashtag2"]},{"1398550034":["hashtag1","hashtag2"]},{"1398550025":["hashtag1","hashtag2"]},{"1398550042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398550036, 1398550038, 1398550023, 1398550034, 1398550025, 1398550042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92280840873718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:04:02.572964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_24_9679.jpg', '/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_35_10677.jpg', '/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_45_9855.jpg', '/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_55_9627.jpg', '/home/pi/Desktop/images/09122025/12/23/image_09122025_12_24_05_10557.jpg', '/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_15_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_24_9679.jpg
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_35_10677.jpg
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_45_9855.jpg
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_23_55_9627.jpg
/home/pi/Desktop/images/09122025/12/23/image_09122025_12_24_05_10557.jpg
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_15_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550053","1398550056","1398550065","1398550061","1398550060","1398550057"],"photo_ids_order":["1398550053","1398550056","1398550057","1398550060","1398550061","1398550065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/893e06aecab7b67ae2ead6243b59c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6884300215588806112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_23_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4414b11411c5f819a728424e6c3dcae8.jpg","text":"TemporaryFile(/tmp/multipartBody4034506999216356334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_23_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5b03701f360e773467885beadd0386e.jpg","text":"TemporaryFile(/tmp/multipartBody1450842981624628382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_24_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eea46cc1aa13ea30b23c828a4e4a13cb.jpg","text":"TemporaryFile(/tmp/multipartBody6619324250750807405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_24_05_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/338ee8740930f3b74f433bd389ef14f5.jpg","text":"TemporaryFile(/tmp/multipartBody4819338210924531986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_23_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d50ff83d5a0247369af7a9d73c2c09f5.jpg","text":"TemporaryFile(/tmp/multipartBody4782975082474732951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310703235,"filename":"image_09122025_12_23_45_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550057","file1":"1398550056","file0":"1398550053","file4":"1398550061","file5":"1398550065","file3":"1398550060"},"map_files_photo_id_array":[{"photo_id":"1398550065","filename":"file5"},{"photo_id":"1398550057","filename":"file2"},{"photo_id":"1398550061","filename":"file4"},{"photo_id":"1398550056","filename":"file1"},{"photo_id":"1398550053","filename":"file0"},{"photo_id":"1398550060","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398550053":["hashtag1","hashtag2"]},{"1398550056":["hashtag1","hashtag2"]},{"1398550065":["hashtag1","hashtag2"]},{"1398550061":["hashtag1","hashtag2"]},{"1398550060":["hashtag1","hashtag2"]},{"1398550057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398550053, 1398550056, 1398550065, 1398550061, 1398550060, 1398550057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04586863517761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:04:41.796726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/41/image_01112025_19_42_01_3614.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_06_2602.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_09_3657.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_12_2573.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_15_2637.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_18_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/41/image_01112025_19_42_01_3614.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_06_2602.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_09_3657.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_12_2573.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_15_2637.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_18_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550095","1398550089","1398550083","1398550085","1398550079","1398550087"],"photo_ids_order":["1398550079","1398550083","1398550085","1398550087","1398550089","1398550095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a1b8221d0219818e0f4a6fdc973d4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3175235639434494511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_18_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/05ef0ee647f986656722fca0b8a3b9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3666545938045269717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_15_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/75877010270a40aefea56302b00683a9.jpg","text":"TemporaryFile(/tmp/multipartBody1335165511256030694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_06_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c7c14504bd132fe3ef8f2aa492897d2.jpg","text":"TemporaryFile(/tmp/multipartBody6288880242396245240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_09_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2fa9bb4659cc0d8a54ec3423d084617.jpg","text":"TemporaryFile(/tmp/multipartBody7146271457813280159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_01_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abefcb334d0ec17d6851d7093c1f4d98.jpg","text":"TemporaryFile(/tmp/multipartBody1207991821766569654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310742800,"filename":"image_01112025_19_42_12_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550085","file1":"1398550083","file0":"1398550079","file4":"1398550089","file5":"1398550095","file3":"1398550087"},"map_files_photo_id_array":[{"photo_id":"1398550095","filename":"file5"},{"photo_id":"1398550085","filename":"file2"},{"photo_id":"1398550089","filename":"file4"},{"photo_id":"1398550083","filename":"file1"},{"photo_id":"1398550079","filename":"file0"},{"photo_id":"1398550087","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398550095":["hashtag1","hashtag2"]},{"1398550089":["hashtag1","hashtag2"]},{"1398550083":["hashtag1","hashtag2"]},{"1398550085":["hashtag1","hashtag2"]},{"1398550079":["hashtag1","hashtag2"]},{"1398550087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398550095, 1398550089, 1398550083, 1398550085, 1398550079, 1398550087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98553705215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:05:32.040230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_44_10035.jpg', '/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_55_10611.jpg', '/home/pi/Desktop/images/08122025/13/38/image_08122025_13_39_04_9434.jpg', '/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_14_9775.jpg', '/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_25_10907.jpg', '/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_35_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_44_10035.jpg
/home/pi/Desktop/images/08122025/13/38/image_08122025_13_38_55_10611.jpg
/home/pi/Desktop/images/08122025/13/38/image_08122025_13_39_04_9434.jpg
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_14_9775.jpg
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_25_10907.jpg
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_35_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550147","1398550126","1398550105","1398550143","1398550116","1398550104"],"photo_ids_order":["1398550104","1398550105","1398550116","1398550126","1398550143","1398550147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/886932f75051f7f7dd61459ac2315b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8635895534321298886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_39_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/893e2d562b0b5ab302d8443143e8f555.jpg","text":"TemporaryFile(/tmp/multipartBody8239619553937033005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_39_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fdc4ecbc4717051dcc980ba9d4f0257.jpg","text":"TemporaryFile(/tmp/multipartBody928724301062274729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_38_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89c2c165fa7afe990a0aca98395522b7.jpg","text":"TemporaryFile(/tmp/multipartBody6073618216012911112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_39_25_10907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74a29d9e8d2dcfb8c17c888dd5f67253.jpg","text":"TemporaryFile(/tmp/multipartBody6900080720347617580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_39_04_9434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/727fe9d19f7f33226697f7273f774eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8853066648973243088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310793912,"filename":"image_08122025_13_38_44_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550116","file1":"1398550105","file0":"1398550104","file4":"1398550143","file5":"1398550147","file3":"1398550126"},"map_files_photo_id_array":[{"photo_id":"1398550147","filename":"file5"},{"photo_id":"1398550116","filename":"file2"},{"photo_id":"1398550143","filename":"file4"},{"photo_id":"1398550105","filename":"file1"},{"photo_id":"1398550104","filename":"file0"},{"photo_id":"1398550126","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550147":["hashtag1","hashtag2"]},{"1398550126":["hashtag1","hashtag2"]},{"1398550105":["hashtag1","hashtag2"]},{"1398550143":["hashtag1","hashtag2"]},{"1398550116":["hashtag1","hashtag2"]},{"1398550104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550147, 1398550126, 1398550105, 1398550143, 1398550116, 1398550104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93618607521057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:06:12.508635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_44_9649.jpg', '/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_54_9826.jpg', '/home/pi/Desktop/images/08122025/13/39/image_08122025_13_40_05_10672.jpg', '/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_14_9536.jpg', '/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_24_9737.jpg', '/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_35_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_44_9649.jpg
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_39_54_9826.jpg
/home/pi/Desktop/images/08122025/13/39/image_08122025_13_40_05_10672.jpg
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_14_9536.jpg
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_24_9737.jpg
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_35_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550165","1398550159","1398550161","1398550163","1398550157","1398550168"],"photo_ids_order":["1398550157","1398550159","1398550161","1398550163","1398550165","1398550168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c7ba09a88cd153a86db1560181124a6.jpg","text":"TemporaryFile(/tmp/multipartBody6016053883836724832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_40_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abaf182a1310ddb34ff4c0bed294c988.jpg","text":"TemporaryFile(/tmp/multipartBody6968211033587201689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_39_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f4e151886f2d7445dc4bf969729a018.jpg","text":"TemporaryFile(/tmp/multipartBody960362895145497360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_40_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd10ad55adfd358e9725ab9528f9aa83.jpg","text":"TemporaryFile(/tmp/multipartBody8560057138400617948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_40_14_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f6c7ccc1e47232bff7b203017671b98.jpg","text":"TemporaryFile(/tmp/multipartBody3564146751954672298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_39_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/add3cfe4c083b9130d565ac32764d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8029004224458338554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310834294,"filename":"image_08122025_13_40_35_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550161","file1":"1398550159","file0":"1398550157","file4":"1398550165","file5":"1398550168","file3":"1398550163"},"map_files_photo_id_array":[{"photo_id":"1398550168","filename":"file5"},{"photo_id":"1398550161","filename":"file2"},{"photo_id":"1398550165","filename":"file4"},{"photo_id":"1398550159","filename":"file1"},{"photo_id":"1398550157","filename":"file0"},{"photo_id":"1398550163","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550165":["hashtag1","hashtag2"]},{"1398550159":["hashtag1","hashtag2"]},{"1398550161":["hashtag1","hashtag2"]},{"1398550163":["hashtag1","hashtag2"]},{"1398550157":["hashtag1","hashtag2"]},{"1398550168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550165, 1398550159, 1398550161, 1398550163, 1398550157, 1398550168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8529372215271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:07:03.381946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_25_9718.jpg', '/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_35_10590.jpg', '/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_45_9612.jpg', '/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_54_9643.jpg', '/home/pi/Desktop/images/09122025/12/24/image_09122025_12_25_05_10598.jpg', '/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_15_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_25_9718.jpg
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_35_10590.jpg
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_45_9612.jpg
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_24_54_9643.jpg
/home/pi/Desktop/images/09122025/12/24/image_09122025_12_25_05_10598.jpg
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_15_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550222","1398550185","1398550232","1398550180","1398550183","1398550177"],"photo_ids_order":["1398550177","1398550180","1398550183","1398550185","1398550222","1398550232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c801d8ceb14dba461e0d8e61d9c88321.jpg","text":"TemporaryFile(/tmp/multipartBody9115971403553463646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_25_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/10cc9534a30cf7980cf59990f434e7df.jpg","text":"TemporaryFile(/tmp/multipartBody1547172784230697356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_24_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abf4e826bba07c3d814fa2bd19a4258e.jpg","text":"TemporaryFile(/tmp/multipartBody6544469300900486327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_25_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/715a8925645c63ef24ab30483f4ede7c.jpg","text":"TemporaryFile(/tmp/multipartBody5834053077241055919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_24_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6468c4f0a965a10137acb2a3f494904.jpg","text":"TemporaryFile(/tmp/multipartBody4073882725312509163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_24_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0db5509c6f1a0eaa0d283bdbb6c6bbe4.jpg","text":"TemporaryFile(/tmp/multipartBody2593349009439824276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310884020,"filename":"image_09122025_12_24_25_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550183","file1":"1398550180","file0":"1398550177","file4":"1398550222","file5":"1398550232","file3":"1398550185"},"map_files_photo_id_array":[{"photo_id":"1398550232","filename":"file5"},{"photo_id":"1398550183","filename":"file2"},{"photo_id":"1398550222","filename":"file4"},{"photo_id":"1398550180","filename":"file1"},{"photo_id":"1398550177","filename":"file0"},{"photo_id":"1398550185","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398550222":["hashtag1","hashtag2"]},{"1398550185":["hashtag1","hashtag2"]},{"1398550232":["hashtag1","hashtag2"]},{"1398550180":["hashtag1","hashtag2"]},{"1398550183":["hashtag1","hashtag2"]},{"1398550177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398550222, 1398550185, 1398550232, 1398550180, 1398550183, 1398550177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55232238769531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:07:42.614317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_21_2685.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_24_2800.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_27_3559.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_30_2796.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_37_3745.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_39_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_21_2685.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_24_2800.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_27_3559.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_30_2796.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_37_3745.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_39_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550251","1398550245","1398550262","1398550265","1398550259","1398550268"],"photo_ids_order":["1398550245","1398550251","1398550259","1398550262","1398550265","1398550268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e6306c61180388ee9925e38413d7271d.jpg","text":"TemporaryFile(/tmp/multipartBody3246973965667741691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_24_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/385fe87baf5d90e9a7e169b758bcfca5.jpg","text":"TemporaryFile(/tmp/multipartBody2184893628074559547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86a45c03f5029599d7bf4223cf94fb0c.jpg","text":"TemporaryFile(/tmp/multipartBody4926992203888037919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_30_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3e2d38dcd6e0dd10dd272ed382202fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3434217024585145899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_37_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1533964ce5f3a11fede266d0ec895e8.jpg","text":"TemporaryFile(/tmp/multipartBody4510501765501606616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_27_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4dbaf9c53f1e67d7cab92bb38949abc9.jpg","text":"TemporaryFile(/tmp/multipartBody6952129185944083255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310923587,"filename":"image_01112025_19_42_39_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550259","file1":"1398550251","file0":"1398550245","file4":"1398550265","file5":"1398550268","file3":"1398550262"},"map_files_photo_id_array":[{"photo_id":"1398550268","filename":"file5"},{"photo_id":"1398550259","filename":"file2"},{"photo_id":"1398550265","filename":"file4"},{"photo_id":"1398550251","filename":"file1"},{"photo_id":"1398550245","filename":"file0"},{"photo_id":"1398550262","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398550251":["hashtag1","hashtag2"]},{"1398550245":["hashtag1","hashtag2"]},{"1398550262":["hashtag1","hashtag2"]},{"1398550265":["hashtag1","hashtag2"]},{"1398550259":["hashtag1","hashtag2"]},{"1398550268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398550251, 1398550245, 1398550262, 1398550265, 1398550259, 1398550268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35178828239441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:08:31.889969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_45_9677.jpg', '/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_54_9641.jpg', '/home/pi/Desktop/images/08122025/13/40/image_08122025_13_41_05_10588.jpg', '/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_35_10629.jpg', '/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_45_9629.jpg', '/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_54_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_45_9677.jpg
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_40_54_9641.jpg
/home/pi/Desktop/images/08122025/13/40/image_08122025_13_41_05_10588.jpg
/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_35_10629.jpg
/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_45_9629.jpg
/home/pi/Desktop/images/08122025/13/41/image_08122025_13_41_54_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550333","1398550312","1398550306","1398550315","1398550309","1398550334"],"photo_ids_order":["1398550306","1398550309","1398550312","1398550315","1398550333","1398550334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f1449e58d26c74cdec5df67a00451be.jpg","text":"TemporaryFile(/tmp/multipartBody6266766043618147598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_41_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57dc7334c44cf2d50f1f4915980067bd.jpg","text":"TemporaryFile(/tmp/multipartBody1235299312699102537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_41_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9a8466c6f1586bd06571e80b00f3f79.jpg","text":"TemporaryFile(/tmp/multipartBody5977449041911238080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_40_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7dc8fd0317f7835029d356211d26a9a9.jpg","text":"TemporaryFile(/tmp/multipartBody112227135228613588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_41_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1cbe0f6c8dbec47e9f2158144665c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6821050023539391062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_40_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf5338f0c19c8a49c9cfeff61d43a112.jpg","text":"TemporaryFile(/tmp/multipartBody906141838448109779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765310973714,"filename":"image_08122025_13_41_54_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550312","file1":"1398550309","file0":"1398550306","file4":"1398550333","file5":"1398550334","file3":"1398550315"},"map_files_photo_id_array":[{"photo_id":"1398550334","filename":"file5"},{"photo_id":"1398550312","filename":"file2"},{"photo_id":"1398550333","filename":"file4"},{"photo_id":"1398550309","filename":"file1"},{"photo_id":"1398550306","filename":"file0"},{"photo_id":"1398550315","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550333":["hashtag1","hashtag2"]},{"1398550312":["hashtag1","hashtag2"]},{"1398550306":["hashtag1","hashtag2"]},{"1398550315":["hashtag1","hashtag2"]},{"1398550309":["hashtag1","hashtag2"]},{"1398550334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550333, 1398550312, 1398550306, 1398550315, 1398550309, 1398550334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33674430847168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:09:12.036572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/41/image_08122025_13_42_05_10578.jpg', '/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_15_9739.jpg', '/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_24_9530.jpg', '/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_55_10376.jpg', '/home/pi/Desktop/images/08122025/13/42/image_08122025_13_43_04_9508.jpg', '/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_15_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/41/image_08122025_13_42_05_10578.jpg
/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_15_9739.jpg
/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_24_9530.jpg
/home/pi/Desktop/images/08122025/13/42/image_08122025_13_42_55_10376.jpg
/home/pi/Desktop/images/08122025/13/42/image_08122025_13_43_04_9508.jpg
/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_15_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550371","1398550343","1398550346","1398550340","1398550372","1398550369"],"photo_ids_order":["1398550340","1398550343","1398550346","1398550369","1398550371","1398550372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25fbfae0bdf4855ba1fb7fcbe95393b9.jpg","text":"TemporaryFile(/tmp/multipartBody7355941348080473310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_43_04_9508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d779b63641930ceb6fecd075cb83953.jpg","text":"TemporaryFile(/tmp/multipartBody8165248041426793093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_42_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef20e7537557aef52d9fe7985551d322.jpg","text":"TemporaryFile(/tmp/multipartBody1978737016619802227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_42_24_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98c64482e2da22e45d8c5ebc48a5c5ae.jpg","text":"TemporaryFile(/tmp/multipartBody5985779416265022060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_42_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f2be4fe7263abd3eb28fddb31d93ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1499125649659279381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_43_15_10367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e902b76abb3ae43362de63c620a86287.jpg","text":"TemporaryFile(/tmp/multipartBody54116798391858543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311013814,"filename":"image_08122025_13_42_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550346","file1":"1398550343","file0":"1398550340","file4":"1398550371","file5":"1398550372","file3":"1398550369"},"map_files_photo_id_array":[{"photo_id":"1398550372","filename":"file5"},{"photo_id":"1398550346","filename":"file2"},{"photo_id":"1398550371","filename":"file4"},{"photo_id":"1398550343","filename":"file1"},{"photo_id":"1398550340","filename":"file0"},{"photo_id":"1398550369","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550371":["hashtag1","hashtag2"]},{"1398550343":["hashtag1","hashtag2"]},{"1398550346":["hashtag1","hashtag2"]},{"1398550340":["hashtag1","hashtag2"]},{"1398550372":["hashtag1","hashtag2"]},{"1398550369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550371, 1398550343, 1398550346, 1398550340, 1398550372, 1398550369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59632349014282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:10:04.488104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:10:13.990242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_26_11207.jpg', '/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_35_8893.jpg', '/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_45_9854.jpg', '/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_54_9875.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_05_10180.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_14_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_26_11207.jpg
/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_35_8893.jpg
/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_45_9854.jpg
/home/pi/Desktop/images/08122025/13/43/image_08122025_13_43_54_9875.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_05_10180.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_14_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550516","1398550512","1398550509","1398550436","1398550514","1398550480"],"photo_ids_order":["1398550436","1398550480","1398550509","1398550512","1398550514","1398550516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a68035b50b3251da92631774cebed9b.jpg","text":"TemporaryFile(/tmp/multipartBody8518164288876651969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_44_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dce8df09a85db44f60fbf1b71795c18.jpg","text":"TemporaryFile(/tmp/multipartBody7619860062489062384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_43_54_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e41836e4c47d19d4c0e6c006ace0ecde.jpg","text":"TemporaryFile(/tmp/multipartBody9173236425215121017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_43_45_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71b226a0933c2b956d936cc7c69760e1.jpg","text":"TemporaryFile(/tmp/multipartBody955324350780579161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_43_26_11207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/741875555569867098bc0bcf0d4a10f8.jpg","text":"TemporaryFile(/tmp/multipartBody7798565437795888670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_44_05_10180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84c489b6fed892625eaeb0f58be833f7.jpg","text":"TemporaryFile(/tmp/multipartBody5225443741141382771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311075737,"filename":"image_08122025_13_43_35_8893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550509","file1":"1398550480","file0":"1398550436","file4":"1398550514","file5":"1398550516","file3":"1398550512"},"map_files_photo_id_array":[{"photo_id":"1398550516","filename":"file5"},{"photo_id":"1398550509","filename":"file2"},{"photo_id":"1398550514","filename":"file4"},{"photo_id":"1398550480","filename":"file1"},{"photo_id":"1398550436","filename":"file0"},{"photo_id":"1398550512","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550516":["hashtag1","hashtag2"]},{"1398550512":["hashtag1","hashtag2"]},{"1398550509":["hashtag1","hashtag2"]},{"1398550436":["hashtag1","hashtag2"]},{"1398550514":["hashtag1","hashtag2"]},{"1398550480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550516, 1398550512, 1398550509, 1398550436, 1398550514, 1398550480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.929009199142456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:11:02.955977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_24_9634.jpg', '/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_35_10515.jpg', '/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_44_9613.jpg', '/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_55_10658.jpg', '/home/pi/Desktop/images/09122025/12/25/image_09122025_12_26_05_9776.jpg', '/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_15_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_24_9634.jpg
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_35_10515.jpg
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_44_9613.jpg
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_25_55_10658.jpg
/home/pi/Desktop/images/09122025/12/25/image_09122025_12_26_05_9776.jpg
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_15_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550561","1398550563","1398550530","1398550553","1398550556","1398550559"],"photo_ids_order":["1398550530","1398550553","1398550556","1398550559","1398550561","1398550563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42080cbbe7bb4c0f7830f4e46413a833.jpg","text":"TemporaryFile(/tmp/multipartBody1778794620317004579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_26_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0894f1ddb0cd6d7a59348d0ea8a0b92d.jpg","text":"TemporaryFile(/tmp/multipartBody2740202842127045521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_26_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d0ea1c606f0683bce180eee32dc9af3.jpg","text":"TemporaryFile(/tmp/multipartBody942283190716326885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_25_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38f4d1cf7586133160060847e96be862.jpg","text":"TemporaryFile(/tmp/multipartBody2119060372188950672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_25_35_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac1e2c5aab2da9a2c6e262b8f16b5f75.jpg","text":"TemporaryFile(/tmp/multipartBody2255183694083247269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_25_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/24a2b66efafa21de96b4283dae0dffc0.jpg","text":"TemporaryFile(/tmp/multipartBody4983004107244073264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311123555,"filename":"image_09122025_12_25_55_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550556","file1":"1398550553","file0":"1398550530","file4":"1398550561","file5":"1398550563","file3":"1398550559"},"map_files_photo_id_array":[{"photo_id":"1398550563","filename":"file5"},{"photo_id":"1398550556","filename":"file2"},{"photo_id":"1398550561","filename":"file4"},{"photo_id":"1398550553","filename":"file1"},{"photo_id":"1398550530","filename":"file0"},{"photo_id":"1398550559","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398550561":["hashtag1","hashtag2"]},{"1398550563":["hashtag1","hashtag2"]},{"1398550530":["hashtag1","hashtag2"]},{"1398550553":["hashtag1","hashtag2"]},{"1398550556":["hashtag1","hashtag2"]},{"1398550559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398550561, 1398550563, 1398550530, 1398550553, 1398550556, 1398550559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.072145223617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:11:42.241954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_42_2590.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_45_3523.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_48_2849.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_54_2770.jpg', '/home/pi/Desktop/images/01112025/19/42/image_01112025_19_43_00_2801.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_03_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_42_2590.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_45_3523.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_48_2849.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_42_54_2770.jpg
/home/pi/Desktop/images/01112025/19/42/image_01112025_19_43_00_2801.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_03_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550600","1398550638","1398550583","1398550586","1398550568","1398550675"],"photo_ids_order":["1398550568","1398550583","1398550586","1398550600","1398550638","1398550675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/391f7500317ef35b75e8b89a03ae115a.jpg","text":"TemporaryFile(/tmp/multipartBody6113688652648916475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_42_54_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f9dc34fbe68b90f57308c28204f2036.jpg","text":"TemporaryFile(/tmp/multipartBody7487300063071957098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_43_00_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4925c3fb6bc1aa5405df17748f20ad5c.jpg","text":"TemporaryFile(/tmp/multipartBody6554575726442359732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_42_45_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a42d7ee87fb031c402ecf2974b691863.jpg","text":"TemporaryFile(/tmp/multipartBody820402837215431244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_42_48_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/59f7fca0751d3d5b8c186c443c5fd560.jpg","text":"TemporaryFile(/tmp/multipartBody1285460572603045622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_42_42_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd26fa4a6d967e45392a8040c2a54a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6675623070183639837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311163268,"filename":"image_01112025_19_43_03_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550586","file1":"1398550583","file0":"1398550568","file4":"1398550638","file5":"1398550675","file3":"1398550600"},"map_files_photo_id_array":[{"photo_id":"1398550675","filename":"file5"},{"photo_id":"1398550586","filename":"file2"},{"photo_id":"1398550638","filename":"file4"},{"photo_id":"1398550583","filename":"file1"},{"photo_id":"1398550568","filename":"file0"},{"photo_id":"1398550600","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398550600":["hashtag1","hashtag2"]},{"1398550638":["hashtag1","hashtag2"]},{"1398550583":["hashtag1","hashtag2"]},{"1398550586":["hashtag1","hashtag2"]},{"1398550568":["hashtag1","hashtag2"]},{"1398550675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398550600, 1398550638, 1398550583, 1398550586, 1398550568, 1398550675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59995722770691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:12:22.379947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:12:32.475586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_24_9722.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_34_10041.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_45_10652.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_54_9568.jpg', '/home/pi/Desktop/images/08122025/13/44/image_08122025_13_45_05_10311.jpg', '/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_14_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_24_9722.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_34_10041.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_45_10652.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_44_54_9568.jpg
/home/pi/Desktop/images/08122025/13/44/image_08122025_13_45_05_10311.jpg
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_14_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398550825","1398550824","1398550827","1398550861","1398550849","1398550858"],"photo_ids_order":["1398550824","1398550825","1398550827","1398550849","1398550858","1398550861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dc7f5b4b10bb601c8234c6f3ca45d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8810214346754264539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_44_34_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea56bf54ac88f125078921438df0c820.jpg","text":"TemporaryFile(/tmp/multipartBody9036711029994198228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_44_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9ecdef0c301bd7125289577a3c667fa.jpg","text":"TemporaryFile(/tmp/multipartBody999843085916658705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_44_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de0a392e50734e3bc2e8c1b3fb8d4a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6184521437398217395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_45_14_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecb5d9afb835feb01639cedd5f4d0d68.jpg","text":"TemporaryFile(/tmp/multipartBody1559685646335990872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_44_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4bc3c788bd2d18468017445ccb6ba242.jpg","text":"TemporaryFile(/tmp/multipartBody4081801939008235692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311215933,"filename":"image_08122025_13_45_05_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398550827","file1":"1398550825","file0":"1398550824","file4":"1398550858","file5":"1398550861","file3":"1398550849"},"map_files_photo_id_array":[{"photo_id":"1398550861","filename":"file5"},{"photo_id":"1398550827","filename":"file2"},{"photo_id":"1398550858","filename":"file4"},{"photo_id":"1398550825","filename":"file1"},{"photo_id":"1398550824","filename":"file0"},{"photo_id":"1398550849","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398550825":["hashtag1","hashtag2"]},{"1398550824":["hashtag1","hashtag2"]},{"1398550827":["hashtag1","hashtag2"]},{"1398550861":["hashtag1","hashtag2"]},{"1398550849":["hashtag1","hashtag2"]},{"1398550858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398550825, 1398550824, 1398550827, 1398550861, 1398550849, 1398550858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62059283256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:13:12.603592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_25_10326.jpg', '/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_34_9793.jpg', '/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_44_10020.jpg', '/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_54_10065.jpg', '/home/pi/Desktop/images/08122025/13/45/image_08122025_13_46_04_9710.jpg', '/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_35_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_25_10326.jpg
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_34_9793.jpg
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_44_10020.jpg
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_45_54_10065.jpg
/home/pi/Desktop/images/08122025/13/45/image_08122025_13_46_04_9710.jpg
/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_35_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551052","1398551090","1398551048","1398551036","1398551080","1398551044"],"photo_ids_order":["1398551036","1398551044","1398551048","1398551052","1398551080","1398551090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7479fa124977a55e10c074df1db59c94.jpg","text":"TemporaryFile(/tmp/multipartBody3848325627690763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_45_54_10065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40e196a6e354074ee68b6eead01232bb.jpg","text":"TemporaryFile(/tmp/multipartBody6090385336543138107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_46_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af64c94b9ab2eca7bec9bbf0be2ab0ae.jpg","text":"TemporaryFile(/tmp/multipartBody6413846506507972795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_45_44_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62573ba1c106a599778bc23834f96667.jpg","text":"TemporaryFile(/tmp/multipartBody7772818740125458157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_45_25_10326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11b2347ddaf17dccfadc56e539d232d8.jpg","text":"TemporaryFile(/tmp/multipartBody1219578934872139312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_46_04_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dae82946d16e204d58ae140e33132401.jpg","text":"TemporaryFile(/tmp/multipartBody2395756770083205327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311254361,"filename":"image_08122025_13_45_34_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551048","file1":"1398551044","file0":"1398551036","file4":"1398551080","file5":"1398551090","file3":"1398551052"},"map_files_photo_id_array":[{"photo_id":"1398551090","filename":"file5"},{"photo_id":"1398551048","filename":"file2"},{"photo_id":"1398551080","filename":"file4"},{"photo_id":"1398551044","filename":"file1"},{"photo_id":"1398551036","filename":"file0"},{"photo_id":"1398551052","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398551052":["hashtag1","hashtag2"]},{"1398551090":["hashtag1","hashtag2"]},{"1398551048":["hashtag1","hashtag2"]},{"1398551036":["hashtag1","hashtag2"]},{"1398551080":["hashtag1","hashtag2"]},{"1398551044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398551052, 1398551090, 1398551048, 1398551036, 1398551080, 1398551044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41988492012024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:14:03.512515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_25_10590.jpg', '/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_35_9595.jpg', '/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_44_9600.jpg', '/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_55_10590.jpg', '/home/pi/Desktop/images/09122025/12/26/image_09122025_12_27_04_9529.jpg', '/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_15_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_25_10590.jpg
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_35_9595.jpg
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_44_9600.jpg
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_26_55_10590.jpg
/home/pi/Desktop/images/09122025/12/26/image_09122025_12_27_04_9529.jpg
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_15_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551319","1398551313","1398551316","1398551266","1398551227","1398551323"],"photo_ids_order":["1398551227","1398551266","1398551313","1398551316","1398551319","1398551323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/764e6f599653ab2aa26df6fd31edf67f.jpg","text":"TemporaryFile(/tmp/multipartBody610741136620165655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_27_04_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90beeb0a4bb7bd2a3657c4829895fd44.jpg","text":"TemporaryFile(/tmp/multipartBody5050904130889838081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_26_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ea92272304818f36f3b87aaf18fdadb.jpg","text":"TemporaryFile(/tmp/multipartBody4107920695121307024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_26_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f6f46835a414fa20a16f5135f525c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8379776397657537315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_26_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/915df2d515e6687a6fcc6af4b6e1ad57.jpg","text":"TemporaryFile(/tmp/multipartBody2843398224971548541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_26_25_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe1dd510825c5dc584d82ac536fc202a.jpg","text":"TemporaryFile(/tmp/multipartBody2415277539376479092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311304113,"filename":"image_09122025_12_27_15_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551313","file1":"1398551266","file0":"1398551227","file4":"1398551319","file5":"1398551323","file3":"1398551316"},"map_files_photo_id_array":[{"photo_id":"1398551323","filename":"file5"},{"photo_id":"1398551313","filename":"file2"},{"photo_id":"1398551319","filename":"file4"},{"photo_id":"1398551266","filename":"file1"},{"photo_id":"1398551227","filename":"file0"},{"photo_id":"1398551316","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398551319":["hashtag1","hashtag2"]},{"1398551313":["hashtag1","hashtag2"]},{"1398551316":["hashtag1","hashtag2"]},{"1398551266":["hashtag1","hashtag2"]},{"1398551227":["hashtag1","hashtag2"]},{"1398551323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398551319, 1398551313, 1398551316, 1398551266, 1398551227, 1398551323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69623780250549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:14:42.805021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_07_3820.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_09_2718.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_12_2671.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_15_2715.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_21_2712.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_24_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_07_3820.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_09_2718.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_12_2671.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_15_2715.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_21_2712.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_24_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551445","1398551418","1398551433","1398551426","1398551479","1398551385"],"photo_ids_order":["1398551385","1398551418","1398551426","1398551433","1398551445","1398551479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8dc9a5df178203464aa01950c0c90f17.jpg","text":"TemporaryFile(/tmp/multipartBody8288483525678107010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_21_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/285282a38fd11a98b9edb0dcb3d539cc.jpg","text":"TemporaryFile(/tmp/multipartBody2447939786644761798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_09_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/377a03561477e3766098988e91308eab.jpg","text":"TemporaryFile(/tmp/multipartBody8030244117327045435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_15_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/501fa17527e9c7d66b6e9de8265d00b2.jpg","text":"TemporaryFile(/tmp/multipartBody3261319643837935449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_12_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77f6e381376de1474bfe6afbc6cf3c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6336320254223196295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_24_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ae9613c879f997ef5f6848f41e5c9987.jpg","text":"TemporaryFile(/tmp/multipartBody7338638517890396721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311343798,"filename":"image_01112025_19_43_07_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551426","file1":"1398551418","file0":"1398551385","file4":"1398551445","file5":"1398551479","file3":"1398551433"},"map_files_photo_id_array":[{"photo_id":"1398551479","filename":"file5"},{"photo_id":"1398551426","filename":"file2"},{"photo_id":"1398551445","filename":"file4"},{"photo_id":"1398551418","filename":"file1"},{"photo_id":"1398551385","filename":"file0"},{"photo_id":"1398551433","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398551445":["hashtag1","hashtag2"]},{"1398551418":["hashtag1","hashtag2"]},{"1398551433":["hashtag1","hashtag2"]},{"1398551426":["hashtag1","hashtag2"]},{"1398551479":["hashtag1","hashtag2"]},{"1398551385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398551445, 1398551418, 1398551433, 1398551426, 1398551479, 1398551385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.236528158187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:15:22.181273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_25_9629.jpg', '/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_34_9567.jpg', '/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_45_10696.jpg', '/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_55_9695.jpg', '/home/pi/Desktop/images/09122025/12/27/image_09122025_12_28_04_9616.jpg', '/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_15_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_25_9629.jpg
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_34_9567.jpg
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_45_10696.jpg
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_27_55_9695.jpg
/home/pi/Desktop/images/09122025/12/27/image_09122025_12_28_04_9616.jpg
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_15_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551529","1398551531","1398551534","1398551539","1398551527","1398551536"],"photo_ids_order":["1398551527","1398551529","1398551531","1398551534","1398551536","1398551539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35846838381aaa030eb883aeeb20d28e.jpg","text":"TemporaryFile(/tmp/multipartBody4528773345020291950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_27_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23d02ecf656b007ebb7584135fb7941b.jpg","text":"TemporaryFile(/tmp/multipartBody300690183858721629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_27_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96bb7e0e160b6a857cd7d33b817d17a8.jpg","text":"TemporaryFile(/tmp/multipartBody3853904328211819441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_27_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2762ad2364674854a23682d94f46d85.jpg","text":"TemporaryFile(/tmp/multipartBody7662968256206844964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_28_15_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1172d57df4ef2da4e15f844e307b3109.jpg","text":"TemporaryFile(/tmp/multipartBody6290298666312073953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_27_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62d6c687283fbf7acfc8a03b711dda55.jpg","text":"TemporaryFile(/tmp/multipartBody225986894838638544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311382776,"filename":"image_09122025_12_28_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551531","file1":"1398551529","file0":"1398551527","file4":"1398551536","file5":"1398551539","file3":"1398551534"},"map_files_photo_id_array":[{"photo_id":"1398551539","filename":"file5"},{"photo_id":"1398551531","filename":"file2"},{"photo_id":"1398551536","filename":"file4"},{"photo_id":"1398551529","filename":"file1"},{"photo_id":"1398551527","filename":"file0"},{"photo_id":"1398551534","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398551529":["hashtag1","hashtag2"]},{"1398551531":["hashtag1","hashtag2"]},{"1398551534":["hashtag1","hashtag2"]},{"1398551539":["hashtag1","hashtag2"]},{"1398551527":["hashtag1","hashtag2"]},{"1398551536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398551529, 1398551531, 1398551534, 1398551539, 1398551527, 1398551536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9611656665802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:16:02.701903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_25_9701.jpg', '/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_34_9643.jpg', '/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_45_10551.jpg', '/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_55_9574.jpg', '/home/pi/Desktop/images/09122025/12/28/image_09122025_12_29_04_9655.jpg', '/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_15_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_25_9701.jpg
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_34_9643.jpg
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_45_10551.jpg
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_28_55_9574.jpg
/home/pi/Desktop/images/09122025/12/28/image_09122025_12_29_04_9655.jpg
/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_15_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551553","1398551546","1398551555","1398551560","1398551557","1398551551"],"photo_ids_order":["1398551546","1398551551","1398551553","1398551555","1398551557","1398551560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22736d2af3889d656033c2faa19cbdaf.jpg","text":"TemporaryFile(/tmp/multipartBody7011821787912952689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_28_45_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2686e0b057885c38ddeacc2fba8944c3.jpg","text":"TemporaryFile(/tmp/multipartBody1523024639783708277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_28_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/efd43977e441454af234d292726eefb0.jpg","text":"TemporaryFile(/tmp/multipartBody8896099024356675395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_28_55_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39abef2d5460d9a0014672dc1df2d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7138002079940068379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_29_15_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fba4348fd6efe733eda89659f471f66.jpg","text":"TemporaryFile(/tmp/multipartBody6814465669161601260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_29_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5d7c332703839cdf727c1c2172154ef.jpg","text":"TemporaryFile(/tmp/multipartBody8542776524954835895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311423274,"filename":"image_09122025_12_28_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551553","file1":"1398551551","file0":"1398551546","file4":"1398551557","file5":"1398551560","file3":"1398551555"},"map_files_photo_id_array":[{"photo_id":"1398551560","filename":"file5"},{"photo_id":"1398551553","filename":"file2"},{"photo_id":"1398551557","filename":"file4"},{"photo_id":"1398551551","filename":"file1"},{"photo_id":"1398551546","filename":"file0"},{"photo_id":"1398551555","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398551553":["hashtag1","hashtag2"]},{"1398551546":["hashtag1","hashtag2"]},{"1398551555":["hashtag1","hashtag2"]},{"1398551560":["hashtag1","hashtag2"]},{"1398551557":["hashtag1","hashtag2"]},{"1398551551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398551553, 1398551546, 1398551555, 1398551560, 1398551557, 1398551551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03119206428528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:16:42.272210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_27_2973.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_30_3638.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_33_2683.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_36_2744.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_39_3691.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_42_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_27_2973.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_30_3638.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_33_2683.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_36_2744.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_39_3691.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_42_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551571","1398551580","1398551568","1398551577","1398551573","1398551575"],"photo_ids_order":["1398551568","1398551571","1398551573","1398551575","1398551577","1398551580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50d154be123dcafe2de1c0b83625dfa6.jpg","text":"TemporaryFile(/tmp/multipartBody5420299737810891999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_30_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b43ea735dc38d25dc2aeb53ddf9939f.jpg","text":"TemporaryFile(/tmp/multipartBody1408395713357807979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_42_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64adb567758f3fb85e8691a452f072a4.jpg","text":"TemporaryFile(/tmp/multipartBody6405299882164807859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_27_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9466cddd17dd8d464a072c7ff21e1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8426511732977422854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_39_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0881a8d6231930124bcaf91c0387dcea.jpg","text":"TemporaryFile(/tmp/multipartBody9220824592191591756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_33_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eaa929222de9153308c5134b1f46abb1.jpg","text":"TemporaryFile(/tmp/multipartBody7681277486380266993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311463280,"filename":"image_01112025_19_43_36_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551573","file1":"1398551571","file0":"1398551568","file4":"1398551577","file5":"1398551580","file3":"1398551575"},"map_files_photo_id_array":[{"photo_id":"1398551580","filename":"file5"},{"photo_id":"1398551573","filename":"file2"},{"photo_id":"1398551577","filename":"file4"},{"photo_id":"1398551571","filename":"file1"},{"photo_id":"1398551568","filename":"file0"},{"photo_id":"1398551575","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398551571":["hashtag1","hashtag2"]},{"1398551580":["hashtag1","hashtag2"]},{"1398551568":["hashtag1","hashtag2"]},{"1398551577":["hashtag1","hashtag2"]},{"1398551573":["hashtag1","hashtag2"]},{"1398551575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398551571, 1398551580, 1398551568, 1398551577, 1398551573, 1398551575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17531108856201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:17:22.512165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_25_9747.jpg', '/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_34_9684.jpg', '/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_45_10701.jpg', '/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_55_9768.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_15_10057.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_25_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_25_9747.jpg
/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_34_9684.jpg
/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_45_10701.jpg
/home/pi/Desktop/images/09122025/12/29/image_09122025_12_29_55_9768.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_15_10057.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_25_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551592","1398551586","1398551667","1398551589","1398551594","1398551617"],"photo_ids_order":["1398551586","1398551589","1398551592","1398551594","1398551617","1398551667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21f74b105d19ea806228ccf405391469.jpg","text":"TemporaryFile(/tmp/multipartBody552577319625451541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_29_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65475d82182d833289f8ac936eb63d04.jpg","text":"TemporaryFile(/tmp/multipartBody2789659906821104031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_29_25_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d89956ea20505499941663fdee78edff.jpg","text":"TemporaryFile(/tmp/multipartBody1586124161966911089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_30_25_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8e9d38803ef8c2b4a99b32ad7459a618.jpg","text":"TemporaryFile(/tmp/multipartBody3618168890909895244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_29_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3dd09e8349633a03f08baf06708957bc.jpg","text":"TemporaryFile(/tmp/multipartBody2846562512478791255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_29_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d76f35999761f5b426d3bddfe0cb7e61.jpg","text":"TemporaryFile(/tmp/multipartBody7964635008856006793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311503094,"filename":"image_09122025_12_30_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551592","file1":"1398551589","file0":"1398551586","file4":"1398551617","file5":"1398551667","file3":"1398551594"},"map_files_photo_id_array":[{"photo_id":"1398551667","filename":"file5"},{"photo_id":"1398551592","filename":"file2"},{"photo_id":"1398551617","filename":"file4"},{"photo_id":"1398551589","filename":"file1"},{"photo_id":"1398551586","filename":"file0"},{"photo_id":"1398551594","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398551592":["hashtag1","hashtag2"]},{"1398551586":["hashtag1","hashtag2"]},{"1398551667":["hashtag1","hashtag2"]},{"1398551589":["hashtag1","hashtag2"]},{"1398551594":["hashtag1","hashtag2"]},{"1398551617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398551592, 1398551586, 1398551667, 1398551589, 1398551594, 1398551617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.836074352264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:18:03.152711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_45_9630.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_55_10770.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_31_05_9694.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_15_9705.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_26_10739.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_45_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_45_9630.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_55_10770.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_31_05_9694.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_15_9705.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_26_10739.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_45_9800.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46563267707824707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:18:12.712870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_44_9362.jpg', '/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_55_10677.jpg', '/home/pi/Desktop/images/08122025/13/46/image_08122025_13_47_05_9604.jpg', '/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_14_9529.jpg', '/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_25_10755.jpg', '/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_44_9362.jpg
/home/pi/Desktop/images/08122025/13/46/image_08122025_13_46_55_10677.jpg
/home/pi/Desktop/images/08122025/13/46/image_08122025_13_47_05_9604.jpg
/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_14_9529.jpg
/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_25_10755.jpg
/home/pi/Desktop/images/08122025/13/47/image_08122025_13_47_44_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398551940","1398552088","1398551900","1398552061","1398552022","1398551980"],"photo_ids_order":["1398551900","1398551940","1398551980","1398552022","1398552061","1398552088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3f88edfc7406a708b9901c35f4f21ec.jpg","text":"TemporaryFile(/tmp/multipartBody1255488634474832088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_46_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4eb829fe24485e34918fcfffcf04f104.jpg","text":"TemporaryFile(/tmp/multipartBody7334829930278387463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_47_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4bcc7662e972c0f9aad62fe09cc03ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2815140741362933054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_46_44_9362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f0176e1508d72ccb7265272fa9c0c43.jpg","text":"TemporaryFile(/tmp/multipartBody2125177834174809939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_47_25_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a53f44005e5fec4ebc14e43a9d738996.jpg","text":"TemporaryFile(/tmp/multipartBody6569941161982343186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_47_14_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2964ed041c2b261b1a37dd848e2cf7c8.jpg","text":"TemporaryFile(/tmp/multipartBody9079764485573966259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311554489,"filename":"image_08122025_13_47_05_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398551980","file1":"1398551940","file0":"1398551900","file4":"1398552061","file5":"1398552088","file3":"1398552022"},"map_files_photo_id_array":[{"photo_id":"1398552088","filename":"file5"},{"photo_id":"1398551980","filename":"file2"},{"photo_id":"1398552061","filename":"file4"},{"photo_id":"1398551940","filename":"file1"},{"photo_id":"1398551900","filename":"file0"},{"photo_id":"1398552022","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398551940":["hashtag1","hashtag2"]},{"1398552088":["hashtag1","hashtag2"]},{"1398551900":["hashtag1","hashtag2"]},{"1398552061":["hashtag1","hashtag2"]},{"1398552022":["hashtag1","hashtag2"]},{"1398551980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398551940, 1398552088, 1398551900, 1398552061, 1398552022, 1398551980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0559241771698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:19:02.823853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_45_9630.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_55_10770.jpg', '/home/pi/Desktop/images/09122025/12/30/image_09122025_12_31_05_9694.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_15_9705.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_26_10739.jpg', '/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_45_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_45_9630.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_30_55_10770.jpg
/home/pi/Desktop/images/09122025/12/30/image_09122025_12_31_05_9694.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_15_9705.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_26_10739.jpg
/home/pi/Desktop/images/09122025/12/31/image_09122025_12_31_45_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552108","1398552102","1398552104","1398552157","1398552115","1398552100"],"photo_ids_order":["1398552100","1398552102","1398552104","1398552108","1398552115","1398552157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bd2af5559a5d4b893d0e9b050bd534a.jpg","text":"TemporaryFile(/tmp/multipartBody4950697671731177983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_31_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4fb00709c4ba948507c963c2ef67f88b.jpg","text":"TemporaryFile(/tmp/multipartBody9049944913832953042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_30_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3de56c55083f9873d77cd453196e70bf.jpg","text":"TemporaryFile(/tmp/multipartBody7932669416668145315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_31_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e454c32a1c474426b923cedc340e2ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1010397458449782039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_31_45_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f35a928d4bf8af6eab603332f1d7f104.jpg","text":"TemporaryFile(/tmp/multipartBody7029482025493240777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_31_26_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b79ab508c95425f29edd96dda0988f11.jpg","text":"TemporaryFile(/tmp/multipartBody6198498235043638139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311603527,"filename":"image_09122025_12_30_45_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552104","file1":"1398552102","file0":"1398552100","file4":"1398552115","file5":"1398552157","file3":"1398552108"},"map_files_photo_id_array":[{"photo_id":"1398552157","filename":"file5"},{"photo_id":"1398552104","filename":"file2"},{"photo_id":"1398552115","filename":"file4"},{"photo_id":"1398552102","filename":"file1"},{"photo_id":"1398552100","filename":"file0"},{"photo_id":"1398552108","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552108":["hashtag1","hashtag2"]},{"1398552102":["hashtag1","hashtag2"]},{"1398552104":["hashtag1","hashtag2"]},{"1398552157":["hashtag1","hashtag2"]},{"1398552115":["hashtag1","hashtag2"]},{"1398552100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552108, 1398552102, 1398552104, 1398552157, 1398552115, 1398552100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04737329483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:19:41.890251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_45_2594.jpg', '/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_48_3626.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_13_1776.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_26_12958.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_28_1642.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_29_1484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_45_2594.jpg
/home/pi/Desktop/images/01112025/19/43/image_01112025_19_43_48_3626.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_13_1776.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_26_12958.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_28_1642.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_29_1484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552371","1398552368","1398552353","1398552289","1398552337","1398552331"],"photo_ids_order":["1398552289","1398552331","1398552337","1398552353","1398552368","1398552371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/834dc4631047583e91989292de58bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody8651098823133744924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_44_29_1484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/86194114244f6d8de273ecc55ea50f07.jpg","text":"TemporaryFile(/tmp/multipartBody4736337982970504561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_44_28_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce70d467ab6a0e3eecc2c08ea8741549.jpg","text":"TemporaryFile(/tmp/multipartBody6646854280138215466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_44_26_12958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d4afd0fe0cf2b9481bdcf0254732042.jpg","text":"TemporaryFile(/tmp/multipartBody8638425350905888929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_43_45_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/392d8144359c002a53070f8203cad718.jpg","text":"TemporaryFile(/tmp/multipartBody2232249089484550096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_44_13_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20214c1d3ff25b86cf3cf602953bb1e5.jpg","text":"TemporaryFile(/tmp/multipartBody6298152052944876393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311642951,"filename":"image_01112025_19_43_48_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552337","file1":"1398552331","file0":"1398552289","file4":"1398552368","file5":"1398552371","file3":"1398552353"},"map_files_photo_id_array":[{"photo_id":"1398552371","filename":"file5"},{"photo_id":"1398552337","filename":"file2"},{"photo_id":"1398552368","filename":"file4"},{"photo_id":"1398552331","filename":"file1"},{"photo_id":"1398552289","filename":"file0"},{"photo_id":"1398552353","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552371":["hashtag1","hashtag2"]},{"1398552368":["hashtag1","hashtag2"]},{"1398552353":["hashtag1","hashtag2"]},{"1398552289":["hashtag1","hashtag2"]},{"1398552337":["hashtag1","hashtag2"]},{"1398552331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552371, 1398552368, 1398552353, 1398552289, 1398552337, 1398552331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92410850524902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:20:22.111218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_25_9569.jpg', '/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_35_10542.jpg', '/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_45_9466.jpg', '/home/pi/Desktop/images/09122025/12/32/image_09122025_12_33_05_9781.jpg', '/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_25_9760.jpg', '/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_35_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_25_9569.jpg
/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_35_10542.jpg
/home/pi/Desktop/images/09122025/12/32/image_09122025_12_32_45_9466.jpg
/home/pi/Desktop/images/09122025/12/32/image_09122025_12_33_05_9781.jpg
/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_25_9760.jpg
/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_35_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552420","1398552425","1398552428","1398552422","1398552439","1398552430"],"photo_ids_order":["1398552420","1398552422","1398552425","1398552428","1398552430","1398552439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85a4c6da16647fe6ca3ecfd9908a868d.jpg","text":"TemporaryFile(/tmp/multipartBody1074634462633745285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_32_25_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ddee50e0d5bc0aff02f843ce938e2fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7677321907298882080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_32_45_9466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da6a649b00dd66a771127de60f71936d.jpg","text":"TemporaryFile(/tmp/multipartBody342302350692799430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_33_05_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37e16b506f46455c38be9ba18ae9e656.jpg","text":"TemporaryFile(/tmp/multipartBody1896318906529828357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_32_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7096ee1a9aa817bf0b360a609cf38750.jpg","text":"TemporaryFile(/tmp/multipartBody992683095108629006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_33_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2fbad53c4003a7a29cb8367a48a503ae.jpg","text":"TemporaryFile(/tmp/multipartBody2072456355191398096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311682687,"filename":"image_09122025_12_33_25_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552425","file1":"1398552422","file0":"1398552420","file4":"1398552430","file5":"1398552439","file3":"1398552428"},"map_files_photo_id_array":[{"photo_id":"1398552439","filename":"file5"},{"photo_id":"1398552425","filename":"file2"},{"photo_id":"1398552430","filename":"file4"},{"photo_id":"1398552422","filename":"file1"},{"photo_id":"1398552420","filename":"file0"},{"photo_id":"1398552428","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552420":["hashtag1","hashtag2"]},{"1398552425":["hashtag1","hashtag2"]},{"1398552428":["hashtag1","hashtag2"]},{"1398552422":["hashtag1","hashtag2"]},{"1398552439":["hashtag1","hashtag2"]},{"1398552430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552420, 1398552425, 1398552428, 1398552422, 1398552439, 1398552430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24928045272827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:21:03.152702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_45_9610.jpg', '/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_55_10556.jpg', '/home/pi/Desktop/images/09122025/12/33/image_09122025_12_34_05_9549.jpg', '/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_15_9628.jpg', '/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_25_10647.jpg', '/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_35_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_45_9610.jpg
/home/pi/Desktop/images/09122025/12/33/image_09122025_12_33_55_10556.jpg
/home/pi/Desktop/images/09122025/12/33/image_09122025_12_34_05_9549.jpg
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_15_9628.jpg
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_25_10647.jpg
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_35_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552455","1398552458","1398552449","1398552451","1398552445","1398552453"],"photo_ids_order":["1398552445","1398552449","1398552451","1398552453","1398552455","1398552458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5692e4840a7f23981204a62c67a42e45.jpg","text":"TemporaryFile(/tmp/multipartBody2061876320572400204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_34_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64e6e7f157fbb2bbf34fa9593e7603ed.jpg","text":"TemporaryFile(/tmp/multipartBody2472034428908310008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_34_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1957ca924f0cd022262fcfdfa633beac.jpg","text":"TemporaryFile(/tmp/multipartBody6197004854191092613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_33_55_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38b8bf3cf7af4b37a87c73d5f3d849e9.jpg","text":"TemporaryFile(/tmp/multipartBody1326388080988553782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_34_05_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39e9433b5855a684f1f65abebec0d771.jpg","text":"TemporaryFile(/tmp/multipartBody3644396764151865048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_33_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d489c24ebfeda58f0cda8bc6c9e5b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8452269368958485124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311723750,"filename":"image_09122025_12_34_15_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552451","file1":"1398552449","file0":"1398552445","file4":"1398552455","file5":"1398552458","file3":"1398552453"},"map_files_photo_id_array":[{"photo_id":"1398552458","filename":"file5"},{"photo_id":"1398552451","filename":"file2"},{"photo_id":"1398552455","filename":"file4"},{"photo_id":"1398552449","filename":"file1"},{"photo_id":"1398552445","filename":"file0"},{"photo_id":"1398552453","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552455":["hashtag1","hashtag2"]},{"1398552458":["hashtag1","hashtag2"]},{"1398552449":["hashtag1","hashtag2"]},{"1398552451":["hashtag1","hashtag2"]},{"1398552445":["hashtag1","hashtag2"]},{"1398552453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552455, 1398552458, 1398552449, 1398552451, 1398552445, 1398552453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24002742767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:21:42.435396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_37_1666.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_39_1713.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_41_1616.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_42_1533.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_44_1759.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_45_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_37_1666.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_39_1713.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_41_1616.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_42_1533.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_44_1759.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_45_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552476","1398552470","1398552472","1398552466","1398552478","1398552474"],"photo_ids_order":["1398552466","1398552470","1398552472","1398552474","1398552476","1398552478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/05c117804885af8e0430b36d651900ee.jpg","text":"TemporaryFile(/tmp/multipartBody3233775587710562488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_44_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff631230d6045cd61bc0ccf03d2dbe66.jpg","text":"TemporaryFile(/tmp/multipartBody1237498059420311560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_39_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a569173620547f657a89df640edf32fa.jpg","text":"TemporaryFile(/tmp/multipartBody3632819737915984658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_41_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3cc0ed73f5efdfaf277e8268116932e.jpg","text":"TemporaryFile(/tmp/multipartBody3090560089246616519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_37_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c903c3a5832da88fb9c140deb4ca52a1.jpg","text":"TemporaryFile(/tmp/multipartBody4726290829188587613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_45_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c645a0a36e30785d5f8ca0dec1da1176.jpg","text":"TemporaryFile(/tmp/multipartBody1992489948782140095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311763429,"filename":"image_01112025_19_44_42_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552472","file1":"1398552470","file0":"1398552466","file4":"1398552476","file5":"1398552478","file3":"1398552474"},"map_files_photo_id_array":[{"photo_id":"1398552478","filename":"file5"},{"photo_id":"1398552472","filename":"file2"},{"photo_id":"1398552476","filename":"file4"},{"photo_id":"1398552470","filename":"file1"},{"photo_id":"1398552466","filename":"file0"},{"photo_id":"1398552474","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552476":["hashtag1","hashtag2"]},{"1398552470":["hashtag1","hashtag2"]},{"1398552472":["hashtag1","hashtag2"]},{"1398552466":["hashtag1","hashtag2"]},{"1398552478":["hashtag1","hashtag2"]},{"1398552474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552476, 1398552470, 1398552472, 1398552466, 1398552478, 1398552474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59980034828186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:22:22.694431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_45_10519.jpg', '/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_55_9854.jpg', '/home/pi/Desktop/images/09122025/12/34/image_09122025_12_35_05_9610.jpg', '/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_15_10561.jpg', '/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_25_9567.jpg', '/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_45_10519.jpg
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_34_55_9854.jpg
/home/pi/Desktop/images/09122025/12/34/image_09122025_12_35_05_9610.jpg
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_15_10561.jpg
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_25_9567.jpg
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_35_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552494","1398552497","1398552499","1398552502","1398552486","1398552489"],"photo_ids_order":["1398552486","1398552489","1398552494","1398552497","1398552499","1398552502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d513f5c11b4c724d9088e150800fbdec.jpg","text":"TemporaryFile(/tmp/multipartBody3830046956520808629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_35_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d50dc7c096a1ce21206a3a8ce970bdb2.jpg","text":"TemporaryFile(/tmp/multipartBody3300542194937943861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_35_15_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9aed8b7c59dd57d5570c2ceb8ec0e46.jpg","text":"TemporaryFile(/tmp/multipartBody7793182790540112631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_35_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/59a434113f7ab314bda050f497c9e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody3291783428930292139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_35_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67ae37e54655c96667571490ac4ccb49.jpg","text":"TemporaryFile(/tmp/multipartBody3713532133953018847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_34_45_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c060c2563b3f5dcbbd05a7000cbf832.jpg","text":"TemporaryFile(/tmp/multipartBody6584429307575431990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311803313,"filename":"image_09122025_12_34_55_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552494","file1":"1398552489","file0":"1398552486","file4":"1398552499","file5":"1398552502","file3":"1398552497"},"map_files_photo_id_array":[{"photo_id":"1398552502","filename":"file5"},{"photo_id":"1398552494","filename":"file2"},{"photo_id":"1398552499","filename":"file4"},{"photo_id":"1398552489","filename":"file1"},{"photo_id":"1398552486","filename":"file0"},{"photo_id":"1398552497","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552494":["hashtag1","hashtag2"]},{"1398552497":["hashtag1","hashtag2"]},{"1398552499":["hashtag1","hashtag2"]},{"1398552502":["hashtag1","hashtag2"]},{"1398552486":["hashtag1","hashtag2"]},{"1398552489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552494, 1398552497, 1398552499, 1398552502, 1398552486, 1398552489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.255898237228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:23:02.565471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_45_10651.jpg', '/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_55_9752.jpg', '/home/pi/Desktop/images/09122025/12/35/image_09122025_12_36_05_9619.jpg', '/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_15_10620.jpg', '/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_25_9612.jpg', '/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_35_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_45_10651.jpg
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_35_55_9752.jpg
/home/pi/Desktop/images/09122025/12/35/image_09122025_12_36_05_9619.jpg
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_15_10620.jpg
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_25_9612.jpg
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_35_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552516","1398552518","1398552512","1398552509","1398552520","1398552514"],"photo_ids_order":["1398552509","1398552512","1398552514","1398552516","1398552518","1398552520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d32a7675fe5da8dccd4e19e1ffb06ed.jpg","text":"TemporaryFile(/tmp/multipartBody299351221833491252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_36_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6ae7bf812d1f4dc66bb89e181106d47.jpg","text":"TemporaryFile(/tmp/multipartBody8271732786118240151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_36_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db5b545e1c724addc3d766f5575a8239.jpg","text":"TemporaryFile(/tmp/multipartBody6908113481886686753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_35_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b5e66a3d114b0976b37efc3021bff47.jpg","text":"TemporaryFile(/tmp/multipartBody9138190755872868788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_35_45_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f8ef7a9d2d3a08ef1a172127521b7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5398271282764632029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_36_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a29ff8cbcedad8d2a07ce308611f84b.jpg","text":"TemporaryFile(/tmp/multipartBody5040520524529855426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311843206,"filename":"image_09122025_12_36_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552514","file1":"1398552512","file0":"1398552509","file4":"1398552518","file5":"1398552520","file3":"1398552516"},"map_files_photo_id_array":[{"photo_id":"1398552520","filename":"file5"},{"photo_id":"1398552514","filename":"file2"},{"photo_id":"1398552518","filename":"file4"},{"photo_id":"1398552512","filename":"file1"},{"photo_id":"1398552509","filename":"file0"},{"photo_id":"1398552516","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552516":["hashtag1","hashtag2"]},{"1398552518":["hashtag1","hashtag2"]},{"1398552512":["hashtag1","hashtag2"]},{"1398552509":["hashtag1","hashtag2"]},{"1398552520":["hashtag1","hashtag2"]},{"1398552514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552516, 1398552518, 1398552512, 1398552509, 1398552520, 1398552514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40252900123596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:23:41.926628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_47_1659.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_49_1618.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_54_2715.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_57_2666.jpg', '/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_59_2642.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_03_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_47_1659.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_49_1618.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_54_2715.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_57_2666.jpg
/home/pi/Desktop/images/01112025/19/44/image_01112025_19_44_59_2642.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_03_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552540","1398552528","1398552543","1398552537","1398552533","1398552546"],"photo_ids_order":["1398552528","1398552533","1398552537","1398552540","1398552543","1398552546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9d0495b33ae8b0f321ce036aa8c0851.jpg","text":"TemporaryFile(/tmp/multipartBody4969321170191650541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_44_57_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc246a33b729de8dfadbc7691a0f7d53.jpg","text":"TemporaryFile(/tmp/multipartBody3630748870857308828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_44_47_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb948537b9f2e1627cee7c702e781cef.jpg","text":"TemporaryFile(/tmp/multipartBody7996109379651706896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_44_59_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e81a8fb5f4bc57264ec31b63516a169.jpg","text":"TemporaryFile(/tmp/multipartBody3337380488619371579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_44_54_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d405b8ba72f14518e9d22cf0d8a049ac.jpg","text":"TemporaryFile(/tmp/multipartBody2235009776257472042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_44_49_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d31c7ed94e212d7a583a68f7036dd9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7661227037882142830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311882981,"filename":"image_01112025_19_45_03_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552537","file1":"1398552533","file0":"1398552528","file4":"1398552543","file5":"1398552546","file3":"1398552540"},"map_files_photo_id_array":[{"photo_id":"1398552546","filename":"file5"},{"photo_id":"1398552537","filename":"file2"},{"photo_id":"1398552543","filename":"file4"},{"photo_id":"1398552533","filename":"file1"},{"photo_id":"1398552528","filename":"file0"},{"photo_id":"1398552540","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552540":["hashtag1","hashtag2"]},{"1398552528":["hashtag1","hashtag2"]},{"1398552543":["hashtag1","hashtag2"]},{"1398552537":["hashtag1","hashtag2"]},{"1398552533":["hashtag1","hashtag2"]},{"1398552546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552540, 1398552528, 1398552543, 1398552537, 1398552533, 1398552546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.456435441970825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:24:22.098837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_45_10380.jpg', '/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_55_9776.jpg', '/home/pi/Desktop/images/09122025/12/36/image_09122025_12_37_06_10759.jpg', '/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_15_9579.jpg', '/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_25_9675.jpg', '/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_36_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_45_10380.jpg
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_36_55_9776.jpg
/home/pi/Desktop/images/09122025/12/36/image_09122025_12_37_06_10759.jpg
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_15_9579.jpg
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_25_9675.jpg
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_36_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552561","1398552554","1398552562","1398552556","1398552559","1398552564"],"photo_ids_order":["1398552554","1398552556","1398552559","1398552561","1398552562","1398552564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a5201683a23900003668e3ccc1924a9.jpg","text":"TemporaryFile(/tmp/multipartBody769043673738945924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_37_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f66cd087519a36ecbd0206ac0d371207.jpg","text":"TemporaryFile(/tmp/multipartBody5296433459975913023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_36_45_10380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d25d89a51469fe0e67552a5993f08ac.jpg","text":"TemporaryFile(/tmp/multipartBody4235604339478103444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_37_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6078a9b79da73d2bef3092c63bbcb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1568270101304644689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_36_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b5162e6885487f76a2952bd4ace5917.jpg","text":"TemporaryFile(/tmp/multipartBody3095759290616898134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_37_06_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bce478962f86febc22f73318f7acd8f.jpg","text":"TemporaryFile(/tmp/multipartBody8029946299175478816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311922665,"filename":"image_09122025_12_37_36_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552559","file1":"1398552556","file0":"1398552554","file4":"1398552562","file5":"1398552564","file3":"1398552561"},"map_files_photo_id_array":[{"photo_id":"1398552564","filename":"file5"},{"photo_id":"1398552559","filename":"file2"},{"photo_id":"1398552562","filename":"file4"},{"photo_id":"1398552556","filename":"file1"},{"photo_id":"1398552554","filename":"file0"},{"photo_id":"1398552561","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552561":["hashtag1","hashtag2"]},{"1398552554":["hashtag1","hashtag2"]},{"1398552562":["hashtag1","hashtag2"]},{"1398552556":["hashtag1","hashtag2"]},{"1398552559":["hashtag1","hashtag2"]},{"1398552564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552561, 1398552554, 1398552562, 1398552556, 1398552559, 1398552564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.918360233306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:25:03.099856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_45_9636.jpg', '/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_55_9642.jpg', '/home/pi/Desktop/images/09122025/12/37/image_09122025_12_38_05_10697.jpg', '/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_15_9699.jpg', '/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_25_9610.jpg', '/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_35_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_45_9636.jpg
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_37_55_9642.jpg
/home/pi/Desktop/images/09122025/12/37/image_09122025_12_38_05_10697.jpg
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_15_9699.jpg
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_25_9610.jpg
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_35_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552587","1398552575","1398552584","1398552582","1398552585","1398552579"],"photo_ids_order":["1398552575","1398552579","1398552582","1398552584","1398552585","1398552587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4832774355dc612841cafa217f8ea103.jpg","text":"TemporaryFile(/tmp/multipartBody7666394058482632458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_38_35_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6e55120a728de7eed6e80e943c20be2.jpg","text":"TemporaryFile(/tmp/multipartBody3545137342222664690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_37_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ef8bd291208bac792d91156c5e1083c.jpg","text":"TemporaryFile(/tmp/multipartBody8307804366308338833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_38_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/204fb11391486d016f6f15b6216ec23d.jpg","text":"TemporaryFile(/tmp/multipartBody2756767053302524225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_38_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84d78da5b6e485018330a510a43403d5.jpg","text":"TemporaryFile(/tmp/multipartBody4620111652121100050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_38_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83e91477442c93a4a3ea3c320cad9914.jpg","text":"TemporaryFile(/tmp/multipartBody873659981593735428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765311963707,"filename":"image_09122025_12_37_55_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552582","file1":"1398552579","file0":"1398552575","file4":"1398552585","file5":"1398552587","file3":"1398552584"},"map_files_photo_id_array":[{"photo_id":"1398552587","filename":"file5"},{"photo_id":"1398552582","filename":"file2"},{"photo_id":"1398552585","filename":"file4"},{"photo_id":"1398552579","filename":"file1"},{"photo_id":"1398552575","filename":"file0"},{"photo_id":"1398552584","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552587":["hashtag1","hashtag2"]},{"1398552575":["hashtag1","hashtag2"]},{"1398552584":["hashtag1","hashtag2"]},{"1398552582":["hashtag1","hashtag2"]},{"1398552585":["hashtag1","hashtag2"]},{"1398552579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552587, 1398552575, 1398552584, 1398552582, 1398552585, 1398552579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.001049757003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:25:42.469296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_06_3149.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_09_2664.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_11_2568.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_18_2660.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_20_2643.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_23_3073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_06_3149.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_09_2664.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_11_2568.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_18_2660.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_20_2643.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_23_3073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552612","1398552611","1398552608","1398552598","1398552610","1398552604"],"photo_ids_order":["1398552598","1398552604","1398552608","1398552610","1398552611","1398552612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/983384092ca620d6a5ef0135bc1212bf.jpg","text":"TemporaryFile(/tmp/multipartBody4860979777713105483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_23_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3334bf485db911b6c6f555a71692f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody6728354727414539344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_20_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/704947e7611530dd30537bfb5f2b5415.jpg","text":"TemporaryFile(/tmp/multipartBody8181710744471263707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_11_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56657791dfec06ed069ba8eaf33dd821.jpg","text":"TemporaryFile(/tmp/multipartBody116889144590732877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_06_3149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/292000c8fb16f42748e660198b69db94.jpg","text":"TemporaryFile(/tmp/multipartBody8064809410355121396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_18_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3069a6322b8a2ddfac624611975c393.jpg","text":"TemporaryFile(/tmp/multipartBody3231484133475586022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312003525,"filename":"image_01112025_19_45_09_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552608","file1":"1398552604","file0":"1398552598","file4":"1398552611","file5":"1398552612","file3":"1398552610"},"map_files_photo_id_array":[{"photo_id":"1398552612","filename":"file5"},{"photo_id":"1398552608","filename":"file2"},{"photo_id":"1398552611","filename":"file4"},{"photo_id":"1398552604","filename":"file1"},{"photo_id":"1398552598","filename":"file0"},{"photo_id":"1398552610","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552612":["hashtag1","hashtag2"]},{"1398552611":["hashtag1","hashtag2"]},{"1398552608":["hashtag1","hashtag2"]},{"1398552598":["hashtag1","hashtag2"]},{"1398552610":["hashtag1","hashtag2"]},{"1398552604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552612, 1398552611, 1398552608, 1398552598, 1398552610, 1398552604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5792121887207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:26:22.607402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_45_10591.jpg', '/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_55_9537.jpg', '/home/pi/Desktop/images/09122025/12/38/image_09122025_12_39_05_10594.jpg', '/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_15_9645.jpg', '/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_25_9678.jpg', '/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_35_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_45_10591.jpg
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_38_55_9537.jpg
/home/pi/Desktop/images/09122025/12/38/image_09122025_12_39_05_10594.jpg
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_15_9645.jpg
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_25_9678.jpg
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_35_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552633","1398552636","1398552621","1398552628","1398552631","1398552625"],"photo_ids_order":["1398552621","1398552625","1398552628","1398552631","1398552633","1398552636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d938d1e8b212372f33356e446e8ed9eb.jpg","text":"TemporaryFile(/tmp/multipartBody4412340835233112603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_39_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/811debd66e1fa6217ec4f84ca41e0ea1.jpg","text":"TemporaryFile(/tmp/multipartBody7183197310101069967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_39_35_10483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a64f2735c9746be0966453156f5279b.jpg","text":"TemporaryFile(/tmp/multipartBody7693823220693570152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_38_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23f3d4086f9be729afee528c9cab925b.jpg","text":"TemporaryFile(/tmp/multipartBody2482409247801059546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_39_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0198c992590d4389d54e3dfe8a4b5b80.jpg","text":"TemporaryFile(/tmp/multipartBody4532117401938280292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_39_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5eb69ead408ea326a6a4039623dc7171.jpg","text":"TemporaryFile(/tmp/multipartBody7446608737785154174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312043152,"filename":"image_09122025_12_38_55_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552628","file1":"1398552625","file0":"1398552621","file4":"1398552633","file5":"1398552636","file3":"1398552631"},"map_files_photo_id_array":[{"photo_id":"1398552636","filename":"file5"},{"photo_id":"1398552628","filename":"file2"},{"photo_id":"1398552633","filename":"file4"},{"photo_id":"1398552625","filename":"file1"},{"photo_id":"1398552621","filename":"file0"},{"photo_id":"1398552631","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552633":["hashtag1","hashtag2"]},{"1398552636":["hashtag1","hashtag2"]},{"1398552621":["hashtag1","hashtag2"]},{"1398552628":["hashtag1","hashtag2"]},{"1398552631":["hashtag1","hashtag2"]},{"1398552625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552633, 1398552636, 1398552621, 1398552628, 1398552631, 1398552625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66264033317566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:27:02.518057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_45_9579.jpg', '/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_56_10760.jpg', '/home/pi/Desktop/images/09122025/12/39/image_09122025_12_40_05_9762.jpg', '/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_35_9589.jpg', '/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_46_10580.jpg', '/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_55_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_45_9579.jpg
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_39_56_10760.jpg
/home/pi/Desktop/images/09122025/12/39/image_09122025_12_40_05_9762.jpg
/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_35_9589.jpg
/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_46_10580.jpg
/home/pi/Desktop/images/09122025/12/40/image_09122025_12_40_55_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552654","1398552641","1398552647","1398552649","1398552651","1398552645"],"photo_ids_order":["1398552641","1398552645","1398552647","1398552649","1398552651","1398552654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4bcdc8cec88febb0d87e3ad4682f23b3.jpg","text":"TemporaryFile(/tmp/multipartBody1462012034711945557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_40_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/11a7a8046d95117f48729c320375617f.jpg","text":"TemporaryFile(/tmp/multipartBody3940252051134793884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_39_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d5bec86d02540b292d31281a98ca9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8940302161856370568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_40_05_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/933f8bb0a6a555d21c100b3381f71a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4665134671198353810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_40_35_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b91f1ee2d67731d5e08428ef731c5323.jpg","text":"TemporaryFile(/tmp/multipartBody4718463930413053177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_40_46_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73b0a5762e896bbeab853e64c9f781d8.jpg","text":"TemporaryFile(/tmp/multipartBody6095455821674671745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312083155,"filename":"image_09122025_12_39_56_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552647","file1":"1398552645","file0":"1398552641","file4":"1398552651","file5":"1398552654","file3":"1398552649"},"map_files_photo_id_array":[{"photo_id":"1398552654","filename":"file5"},{"photo_id":"1398552647","filename":"file2"},{"photo_id":"1398552651","filename":"file4"},{"photo_id":"1398552645","filename":"file1"},{"photo_id":"1398552641","filename":"file0"},{"photo_id":"1398552649","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552654":["hashtag1","hashtag2"]},{"1398552641":["hashtag1","hashtag2"]},{"1398552647":["hashtag1","hashtag2"]},{"1398552649":["hashtag1","hashtag2"]},{"1398552651":["hashtag1","hashtag2"]},{"1398552645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552654, 1398552641, 1398552647, 1398552649, 1398552651, 1398552645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.989036083221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:27:41.791971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_27_3855.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_30_2585.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_33_2689.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_36_3575.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_39_2919.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_42_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_27_3855.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_30_2585.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_33_2689.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_36_3575.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_39_2919.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_42_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552660","1398552664","1398552673","1398552667","1398552676","1398552669"],"photo_ids_order":["1398552660","1398552664","1398552667","1398552669","1398552673","1398552676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a816cf39353f1890057a62e90433432.jpg","text":"TemporaryFile(/tmp/multipartBody4815143658409466002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_27_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c295718e552df52800879ff566d9625.jpg","text":"TemporaryFile(/tmp/multipartBody2189151107747490164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_30_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e81eda3538827ae5faa03f6ad2f8f9db.jpg","text":"TemporaryFile(/tmp/multipartBody3130055171310725754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_39_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d072276c7de263b728e30e319f83ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1564053122498938905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_33_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb864118ea07ccdeb68b79dfc56edf66.jpg","text":"TemporaryFile(/tmp/multipartBody8764909078452986684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_42_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bbc977da0f8e251a58f5bafa2b48744f.jpg","text":"TemporaryFile(/tmp/multipartBody7510062279732554609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312122784,"filename":"image_01112025_19_45_36_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552667","file1":"1398552664","file0":"1398552660","file4":"1398552673","file5":"1398552676","file3":"1398552669"},"map_files_photo_id_array":[{"photo_id":"1398552676","filename":"file5"},{"photo_id":"1398552667","filename":"file2"},{"photo_id":"1398552673","filename":"file4"},{"photo_id":"1398552664","filename":"file1"},{"photo_id":"1398552660","filename":"file0"},{"photo_id":"1398552669","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552660":["hashtag1","hashtag2"]},{"1398552664":["hashtag1","hashtag2"]},{"1398552673":["hashtag1","hashtag2"]},{"1398552667":["hashtag1","hashtag2"]},{"1398552676":["hashtag1","hashtag2"]},{"1398552669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552660, 1398552664, 1398552673, 1398552667, 1398552676, 1398552669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37613129615784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:28:22.009307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_07_11250.jpg', '/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_15_8662.jpg', '/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_36_10633.jpg', '/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_45_9521.jpg', '/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_55_9639.jpg', '/home/pi/Desktop/images/09122025/12/41/image_09122025_12_42_05_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_07_11250.jpg
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_15_8662.jpg
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_36_10633.jpg
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_45_9521.jpg
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_41_55_9639.jpg
/home/pi/Desktop/images/09122025/12/41/image_09122025_12_42_05_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552689","1398552683","1398552685","1398552693","1398552681","1398552699"],"photo_ids_order":["1398552681","1398552683","1398552685","1398552689","1398552693","1398552699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a8c1f84c7124c6234306fe5f36155f4.jpg","text":"TemporaryFile(/tmp/multipartBody3462415287680087615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_41_45_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f706043b1f04d9986891096be1db2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6554025306699500021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_41_15_8662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cbb674f789a4b532f2b9df8433af1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7560168600675442737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_41_36_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c544a498be4f5b13dcf41019635d2e14.jpg","text":"TemporaryFile(/tmp/multipartBody3602508212623209710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_41_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bd99e37c6e27b6cc5ffac7bdd48df9c.jpg","text":"TemporaryFile(/tmp/multipartBody4225843707779410309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_41_07_11250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4453405381a7e86250cca0b3169de31.jpg","text":"TemporaryFile(/tmp/multipartBody2246513344833743654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312162562,"filename":"image_09122025_12_42_05_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552685","file1":"1398552683","file0":"1398552681","file4":"1398552693","file5":"1398552699","file3":"1398552689"},"map_files_photo_id_array":[{"photo_id":"1398552699","filename":"file5"},{"photo_id":"1398552685","filename":"file2"},{"photo_id":"1398552693","filename":"file4"},{"photo_id":"1398552683","filename":"file1"},{"photo_id":"1398552681","filename":"file0"},{"photo_id":"1398552689","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552689":["hashtag1","hashtag2"]},{"1398552683":["hashtag1","hashtag2"]},{"1398552685":["hashtag1","hashtag2"]},{"1398552693":["hashtag1","hashtag2"]},{"1398552681":["hashtag1","hashtag2"]},{"1398552699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552689, 1398552683, 1398552685, 1398552693, 1398552681, 1398552699)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.424259185791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:29:12.157459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/47/image_08122025_13_48_05_9784.jpg', '/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_14_9556.jpg', '/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_25_10655.jpg', '/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_34_9588.jpg', '/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_44_9702.jpg', '/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/47/image_08122025_13_48_05_9784.jpg
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_14_9556.jpg
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_25_10655.jpg
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_34_9588.jpg
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_44_9702.jpg
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_48_55_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552722","1398552716","1398552719","1398552710","1398552713","1398552721"],"photo_ids_order":["1398552710","1398552713","1398552716","1398552719","1398552721","1398552722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a81c5fa834b4a5c4439aab2e592ff805.jpg","text":"TemporaryFile(/tmp/multipartBody4049583524780299272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38d4d35d2356d2f56a089312db3144ee.jpg","text":"TemporaryFile(/tmp/multipartBody308830900402932115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a25985526cf7347cfae0dd9a96092ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3209797431143730994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed815e5e17f18caafae8badb028d13f9.jpg","text":"TemporaryFile(/tmp/multipartBody2446186592322097980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7e01a988807db02511c595891ac680b.jpg","text":"TemporaryFile(/tmp/multipartBody6062039379323079593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88422ad24008731e1b910e95945dfaf1.jpg","text":"TemporaryFile(/tmp/multipartBody2821173404471307255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312213919,"filename":"image_08122025_13_48_44_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552716","file1":"1398552713","file0":"1398552710","file4":"1398552721","file5":"1398552722","file3":"1398552719"},"map_files_photo_id_array":[{"photo_id":"1398552722","filename":"file5"},{"photo_id":"1398552716","filename":"file2"},{"photo_id":"1398552721","filename":"file4"},{"photo_id":"1398552713","filename":"file1"},{"photo_id":"1398552710","filename":"file0"},{"photo_id":"1398552719","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398552722":["hashtag1","hashtag2"]},{"1398552716":["hashtag1","hashtag2"]},{"1398552719":["hashtag1","hashtag2"]},{"1398552710":["hashtag1","hashtag2"]},{"1398552713":["hashtag1","hashtag2"]},{"1398552721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398552722, 1398552716, 1398552719, 1398552710, 1398552713, 1398552721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49165916442871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:30:03.585843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_15_9673.jpg', '/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_31_16350.jpg', '/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_35_3584.jpg', '/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_45_9658.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_01_16128.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_05_4518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_15_9673.jpg
/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_31_16350.jpg
/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_35_3584.jpg
/home/pi/Desktop/images/09122025/12/42/image_09122025_12_42_45_9658.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_01_16128.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_05_4518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552735","1398552743","1398552737","1398552745","1398552741","1398552738"],"photo_ids_order":["1398552735","1398552737","1398552738","1398552741","1398552743","1398552745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74048aad6ae81c2c27cbe2aea02a75ed.jpg","text":"TemporaryFile(/tmp/multipartBody7577731786543962202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_42_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82ec0ef73d3f3a13dd0f0cb0334b81e1.jpg","text":"TemporaryFile(/tmp/multipartBody5381121291952738716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_43_01_16128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0714adbf6569c9e719f3fbf4ed25079f.jpg","text":"TemporaryFile(/tmp/multipartBody6156477964377286230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_42_31_16350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07b543a6721f4cd59c64cd0d497e0c23.jpg","text":"TemporaryFile(/tmp/multipartBody1772109367386018183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_43_05_4518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69213ab3dca927f537ae882d160c62cf.jpg","text":"TemporaryFile(/tmp/multipartBody1351133075938284979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_42_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a26b72e23da3bdea18061d664020ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody7665171551675964214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312264150,"filename":"image_09122025_12_42_35_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552738","file1":"1398552737","file0":"1398552735","file4":"1398552743","file5":"1398552745","file3":"1398552741"},"map_files_photo_id_array":[{"photo_id":"1398552745","filename":"file5"},{"photo_id":"1398552738","filename":"file2"},{"photo_id":"1398552743","filename":"file4"},{"photo_id":"1398552737","filename":"file1"},{"photo_id":"1398552735","filename":"file0"},{"photo_id":"1398552741","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552735":["hashtag1","hashtag2"]},{"1398552743":["hashtag1","hashtag2"]},{"1398552737":["hashtag1","hashtag2"]},{"1398552745":["hashtag1","hashtag2"]},{"1398552741":["hashtag1","hashtag2"]},{"1398552738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552735, 1398552743, 1398552737, 1398552745, 1398552741, 1398552738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96738004684448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:30:43.179884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_44_2720.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_48_3737.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_51_2726.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_54_3347.jpg', '/home/pi/Desktop/images/01112025/19/45/image_01112025_19_46_00_2817.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_02_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_44_2720.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_48_3737.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_51_2726.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_45_54_3347.jpg
/home/pi/Desktop/images/01112025/19/45/image_01112025_19_46_00_2817.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_02_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552753","1398552763","1398552766","1398552769","1398552760","1398552757"],"photo_ids_order":["1398552753","1398552757","1398552760","1398552763","1398552766","1398552769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0e442c997f90c14cdf9bc8e31f6d0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7894829668875085276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_45_44_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3cefed224e04324abf8471213b322783.jpg","text":"TemporaryFile(/tmp/multipartBody5805551654908482352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_45_54_3347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a1b5c7460c7d64aea4524105e6b8849.jpg","text":"TemporaryFile(/tmp/multipartBody6200038250389656706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_46_00_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8dc37576f5f2e9de39b529a6f80e5c3.jpg","text":"TemporaryFile(/tmp/multipartBody8077613772140941082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_46_02_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7555dde16c1d2fbf9ef5423d8ee10c04.jpg","text":"TemporaryFile(/tmp/multipartBody5759970994389078088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_45_51_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5f4e3e87509c30cb44f655926350790.jpg","text":"TemporaryFile(/tmp/multipartBody9197560267154841721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312304162,"filename":"image_01112025_19_45_48_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552760","file1":"1398552757","file0":"1398552753","file4":"1398552766","file5":"1398552769","file3":"1398552763"},"map_files_photo_id_array":[{"photo_id":"1398552769","filename":"file5"},{"photo_id":"1398552760","filename":"file2"},{"photo_id":"1398552766","filename":"file4"},{"photo_id":"1398552757","filename":"file1"},{"photo_id":"1398552753","filename":"file0"},{"photo_id":"1398552763","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398552753":["hashtag1","hashtag2"]},{"1398552763":["hashtag1","hashtag2"]},{"1398552766":["hashtag1","hashtag2"]},{"1398552769":["hashtag1","hashtag2"]},{"1398552760":["hashtag1","hashtag2"]},{"1398552757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398552753, 1398552763, 1398552766, 1398552769, 1398552760, 1398552757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.478251457214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:31:23.589994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_15_9615.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_25_9743.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_35_10616.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_45_9701.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_55_9669.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_44_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_15_9615.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_25_9743.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_35_10616.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_45_9701.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_55_9669.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_44_05_10629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4479987621307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:31:33.512354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/48/image_08122025_13_49_04_9539.jpg', '/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_14_9660.jpg', '/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_25_10666.jpg', '/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_34_9726.jpg', '/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_44_9650.jpg', '/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/48/image_08122025_13_49_04_9539.jpg
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_14_9660.jpg
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_25_10666.jpg
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_34_9726.jpg
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_44_9650.jpg
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_49_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552794","1398552782","1398552793","1398552787","1398552792","1398552795"],"photo_ids_order":["1398552782","1398552787","1398552792","1398552793","1398552794","1398552795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/62d278e8e998badc7c9cb7a21be101fc.jpg","text":"TemporaryFile(/tmp/multipartBody7255084502159682797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ebedb7b580cbbce68d932bfc4ab0908b.jpg","text":"TemporaryFile(/tmp/multipartBody1141375361114161815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_04_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d85213656152269e0c031d24f0524c14.jpg","text":"TemporaryFile(/tmp/multipartBody4223150825236733919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe9738e03880501423fce60ba02768d4.jpg","text":"TemporaryFile(/tmp/multipartBody1954345930440194408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faf70936ba91955062c754a0cacfa858.jpg","text":"TemporaryFile(/tmp/multipartBody5762192523253973397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/463f8cbcbc80dde3d577c614ace05dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7863856102504273986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312359417,"filename":"image_08122025_13_49_55_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552792","file1":"1398552787","file0":"1398552782","file4":"1398552794","file5":"1398552795","file3":"1398552793"},"map_files_photo_id_array":[{"photo_id":"1398552795","filename":"file5"},{"photo_id":"1398552792","filename":"file2"},{"photo_id":"1398552794","filename":"file4"},{"photo_id":"1398552787","filename":"file1"},{"photo_id":"1398552782","filename":"file0"},{"photo_id":"1398552793","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398552794":["hashtag1","hashtag2"]},{"1398552782":["hashtag1","hashtag2"]},{"1398552793":["hashtag1","hashtag2"]},{"1398552787":["hashtag1","hashtag2"]},{"1398552792":["hashtag1","hashtag2"]},{"1398552795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398552794, 1398552782, 1398552793, 1398552787, 1398552792, 1398552795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55981922149658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:32:22.791510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_15_9615.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_25_9743.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_35_10616.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_45_9701.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_55_9669.jpg', '/home/pi/Desktop/images/09122025/12/43/image_09122025_12_44_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_15_9615.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_25_9743.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_35_10616.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_45_9701.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_43_55_9669.jpg
/home/pi/Desktop/images/09122025/12/43/image_09122025_12_44_05_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398552930","1398552915","1398552892","1398552889","1398552952","1398552919"],"photo_ids_order":["1398552889","1398552892","1398552915","1398552919","1398552930","1398552952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d8b9ed9f4cf0ce6f404e8f28e49824a.jpg","text":"TemporaryFile(/tmp/multipartBody5280886953891937579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_43_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/311cf84e8b0182e7130fef6bc4152cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4533043010149103674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_43_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1926cbf1848dbf3ed17020f90c6ad635.jpg","text":"TemporaryFile(/tmp/multipartBody2245810105810150730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_43_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ff49962c30318abd45990deb4eb7f009.jpg","text":"TemporaryFile(/tmp/multipartBody8058014333550164406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_43_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/454bfe46138ac501ba9192edc1daba59.jpg","text":"TemporaryFile(/tmp/multipartBody1259129228523095551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_44_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e35d6cbcfd2ea0ccbbf08bdcdbbef94.jpg","text":"TemporaryFile(/tmp/multipartBody3196252247700306927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312403355,"filename":"image_09122025_12_43_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552915","file1":"1398552892","file0":"1398552889","file4":"1398552930","file5":"1398552952","file3":"1398552919"},"map_files_photo_id_array":[{"photo_id":"1398552952","filename":"file5"},{"photo_id":"1398552915","filename":"file2"},{"photo_id":"1398552930","filename":"file4"},{"photo_id":"1398552892","filename":"file1"},{"photo_id":"1398552889","filename":"file0"},{"photo_id":"1398552919","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552930":["hashtag1","hashtag2"]},{"1398552915":["hashtag1","hashtag2"]},{"1398552892":["hashtag1","hashtag2"]},{"1398552889":["hashtag1","hashtag2"]},{"1398552952":["hashtag1","hashtag2"]},{"1398552919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552930, 1398552915, 1398552892, 1398552889, 1398552952, 1398552919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.331310987472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:33:02.853028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_15_9778.jpg', '/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_30_15119.jpg', '/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_35_4613.jpg', '/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_46_10724.jpg', '/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_55_9561.jpg', '/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_15_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_15_9778.jpg
/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_30_15119.jpg
/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_35_4613.jpg
/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_46_10724.jpg
/home/pi/Desktop/images/09122025/12/44/image_09122025_12_44_55_9561.jpg
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_15_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398552977","1398552971","1398552973","1398552967","1398552987","1398552975"],"photo_ids_order":["1398552967","1398552971","1398552973","1398552975","1398552977","1398552987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/166ab6d025639c6995455cc39e9ad451.jpg","text":"TemporaryFile(/tmp/multipartBody449052236300647257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_44_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a891219f700f69caeb1aa4a75285dc76.jpg","text":"TemporaryFile(/tmp/multipartBody5808038351315193267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_44_30_15119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2cf902a5504f13c2d43a0e0c292d3c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1525407968393623285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_44_35_4613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf583d5367d6bfddfd5380875cb3ba78.jpg","text":"TemporaryFile(/tmp/multipartBody3756306902420340744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_44_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bdc0de47a61a573d00da4858717adbda.jpg","text":"TemporaryFile(/tmp/multipartBody480133696294603801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_45_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83321da452b932e3e27484a6eceed556.jpg","text":"TemporaryFile(/tmp/multipartBody546387823801486730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312443442,"filename":"image_09122025_12_44_46_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398552973","file1":"1398552971","file0":"1398552967","file4":"1398552977","file5":"1398552987","file3":"1398552975"},"map_files_photo_id_array":[{"photo_id":"1398552987","filename":"file5"},{"photo_id":"1398552973","filename":"file2"},{"photo_id":"1398552977","filename":"file4"},{"photo_id":"1398552971","filename":"file1"},{"photo_id":"1398552967","filename":"file0"},{"photo_id":"1398552975","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398552977":["hashtag1","hashtag2"]},{"1398552971":["hashtag1","hashtag2"]},{"1398552973":["hashtag1","hashtag2"]},{"1398552967":["hashtag1","hashtag2"]},{"1398552987":["hashtag1","hashtag2"]},{"1398552975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398552977, 1398552971, 1398552973, 1398552967, 1398552987, 1398552975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.56101751327515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:34:07.731856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_25_10665.jpg', '/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_35_9560.jpg', '/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_45_10656.jpg', '/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_55_9757.jpg', '/home/pi/Desktop/images/09122025/12/45/image_09122025_12_46_05_9743.jpg', '/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_25_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_25_10665.jpg
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_35_9560.jpg
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_45_10656.jpg
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_45_55_9757.jpg
/home/pi/Desktop/images/09122025/12/45/image_09122025_12_46_05_9743.jpg
/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_25_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398553262","1398553364","1398553301","1398553177","1398553402","1398553201"],"photo_ids_order":["1398553177","1398553201","1398553262","1398553301","1398553364","1398553402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1bb9fb68bbfa3e63d3f401e1588fc245.jpg","text":"TemporaryFile(/tmp/multipartBody2007532468647918613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_45_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20afef495c54a710bba88a36ea3c5bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8485379948020518748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_46_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/160b9018be28c4c406d096a232c5e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4232548566607365520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_45_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ece1627229f0673552b2b0e72520b4d.jpg","text":"TemporaryFile(/tmp/multipartBody416782842396439720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_45_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/546983ab9240179eaec198c666697a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7872275049467530616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_46_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8e5cf9c39a0213b90b20fb29c6ceb83b.jpg","text":"TemporaryFile(/tmp/multipartBody7971912437098029796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312509974,"filename":"image_09122025_12_45_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553262","file1":"1398553201","file0":"1398553177","file4":"1398553364","file5":"1398553402","file3":"1398553301"},"map_files_photo_id_array":[{"photo_id":"1398553402","filename":"file5"},{"photo_id":"1398553262","filename":"file2"},{"photo_id":"1398553364","filename":"file4"},{"photo_id":"1398553201","filename":"file1"},{"photo_id":"1398553177","filename":"file0"},{"photo_id":"1398553301","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398553262":["hashtag1","hashtag2"]},{"1398553364":["hashtag1","hashtag2"]},{"1398553301":["hashtag1","hashtag2"]},{"1398553177":["hashtag1","hashtag2"]},{"1398553402":["hashtag1","hashtag2"]},{"1398553201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398553262, 1398553364, 1398553301, 1398553177, 1398553402, 1398553201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.31060290336609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:35:03.442385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_35_9587.jpg', '/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_45_10636.jpg', '/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_55_9641.jpg', '/home/pi/Desktop/images/09122025/12/46/image_09122025_12_47_05_9546.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_15_10792.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_25_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_35_9587.jpg
/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_45_10636.jpg
/home/pi/Desktop/images/09122025/12/46/image_09122025_12_46_55_9641.jpg
/home/pi/Desktop/images/09122025/12/46/image_09122025_12_47_05_9546.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_15_10792.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_25_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553523","1398553561","1398553558","1398553552","1398553555","1398553515"],"photo_ids_order":["1398553515","1398553523","1398553552","1398553555","1398553558","1398553561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9af675a1a045bc742366fd0c4eda0194.jpg","text":"TemporaryFile(/tmp/multipartBody5524160428708253785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_46_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a75cb77744579d4e93ede22ac27e2145.jpg","text":"TemporaryFile(/tmp/multipartBody9000668450854843697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_47_25_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5af8fd371c5d679b8b83ffaa80350cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2688935144413118175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_47_15_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5055958caad59afcd3cbe7908a5dbb3d.jpg","text":"TemporaryFile(/tmp/multipartBody3635679160829836652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_46_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed50a2e53a2a75db892b7dd1ff4532dd.jpg","text":"TemporaryFile(/tmp/multipartBody2533668819941683297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_47_05_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb98fc6249041419f69319326165407a.jpg","text":"TemporaryFile(/tmp/multipartBody5184686634417088943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312564159,"filename":"image_09122025_12_46_35_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553552","file1":"1398553523","file0":"1398553515","file4":"1398553558","file5":"1398553561","file3":"1398553555"},"map_files_photo_id_array":[{"photo_id":"1398553561","filename":"file5"},{"photo_id":"1398553552","filename":"file2"},{"photo_id":"1398553558","filename":"file4"},{"photo_id":"1398553523","filename":"file1"},{"photo_id":"1398553515","filename":"file0"},{"photo_id":"1398553555","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398553523":["hashtag1","hashtag2"]},{"1398553561":["hashtag1","hashtag2"]},{"1398553558":["hashtag1","hashtag2"]},{"1398553552":["hashtag1","hashtag2"]},{"1398553555":["hashtag1","hashtag2"]},{"1398553515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398553523, 1398553561, 1398553558, 1398553552, 1398553555, 1398553515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42012047767639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:36:02.576787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_35_9584.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_45_10538.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_55_9614.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_48_05_10572.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_15_9802.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_25_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_35_9584.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_45_10538.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_55_9614.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_48_05_10572.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_15_9802.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_25_9655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:36:12.180902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/49/image_08122025_13_50_04_9478.jpg', '/home/pi/Desktop/images/08122025/13/50/image_08122025_13_50_15_10675.jpg', '/home/pi/Desktop/images/08122025/13/50/image_08122025_13_50_25_9576.jpg', '/home/pi/Desktop/images/08122025/13/51/image_08122025_13_51_54_9517.jpg', '/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_14_9502.jpg', '/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_24_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/49/image_08122025_13_50_04_9478.jpg
/home/pi/Desktop/images/08122025/13/50/image_08122025_13_50_15_10675.jpg
/home/pi/Desktop/images/08122025/13/50/image_08122025_13_50_25_9576.jpg
/home/pi/Desktop/images/08122025/13/51/image_08122025_13_51_54_9517.jpg
/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_14_9502.jpg
/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_24_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553715","1398553741","1398553699","1398553738","1398553725","1398553710"],"photo_ids_order":["1398553699","1398553710","1398553715","1398553725","1398553738","1398553741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed5e56d4b4e4d07e1ccf6f1ab5810236.jpg","text":"TemporaryFile(/tmp/multipartBody5166680158731493414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_50_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb0d7a680da55c9170299031d44a7c43.jpg","text":"TemporaryFile(/tmp/multipartBody3073335142097897656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_52_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5400112abb60856302c101e1b5100650.jpg","text":"TemporaryFile(/tmp/multipartBody6879549618680638231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_50_04_9478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57b53af7059d848544ae9dba538ef2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6416367100228182684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_52_14_9502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b09ea996704623dae85e7f41813fed98.jpg","text":"TemporaryFile(/tmp/multipartBody1705752690152326200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_51_54_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6d74ebfbfef48698eb820a66280ad93.jpg","text":"TemporaryFile(/tmp/multipartBody3784481457054268381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312633904,"filename":"image_08122025_13_50_15_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553715","file1":"1398553710","file0":"1398553699","file4":"1398553738","file5":"1398553741","file3":"1398553725"},"map_files_photo_id_array":[{"photo_id":"1398553741","filename":"file5"},{"photo_id":"1398553715","filename":"file2"},{"photo_id":"1398553738","filename":"file4"},{"photo_id":"1398553710","filename":"file1"},{"photo_id":"1398553699","filename":"file0"},{"photo_id":"1398553725","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398553715":["hashtag1","hashtag2"]},{"1398553741":["hashtag1","hashtag2"]},{"1398553699":["hashtag1","hashtag2"]},{"1398553738":["hashtag1","hashtag2"]},{"1398553725":["hashtag1","hashtag2"]},{"1398553710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398553715, 1398553741, 1398553699, 1398553738, 1398553725, 1398553710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.272164821624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:37:02.936838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_35_9584.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_45_10538.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_55_9614.jpg', '/home/pi/Desktop/images/09122025/12/47/image_09122025_12_48_05_10572.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_15_9802.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_25_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_35_9584.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_45_10538.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_47_55_9614.jpg
/home/pi/Desktop/images/09122025/12/47/image_09122025_12_48_05_10572.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_15_9802.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_25_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553751","1398553754","1398553756","1398553759","1398553761","1398553758"],"photo_ids_order":["1398553751","1398553754","1398553756","1398553758","1398553759","1398553761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/533b781cf4b7c8cf1f3dc1b8802d8f95.jpg","text":"TemporaryFile(/tmp/multipartBody832485906154994861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_47_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9439df9c0418ca94c0f87df1ba613c06.jpg","text":"TemporaryFile(/tmp/multipartBody489919715433143077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_47_45_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e3b4a49715798b26527da92737a4ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1916896013349483960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_47_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b77022a2a6b5b34f2522c85ba1a300d9.jpg","text":"TemporaryFile(/tmp/multipartBody8313973514779209805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_48_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/262a737f5302eeb5eed6f89e1733f224.jpg","text":"TemporaryFile(/tmp/multipartBody3443294392691495994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_48_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f088a7e568d283d63999d891d0f8967f.jpg","text":"TemporaryFile(/tmp/multipartBody2287789851555904560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312683580,"filename":"image_09122025_12_48_05_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553756","file1":"1398553754","file0":"1398553751","file4":"1398553759","file5":"1398553761","file3":"1398553758"},"map_files_photo_id_array":[{"photo_id":"1398553761","filename":"file5"},{"photo_id":"1398553756","filename":"file2"},{"photo_id":"1398553759","filename":"file4"},{"photo_id":"1398553754","filename":"file1"},{"photo_id":"1398553751","filename":"file0"},{"photo_id":"1398553758","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398553751":["hashtag1","hashtag2"]},{"1398553754":["hashtag1","hashtag2"]},{"1398553756":["hashtag1","hashtag2"]},{"1398553759":["hashtag1","hashtag2"]},{"1398553761":["hashtag1","hashtag2"]},{"1398553758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398553751, 1398553754, 1398553756, 1398553759, 1398553761, 1398553758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48523449897766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:37:42.422808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_06_3612.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_09_2760.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_12_2660.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_15_3727.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_18_2767.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_24_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_06_3612.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_09_2760.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_12_2660.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_15_3727.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_18_2767.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_24_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553772","1398553769","1398553780","1398553774","1398553777","1398553776"],"photo_ids_order":["1398553769","1398553772","1398553774","1398553776","1398553777","1398553780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aadc3a35e24081b311ec2fe7c38e8911.jpg","text":"TemporaryFile(/tmp/multipartBody4347538749341486991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_09_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b15a39546267951db2f7672cbd3697af.jpg","text":"TemporaryFile(/tmp/multipartBody6340308565908197231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_06_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a262eae7d65c0bb49fd26899d9a91bc.jpg","text":"TemporaryFile(/tmp/multipartBody343632381941292039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_24_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bd003f8429cd78a4d17aa4ed4bcb82a.jpg","text":"TemporaryFile(/tmp/multipartBody5126119458870928357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_12_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bbb8f2e5169bf581320cbe4948cb8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8341633743247463904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_18_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2795c680c69584845e6e8b24cf4a1df6.jpg","text":"TemporaryFile(/tmp/multipartBody2163035879902987990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312723457,"filename":"image_01112025_19_46_15_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553774","file1":"1398553772","file0":"1398553769","file4":"1398553777","file5":"1398553780","file3":"1398553776"},"map_files_photo_id_array":[{"photo_id":"1398553780","filename":"file5"},{"photo_id":"1398553774","filename":"file2"},{"photo_id":"1398553777","filename":"file4"},{"photo_id":"1398553772","filename":"file1"},{"photo_id":"1398553769","filename":"file0"},{"photo_id":"1398553776","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398553772":["hashtag1","hashtag2"]},{"1398553769":["hashtag1","hashtag2"]},{"1398553780":["hashtag1","hashtag2"]},{"1398553774":["hashtag1","hashtag2"]},{"1398553777":["hashtag1","hashtag2"]},{"1398553776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398553772, 1398553769, 1398553780, 1398553774, 1398553777, 1398553776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13579607009888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:38:22.601518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_35_10654.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_45_9490.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_03_18385.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_06_2939.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_15_8683.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_45_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_35_10654.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_45_9490.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_03_18385.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_06_2939.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_15_8683.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_45_9629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44571352005004883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:38:32.591484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_35_10522.jpg', '/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_44_9699.jpg', '/home/pi/Desktop/images/08122025/13/53/image_08122025_13_53_35_10571.jpg', '/home/pi/Desktop/images/08122025/13/53/image_08122025_13_54_04_9688.jpg', '/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_15_10597.jpg', '/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_35_10522.jpg
/home/pi/Desktop/images/08122025/13/52/image_08122025_13_52_44_9699.jpg
/home/pi/Desktop/images/08122025/13/53/image_08122025_13_53_35_10571.jpg
/home/pi/Desktop/images/08122025/13/53/image_08122025_13_54_04_9688.jpg
/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_15_10597.jpg
/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_44_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553809","1398553799","1398553795","1398553797","1398553803","1398553806"],"photo_ids_order":["1398553795","1398553797","1398553799","1398553803","1398553806","1398553809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68f32c56d08cc9acdb456123fd71c1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5916292438796811908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_54_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bae73fe40d811e42cd1222f14b14ac5d.jpg","text":"TemporaryFile(/tmp/multipartBody4258444360056128210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_53_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3530690bfbd6d5e311e163f3905045a1.jpg","text":"TemporaryFile(/tmp/multipartBody6393641170441673154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_52_35_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad6aa1d63fba6a74e8eb0ef03ecaf553.jpg","text":"TemporaryFile(/tmp/multipartBody3299245366612025566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_52_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c25161ee9c691ab9b7f4e6201243fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2577655543660943857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_54_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22eab9b6b5bafe392e637825a695b35e.jpg","text":"TemporaryFile(/tmp/multipartBody6849892667541812881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312774438,"filename":"image_08122025_13_54_15_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553799","file1":"1398553797","file0":"1398553795","file4":"1398553806","file5":"1398553809","file3":"1398553803"},"map_files_photo_id_array":[{"photo_id":"1398553809","filename":"file5"},{"photo_id":"1398553799","filename":"file2"},{"photo_id":"1398553806","filename":"file4"},{"photo_id":"1398553797","filename":"file1"},{"photo_id":"1398553795","filename":"file0"},{"photo_id":"1398553803","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398553809":["hashtag1","hashtag2"]},{"1398553799":["hashtag1","hashtag2"]},{"1398553795":["hashtag1","hashtag2"]},{"1398553797":["hashtag1","hashtag2"]},{"1398553803":["hashtag1","hashtag2"]},{"1398553806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398553809, 1398553799, 1398553795, 1398553797, 1398553803, 1398553806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96140956878662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:39:12.749442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_54_9653.jpg', '/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_14_9571.jpg', '/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_24_9904.jpg', '/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_44_9654.jpg', '/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_54_9620.jpg', '/home/pi/Desktop/images/08122025/13/55/image_08122025_13_56_05_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/54/image_08122025_13_54_54_9653.jpg
/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_14_9571.jpg
/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_24_9904.jpg
/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_44_9654.jpg
/home/pi/Desktop/images/08122025/13/55/image_08122025_13_55_54_9620.jpg
/home/pi/Desktop/images/08122025/13/55/image_08122025_13_56_05_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553826","1398553823","1398553817","1398553816","1398553821","1398553815"],"photo_ids_order":["1398553815","1398553816","1398553817","1398553821","1398553823","1398553826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/85eb496787afd1f5d23fe109d070aadd.jpg","text":"TemporaryFile(/tmp/multipartBody3168106761701176161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_56_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba126c6b5fbdfafa6240cbb8116db1c8.jpg","text":"TemporaryFile(/tmp/multipartBody8708064010210807247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_55_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6eb5454b5635334c210a088673935b6.jpg","text":"TemporaryFile(/tmp/multipartBody7915821690259935644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_55_24_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea931354262a20f2232411cf0008a7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6519948239317537589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_55_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26470361fefd8a66ec1e58ac55d7336c.jpg","text":"TemporaryFile(/tmp/multipartBody7471157399387233116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_55_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ecbfd7dd761eb1f36b13c5d897b2ea9e.jpg","text":"TemporaryFile(/tmp/multipartBody4868187164895068856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312814507,"filename":"image_08122025_13_54_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553817","file1":"1398553816","file0":"1398553815","file4":"1398553823","file5":"1398553826","file3":"1398553821"},"map_files_photo_id_array":[{"photo_id":"1398553826","filename":"file5"},{"photo_id":"1398553817","filename":"file2"},{"photo_id":"1398553823","filename":"file4"},{"photo_id":"1398553816","filename":"file1"},{"photo_id":"1398553815","filename":"file0"},{"photo_id":"1398553821","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398553826":["hashtag1","hashtag2"]},{"1398553823":["hashtag1","hashtag2"]},{"1398553817":["hashtag1","hashtag2"]},{"1398553816":["hashtag1","hashtag2"]},{"1398553821":["hashtag1","hashtag2"]},{"1398553815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398553826, 1398553823, 1398553817, 1398553816, 1398553821, 1398553815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30367350578308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:40:02.621173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_35_10654.jpg', '/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_45_9490.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_03_18385.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_06_2939.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_15_8683.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_45_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_35_10654.jpg
/home/pi/Desktop/images/09122025/12/48/image_09122025_12_48_45_9490.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_03_18385.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_06_2939.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_15_8683.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_45_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553835","1398553843","1398553860","1398553854","1398553863","1398553857"],"photo_ids_order":["1398553835","1398553843","1398553854","1398553857","1398553860","1398553863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/642a3bafcb80bb6acc13d6696b484eec.jpg","text":"TemporaryFile(/tmp/multipartBody2615051464365144581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_48_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c209996279c6e48557e28c53d9890dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8570854504471199328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_48_45_9490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b8fdeac8b62682a6ea0362113aa8536.jpg","text":"TemporaryFile(/tmp/multipartBody1951940721570729446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_49_15_8683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52879d1536f2148a76d3fee934804a27.jpg","text":"TemporaryFile(/tmp/multipartBody4307851986966052492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_49_03_18385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e796212e19a9358f634d6a6a75eae7aa.jpg","text":"TemporaryFile(/tmp/multipartBody3616712164542235414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_49_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c32481566d8277f9bbe2b01b15d858c.jpg","text":"TemporaryFile(/tmp/multipartBody9121566942021305714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312863203,"filename":"image_09122025_12_49_06_2939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553854","file1":"1398553843","file0":"1398553835","file4":"1398553860","file5":"1398553863","file3":"1398553857"},"map_files_photo_id_array":[{"photo_id":"1398553863","filename":"file5"},{"photo_id":"1398553854","filename":"file2"},{"photo_id":"1398553860","filename":"file4"},{"photo_id":"1398553843","filename":"file1"},{"photo_id":"1398553835","filename":"file0"},{"photo_id":"1398553857","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398553835":["hashtag1","hashtag2"]},{"1398553843":["hashtag1","hashtag2"]},{"1398553860":["hashtag1","hashtag2"]},{"1398553854":["hashtag1","hashtag2"]},{"1398553863":["hashtag1","hashtag2"]},{"1398553857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398553835, 1398553843, 1398553860, 1398553854, 1398553863, 1398553857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5285370349884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:40:42.023011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_27_2733.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_36_2582.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_38_2659.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_41_2812.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_48_2658.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_50_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_27_2733.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_36_2582.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_38_2659.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_41_2812.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_48_2658.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_50_2619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9538805484771729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:41:02.996916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_55_9790.jpg', '/home/pi/Desktop/images/09122025/12/49/image_09122025_12_50_05_10687.jpg', '/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_15_9691.jpg', '/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_25_9849.jpg', '/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_35_9768.jpg', '/home/pi/Desktop/images/09122025/12/50/image_09122025_12_51_05_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_49_55_9790.jpg
/home/pi/Desktop/images/09122025/12/49/image_09122025_12_50_05_10687.jpg
/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_15_9691.jpg
/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_25_9849.jpg
/home/pi/Desktop/images/09122025/12/50/image_09122025_12_50_35_9768.jpg
/home/pi/Desktop/images/09122025/12/50/image_09122025_12_51_05_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398553993","1398553989","1398554031","1398553986","1398553991","1398553994"],"photo_ids_order":["1398553986","1398553989","1398553991","1398553993","1398553994","1398554031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/675ee14bd831df72f323a739c4ec09ce.jpg","text":"TemporaryFile(/tmp/multipartBody6357834570052419015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_50_25_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57148587f7684d855c52b560d2e832e5.jpg","text":"TemporaryFile(/tmp/multipartBody886103925078234786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_50_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de812a71965d9d77cadc77ce9ef33318.jpg","text":"TemporaryFile(/tmp/multipartBody5987613169330858909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_51_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3da320b46db6708bbb6875ba51944f58.jpg","text":"TemporaryFile(/tmp/multipartBody1807630169180681089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_49_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f278d346c5fed9a7965e1666f2e8082e.jpg","text":"TemporaryFile(/tmp/multipartBody8601294168164607414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_50_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a169be0129a9f23d4394dfed2b83199d.jpg","text":"TemporaryFile(/tmp/multipartBody3714403130206270211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312923595,"filename":"image_09122025_12_50_35_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398553991","file1":"1398553989","file0":"1398553986","file4":"1398553994","file5":"1398554031","file3":"1398553993"},"map_files_photo_id_array":[{"photo_id":"1398554031","filename":"file5"},{"photo_id":"1398553991","filename":"file2"},{"photo_id":"1398553994","filename":"file4"},{"photo_id":"1398553989","filename":"file1"},{"photo_id":"1398553986","filename":"file0"},{"photo_id":"1398553993","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398553993":["hashtag1","hashtag2"]},{"1398553989":["hashtag1","hashtag2"]},{"1398554031":["hashtag1","hashtag2"]},{"1398553986":["hashtag1","hashtag2"]},{"1398553991":["hashtag1","hashtag2"]},{"1398553994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398553993, 1398553989, 1398554031, 1398553986, 1398553991, 1398553994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.623294830322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:41:42.223183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_27_2733.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_36_2582.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_38_2659.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_41_2812.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_48_2658.jpg', '/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_50_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_27_2733.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_36_2582.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_38_2659.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_41_2812.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_48_2658.jpg
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_50_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554117","1398554105","1398554108","1398554068","1398554094","1398554113"],"photo_ids_order":["1398554068","1398554094","1398554105","1398554108","1398554113","1398554117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3d11f796294fed15d299c96299f94f1.jpg","text":"TemporaryFile(/tmp/multipartBody8527401798839101486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_50_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/488b04e5127a97d411d898f78a5f75f2.jpg","text":"TemporaryFile(/tmp/multipartBody8638028389115358818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_38_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/912fecbb2606bf86954ab04ec4b7b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4142764362105008259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_41_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c95719fb163de655de6cd53903d7b07f.jpg","text":"TemporaryFile(/tmp/multipartBody8219932917454968183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_27_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b62eb8e1f27b5656e44455abcadaa2d3.jpg","text":"TemporaryFile(/tmp/multipartBody904690275792908040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_36_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a44471b38c4c2ddf4d2e03d4758a5d05.jpg","text":"TemporaryFile(/tmp/multipartBody5678175086172404766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765312963155,"filename":"image_01112025_19_46_48_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554105","file1":"1398554094","file0":"1398554068","file4":"1398554113","file5":"1398554117","file3":"1398554108"},"map_files_photo_id_array":[{"photo_id":"1398554117","filename":"file5"},{"photo_id":"1398554105","filename":"file2"},{"photo_id":"1398554113","filename":"file4"},{"photo_id":"1398554094","filename":"file1"},{"photo_id":"1398554068","filename":"file0"},{"photo_id":"1398554108","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398554117":["hashtag1","hashtag2"]},{"1398554105":["hashtag1","hashtag2"]},{"1398554108":["hashtag1","hashtag2"]},{"1398554068":["hashtag1","hashtag2"]},{"1398554094":["hashtag1","hashtag2"]},{"1398554113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398554117, 1398554105, 1398554108, 1398554068, 1398554094, 1398554113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33906102180481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:42:22.396643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_15_10844.jpg', '/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_35_9584.jpg', '/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_55_10795.jpg', '/home/pi/Desktop/images/09122025/12/51/image_09122025_12_52_05_9538.jpg', '/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_15_9747.jpg', '/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_25_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_15_10844.jpg
/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_35_9584.jpg
/home/pi/Desktop/images/09122025/12/51/image_09122025_12_51_55_10795.jpg
/home/pi/Desktop/images/09122025/12/51/image_09122025_12_52_05_9538.jpg
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_15_9747.jpg
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_25_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554132","1398554129","1398554131","1398554125","1398554127","1398554135"],"photo_ids_order":["1398554125","1398554127","1398554129","1398554131","1398554132","1398554135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8524e8e79ca6418a9b83d86914f6699.jpg","text":"TemporaryFile(/tmp/multipartBody8337359327002363684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_52_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e4c58efddc1ba4a003df62ea42aa003c.jpg","text":"TemporaryFile(/tmp/multipartBody9062767227678550102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_51_55_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac66a4158987ef12a688bcc752392cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3504625251078000665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_52_05_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c54a38b3cb353f68a9bb81a101f2b09.jpg","text":"TemporaryFile(/tmp/multipartBody6072118863783827605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_51_15_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d170ded3f9452d6d70acb10a02bbc4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8093125906201355180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_51_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e31238584b1026f7a90f7d71262e20a.jpg","text":"TemporaryFile(/tmp/multipartBody5935539271029834689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313002967,"filename":"image_09122025_12_52_25_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554129","file1":"1398554127","file0":"1398554125","file4":"1398554132","file5":"1398554135","file3":"1398554131"},"map_files_photo_id_array":[{"photo_id":"1398554135","filename":"file5"},{"photo_id":"1398554129","filename":"file2"},{"photo_id":"1398554132","filename":"file4"},{"photo_id":"1398554127","filename":"file1"},{"photo_id":"1398554125","filename":"file0"},{"photo_id":"1398554131","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554132":["hashtag1","hashtag2"]},{"1398554129":["hashtag1","hashtag2"]},{"1398554131":["hashtag1","hashtag2"]},{"1398554125":["hashtag1","hashtag2"]},{"1398554127":["hashtag1","hashtag2"]},{"1398554135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554132, 1398554129, 1398554131, 1398554125, 1398554127, 1398554135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20317196846008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:43:03.174016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_35_9715.jpg', '/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_46_10515.jpg', '/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_55_9698.jpg', '/home/pi/Desktop/images/09122025/12/52/image_09122025_12_53_05_9537.jpg', '/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_15_10739.jpg', '/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_35_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_35_9715.jpg
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_46_10515.jpg
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_52_55_9698.jpg
/home/pi/Desktop/images/09122025/12/52/image_09122025_12_53_05_9537.jpg
/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_15_10739.jpg
/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_35_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554150","1398554144","1398554147","1398554149","1398554151","1398554154"],"photo_ids_order":["1398554144","1398554147","1398554149","1398554150","1398554151","1398554154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aec4bdf43cd114933a6d69f1e8b86daf.jpg","text":"TemporaryFile(/tmp/multipartBody2683348110180018648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_53_05_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c0356792f33d155856be99d26eddce4.jpg","text":"TemporaryFile(/tmp/multipartBody862915395841745563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_52_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/349fc75c6d01b6ee71f31b8097aaaff0.jpg","text":"TemporaryFile(/tmp/multipartBody4266290769441472011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_52_46_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f892d061780c93fd178fd08cb0304b2.jpg","text":"TemporaryFile(/tmp/multipartBody4066798764264589726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_52_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2c2867b41389c598674e6c913f089bd.jpg","text":"TemporaryFile(/tmp/multipartBody3716062328466157491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_53_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce03bb46b1147475112b29fd27373ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6560943819493112661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313043800,"filename":"image_09122025_12_53_35_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554149","file1":"1398554147","file0":"1398554144","file4":"1398554151","file5":"1398554154","file3":"1398554150"},"map_files_photo_id_array":[{"photo_id":"1398554154","filename":"file5"},{"photo_id":"1398554149","filename":"file2"},{"photo_id":"1398554151","filename":"file4"},{"photo_id":"1398554147","filename":"file1"},{"photo_id":"1398554144","filename":"file0"},{"photo_id":"1398554150","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554150":["hashtag1","hashtag2"]},{"1398554144":["hashtag1","hashtag2"]},{"1398554147":["hashtag1","hashtag2"]},{"1398554149":["hashtag1","hashtag2"]},{"1398554151":["hashtag1","hashtag2"]},{"1398554154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554150, 1398554144, 1398554147, 1398554149, 1398554151, 1398554154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.788864612579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:43:42.649717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_57_2748.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_06_2639.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_08_2617.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_12_3672.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_15_2695.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_21_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/46/image_01112025_19_46_57_2748.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_06_2639.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_08_2617.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_12_3672.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_15_2695.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_21_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554194","1398554185","1398554187","1398554190","1398554192","1398554177"],"photo_ids_order":["1398554177","1398554185","1398554187","1398554190","1398554192","1398554194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e80e50dd328aee72242bf514202be58f.jpg","text":"TemporaryFile(/tmp/multipartBody4745210289976611020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_47_21_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/213edee066157605b810b50be2359d52.jpg","text":"TemporaryFile(/tmp/multipartBody6464051468983055007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_47_06_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00e8ba5a78f8b7ac6759ccf98051a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4180796470782532523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_47_08_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ab3293420377a7bc7b28da31f72d31f.jpg","text":"TemporaryFile(/tmp/multipartBody6015267349173896791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_47_12_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f975ce9a4d201c4c0812373c2cb2b703.jpg","text":"TemporaryFile(/tmp/multipartBody2875290379152817285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_47_15_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b134271ff613a767ba33299d75cb3f46.jpg","text":"TemporaryFile(/tmp/multipartBody6143948492198171588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313083711,"filename":"image_01112025_19_46_57_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554187","file1":"1398554185","file0":"1398554177","file4":"1398554192","file5":"1398554194","file3":"1398554190"},"map_files_photo_id_array":[{"photo_id":"1398554194","filename":"file5"},{"photo_id":"1398554187","filename":"file2"},{"photo_id":"1398554192","filename":"file4"},{"photo_id":"1398554185","filename":"file1"},{"photo_id":"1398554177","filename":"file0"},{"photo_id":"1398554190","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398554194":["hashtag1","hashtag2"]},{"1398554185":["hashtag1","hashtag2"]},{"1398554187":["hashtag1","hashtag2"]},{"1398554190":["hashtag1","hashtag2"]},{"1398554192":["hashtag1","hashtag2"]},{"1398554177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398554194, 1398554185, 1398554187, 1398554190, 1398554192, 1398554177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97187089920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:44:22.835373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_45_10695.jpg', '/home/pi/Desktop/images/09122025/12/54/image_09122025_12_54_45_9781.jpg', '/home/pi/Desktop/images/09122025/12/54/image_09122025_12_55_05_10597.jpg', '/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_15_9545.jpg', '/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_25_9796.jpg', '/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_35_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/53/image_09122025_12_53_45_10695.jpg
/home/pi/Desktop/images/09122025/12/54/image_09122025_12_54_45_9781.jpg
/home/pi/Desktop/images/09122025/12/54/image_09122025_12_55_05_10597.jpg
/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_15_9545.jpg
/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_25_9796.jpg
/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_35_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554230","1398554212","1398554206","1398554271","1398554310","1398554202"],"photo_ids_order":["1398554202","1398554206","1398554212","1398554230","1398554271","1398554310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/849123ac71aa01d38fd17db308c82519.jpg","text":"TemporaryFile(/tmp/multipartBody8928611211463308863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_55_15_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b5054bd73e546b0d8efdc50339e16a6.jpg","text":"TemporaryFile(/tmp/multipartBody1197584490074532115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_55_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/218ef92c28b9fe377c8321fa09f22ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7641446510103366004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_54_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4625e7821c26d56b70bdae216d9881ba.jpg","text":"TemporaryFile(/tmp/multipartBody1238312186035256487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_55_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e7a977f698b341f11f339c0b9d88006.jpg","text":"TemporaryFile(/tmp/multipartBody1854969611403558161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_55_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b50418363c51e50439880c88cffd4283.jpg","text":"TemporaryFile(/tmp/multipartBody338918618014371756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313123369,"filename":"image_09122025_12_53_45_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554212","file1":"1398554206","file0":"1398554202","file4":"1398554271","file5":"1398554310","file3":"1398554230"},"map_files_photo_id_array":[{"photo_id":"1398554310","filename":"file5"},{"photo_id":"1398554212","filename":"file2"},{"photo_id":"1398554271","filename":"file4"},{"photo_id":"1398554206","filename":"file1"},{"photo_id":"1398554202","filename":"file0"},{"photo_id":"1398554230","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554230":["hashtag1","hashtag2"]},{"1398554212":["hashtag1","hashtag2"]},{"1398554206":["hashtag1","hashtag2"]},{"1398554271":["hashtag1","hashtag2"]},{"1398554310":["hashtag1","hashtag2"]},{"1398554202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554230, 1398554212, 1398554206, 1398554271, 1398554310, 1398554202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74446988105774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:45:02.683801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:45:12.029669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/56/image_08122025_13_56_35_10670.jpg', '/home/pi/Desktop/images/08122025/13/56/image_08122025_13_56_44_9688.jpg', '/home/pi/Desktop/images/08122025/13/56/image_08122025_13_57_05_9709.jpg', '/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_15_9819.jpg', '/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_45_9695.jpg', '/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_54_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/56/image_08122025_13_56_35_10670.jpg
/home/pi/Desktop/images/08122025/13/56/image_08122025_13_56_44_9688.jpg
/home/pi/Desktop/images/08122025/13/56/image_08122025_13_57_05_9709.jpg
/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_15_9819.jpg
/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_45_9695.jpg
/home/pi/Desktop/images/08122025/13/57/image_08122025_13_57_54_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554441","1398554414","1398554449","1398554416","1398554444","1398554447"],"photo_ids_order":["1398554414","1398554416","1398554441","1398554444","1398554447","1398554449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/481a7beee36e3c89b73bb63ed2d57f36.jpg","text":"TemporaryFile(/tmp/multipartBody3752443260358758376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_57_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e9ea768041c9331e9deec7938d4b54b.jpg","text":"TemporaryFile(/tmp/multipartBody7081257500993714617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_56_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ccdc2a79c0f08fc163bba7d777ee9a8.jpg","text":"TemporaryFile(/tmp/multipartBody1529216272376051012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_57_54_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e3ffb330b988d47fe664564ea7e239c0.jpg","text":"TemporaryFile(/tmp/multipartBody8913124727787404512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_56_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d9ca55c9bff1d2b28345c7ac476429c.jpg","text":"TemporaryFile(/tmp/multipartBody6105089944847463268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_57_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7bb01e7d2efa80637a38d730b717259.jpg","text":"TemporaryFile(/tmp/multipartBody4604861564034106086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313176151,"filename":"image_08122025_13_57_45_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554441","file1":"1398554416","file0":"1398554414","file4":"1398554447","file5":"1398554449","file3":"1398554444"},"map_files_photo_id_array":[{"photo_id":"1398554449","filename":"file5"},{"photo_id":"1398554441","filename":"file2"},{"photo_id":"1398554447","filename":"file4"},{"photo_id":"1398554416","filename":"file1"},{"photo_id":"1398554414","filename":"file0"},{"photo_id":"1398554444","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398554441":["hashtag1","hashtag2"]},{"1398554414":["hashtag1","hashtag2"]},{"1398554449":["hashtag1","hashtag2"]},{"1398554416":["hashtag1","hashtag2"]},{"1398554444":["hashtag1","hashtag2"]},{"1398554447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398554441, 1398554414, 1398554449, 1398554416, 1398554444, 1398554447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.07051944732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:46:02.472041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_45_9664.jpg', '/home/pi/Desktop/images/09122025/12/55/image_09122025_12_56_05_10860.jpg', '/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_15_9821.jpg', '/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_35_9815.jpg', '/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_45_10688.jpg', '/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_55_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/55/image_09122025_12_55_45_9664.jpg
/home/pi/Desktop/images/09122025/12/55/image_09122025_12_56_05_10860.jpg
/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_15_9821.jpg
/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_35_9815.jpg
/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_45_10688.jpg
/home/pi/Desktop/images/09122025/12/56/image_09122025_12_56_55_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554551","1398554548","1398554553","1398554556","1398554543","1398554546"],"photo_ids_order":["1398554543","1398554546","1398554548","1398554551","1398554553","1398554556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a524e3da0b8948c38a1d657e36d7b66b.jpg","text":"TemporaryFile(/tmp/multipartBody9158730300751055093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_56_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc6d304e1fa22319ea72fcf2a20e77d0.jpg","text":"TemporaryFile(/tmp/multipartBody4574921349192601032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_56_15_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/714100156534e11f7f5de73ef8861ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7963803903559016928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_56_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bb39d4333c267aa983a4e0838efb7dea.jpg","text":"TemporaryFile(/tmp/multipartBody7760485729346129478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_56_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f55ae9094601e7b899a1fc292cd232c9.jpg","text":"TemporaryFile(/tmp/multipartBody112801122849744179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_55_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d853ba3ce857610376f34b8fb9c27392.jpg","text":"TemporaryFile(/tmp/multipartBody7106640299378816311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313223040,"filename":"image_09122025_12_56_05_10860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554548","file1":"1398554546","file0":"1398554543","file4":"1398554553","file5":"1398554556","file3":"1398554551"},"map_files_photo_id_array":[{"photo_id":"1398554556","filename":"file5"},{"photo_id":"1398554548","filename":"file2"},{"photo_id":"1398554553","filename":"file4"},{"photo_id":"1398554546","filename":"file1"},{"photo_id":"1398554543","filename":"file0"},{"photo_id":"1398554551","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554551":["hashtag1","hashtag2"]},{"1398554548":["hashtag1","hashtag2"]},{"1398554553":["hashtag1","hashtag2"]},{"1398554556":["hashtag1","hashtag2"]},{"1398554543":["hashtag1","hashtag2"]},{"1398554546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554551, 1398554548, 1398554553, 1398554556, 1398554543, 1398554546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.419440269470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:46:42.036483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_24_2609.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_26_2702.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_30_3530.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_33_3030.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_39_4009.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_42_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_24_2609.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_26_2702.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_30_3530.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_33_3030.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_39_4009.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_42_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554621","1398554785","1398554702","1398554583","1398554664","1398554742"],"photo_ids_order":["1398554583","1398554621","1398554664","1398554702","1398554742","1398554785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a0d088edb5eb10179765bcf152cdb92.jpg","text":"TemporaryFile(/tmp/multipartBody1476663725873634302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_26_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7e44b8d57139d504d4b11297326d47f.jpg","text":"TemporaryFile(/tmp/multipartBody8368092003572029467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_42_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94fde9d7cd23a733d95d3009adc45176.jpg","text":"TemporaryFile(/tmp/multipartBody6291369330769528784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_33_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca6b97acc41928ef3a27c866e4047eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4160999594611522387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_24_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22d842d64fff445964b17c291ecb6b65.jpg","text":"TemporaryFile(/tmp/multipartBody4949691344024088912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_30_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ed401c9a02780d7d898319eaf24dff8.jpg","text":"TemporaryFile(/tmp/multipartBody1958695101206504072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313263027,"filename":"image_01112025_19_47_39_4009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554664","file1":"1398554621","file0":"1398554583","file4":"1398554742","file5":"1398554785","file3":"1398554702"},"map_files_photo_id_array":[{"photo_id":"1398554785","filename":"file5"},{"photo_id":"1398554664","filename":"file2"},{"photo_id":"1398554742","filename":"file4"},{"photo_id":"1398554621","filename":"file1"},{"photo_id":"1398554583","filename":"file0"},{"photo_id":"1398554702","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398554621":["hashtag1","hashtag2"]},{"1398554785":["hashtag1","hashtag2"]},{"1398554702":["hashtag1","hashtag2"]},{"1398554583":["hashtag1","hashtag2"]},{"1398554664":["hashtag1","hashtag2"]},{"1398554742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398554621, 1398554785, 1398554702, 1398554583, 1398554664, 1398554742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.138270139694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:47:22.312533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/56/image_09122025_12_57_05_9551.jpg', '/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_15_10643.jpg', '/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_25_9738.jpg', '/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_55_9706.jpg', '/home/pi/Desktop/images/09122025/12/58/image_09122025_12_58_35_9679.jpg', '/home/pi/Desktop/images/09122025/12/58/image_09122025_12_59_05_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/56/image_09122025_12_57_05_9551.jpg
/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_15_10643.jpg
/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_25_9738.jpg
/home/pi/Desktop/images/09122025/12/57/image_09122025_12_57_55_9706.jpg
/home/pi/Desktop/images/09122025/12/58/image_09122025_12_58_35_9679.jpg
/home/pi/Desktop/images/09122025/12/58/image_09122025_12_59_05_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554884","1398554889","1398554880","1398554883","1398554886","1398554882"],"photo_ids_order":["1398554880","1398554882","1398554883","1398554884","1398554886","1398554889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac43cd2bb8258842444804d7c2eb8106.jpg","text":"TemporaryFile(/tmp/multipartBody8899375743419054125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_57_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee1ae967f2d0dc28a8623c17c79815bd.jpg","text":"TemporaryFile(/tmp/multipartBody3249343235851483224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_59_05_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb7c3694b0f61965b90b286e38fd725a.jpg","text":"TemporaryFile(/tmp/multipartBody4382344811771273829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_57_05_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f77e2129e99a0a24ef1b1f40d8704a85.jpg","text":"TemporaryFile(/tmp/multipartBody3592150624193312416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_57_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6726a843c1573abf9c65fb18d74abd79.jpg","text":"TemporaryFile(/tmp/multipartBody273039060980593183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_58_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c87ffafdb44a81b3ca44c7538ca19d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6921378108148221300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313302924,"filename":"image_09122025_12_57_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554883","file1":"1398554882","file0":"1398554880","file4":"1398554886","file5":"1398554889","file3":"1398554884"},"map_files_photo_id_array":[{"photo_id":"1398554889","filename":"file5"},{"photo_id":"1398554883","filename":"file2"},{"photo_id":"1398554886","filename":"file4"},{"photo_id":"1398554882","filename":"file1"},{"photo_id":"1398554880","filename":"file0"},{"photo_id":"1398554884","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554884":["hashtag1","hashtag2"]},{"1398554889":["hashtag1","hashtag2"]},{"1398554880":["hashtag1","hashtag2"]},{"1398554883":["hashtag1","hashtag2"]},{"1398554886":["hashtag1","hashtag2"]},{"1398554882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554884, 1398554889, 1398554880, 1398554883, 1398554886, 1398554882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89925503730774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:48:02.945675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_15_10584.jpg', '/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_25_9725.jpg', '/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_35_9759.jpg', '/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_55_9675.jpg', '/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_14_10037.jpg', '/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_24_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_15_10584.jpg
/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_25_9725.jpg
/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_35_9759.jpg
/home/pi/Desktop/images/09122025/12/59/image_09122025_12_59_55_9675.jpg
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_14_10037.jpg
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_24_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554903","1398554906","1398554900","1398554902","1398554898","1398554904"],"photo_ids_order":["1398554898","1398554900","1398554902","1398554903","1398554904","1398554906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7799b4657842b8e0c03458b209800f5.jpg","text":"TemporaryFile(/tmp/multipartBody866024222745737528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_12_59_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/624641f856f0d0c0b4483fa21c3a3f3f.jpg","text":"TemporaryFile(/tmp/multipartBody489202746809580123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_13_01_24_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07a0bf037aac77dcca0bd59ec6961300.jpg","text":"TemporaryFile(/tmp/multipartBody8928562284478365930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_12_59_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e64a92c4ce9b8e08392310fdf5d4d14e.jpg","text":"TemporaryFile(/tmp/multipartBody7453911628205783376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_12_59_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/084ec2d17c466d1456f053559f515cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4290223045774088657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_12_59_15_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/004842a2a010660a32dfb94418605738.jpg","text":"TemporaryFile(/tmp/multipartBody4085029820293054383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313343529,"filename":"image_09122025_13_01_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554902","file1":"1398554900","file0":"1398554898","file4":"1398554904","file5":"1398554906","file3":"1398554903"},"map_files_photo_id_array":[{"photo_id":"1398554906","filename":"file5"},{"photo_id":"1398554902","filename":"file2"},{"photo_id":"1398554904","filename":"file4"},{"photo_id":"1398554900","filename":"file1"},{"photo_id":"1398554898","filename":"file0"},{"photo_id":"1398554903","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554903":["hashtag1","hashtag2"]},{"1398554906":["hashtag1","hashtag2"]},{"1398554900":["hashtag1","hashtag2"]},{"1398554902":["hashtag1","hashtag2"]},{"1398554898":["hashtag1","hashtag2"]},{"1398554904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554903, 1398554906, 1398554900, 1398554902, 1398554898, 1398554904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49875569343567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:48:42.458704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_45_2762.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_47_2584.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_51_3663.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_54_2850.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_57_2690.jpg', '/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_59_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_45_2762.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_47_2584.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_51_3663.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_54_2850.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_57_2690.jpg
/home/pi/Desktop/images/01112025/19/47/image_01112025_19_47_59_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554939","1398554935","1398554931","1398554925","1398554940","1398554942"],"photo_ids_order":["1398554925","1398554931","1398554935","1398554939","1398554940","1398554942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eabd8d74863bcc58052c3cc7bed29381.jpg","text":"TemporaryFile(/tmp/multipartBody7791845823468194025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_54_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6eea9724693ac454aaf36c3ac55e64c1.jpg","text":"TemporaryFile(/tmp/multipartBody3747205125753936820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_51_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9d4fd06da0ad99355cae56945dc12ee.jpg","text":"TemporaryFile(/tmp/multipartBody5493059452841229181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_47_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5bf9b29432408bdb5c7fca864818abf.jpg","text":"TemporaryFile(/tmp/multipartBody3982815392842878800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_45_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3e38131043e77ece4cc0da207708fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3631915584285273860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_57_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb91ae0258a4351ed928ad3866387bc3.jpg","text":"TemporaryFile(/tmp/multipartBody2556804389247145935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313383430,"filename":"image_01112025_19_47_59_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398554935","file1":"1398554931","file0":"1398554925","file4":"1398554940","file5":"1398554942","file3":"1398554939"},"map_files_photo_id_array":[{"photo_id":"1398554942","filename":"file5"},{"photo_id":"1398554935","filename":"file2"},{"photo_id":"1398554940","filename":"file4"},{"photo_id":"1398554931","filename":"file1"},{"photo_id":"1398554925","filename":"file0"},{"photo_id":"1398554939","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398554939":["hashtag1","hashtag2"]},{"1398554935":["hashtag1","hashtag2"]},{"1398554931":["hashtag1","hashtag2"]},{"1398554925":["hashtag1","hashtag2"]},{"1398554940":["hashtag1","hashtag2"]},{"1398554942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398554939, 1398554935, 1398554931, 1398554925, 1398554940, 1398554942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.004136085510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:49:22.684506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_34_9634.jpg', '/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_44_10657.jpg', '/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_54_9768.jpg', '/home/pi/Desktop/images/09122025/13/01/image_09122025_13_02_04_9543.jpg', '/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_14_10674.jpg', '/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_34_9634.jpg
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_44_10657.jpg
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_01_54_9768.jpg
/home/pi/Desktop/images/09122025/13/01/image_09122025_13_02_04_9543.jpg
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_14_10674.jpg
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_24_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398554950","1398555118","1398555078","1398555039","1398555000","1398554960"],"photo_ids_order":["1398554950","1398554960","1398555000","1398555039","1398555078","1398555118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0e13d6f6242a06463f6d682352a2e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4026108155988787062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_01_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f7cbcce80ea294c6ff015b08fa0a757.jpg","text":"TemporaryFile(/tmp/multipartBody8970915025373164452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_02_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5738fff89ee4e73fd3751468bcffd875.jpg","text":"TemporaryFile(/tmp/multipartBody2654195488944962534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_02_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c7068480223539500470aa50411c695b.jpg","text":"TemporaryFile(/tmp/multipartBody2356090142292663314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_02_04_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ade337d5ba1c177a3455833b0690d558.jpg","text":"TemporaryFile(/tmp/multipartBody1046822775182860686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_01_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d6d8fe3663334f3f065e17dccadc99f.jpg","text":"TemporaryFile(/tmp/multipartBody5517474035060458288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313423256,"filename":"image_09122025_13_01_44_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555000","file1":"1398554960","file0":"1398554950","file4":"1398555078","file5":"1398555118","file3":"1398555039"},"map_files_photo_id_array":[{"photo_id":"1398555118","filename":"file5"},{"photo_id":"1398555000","filename":"file2"},{"photo_id":"1398555078","filename":"file4"},{"photo_id":"1398554960","filename":"file1"},{"photo_id":"1398554950","filename":"file0"},{"photo_id":"1398555039","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398554950":["hashtag1","hashtag2"]},{"1398555118":["hashtag1","hashtag2"]},{"1398555078":["hashtag1","hashtag2"]},{"1398555039":["hashtag1","hashtag2"]},{"1398555000":["hashtag1","hashtag2"]},{"1398554960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398554950, 1398555118, 1398555078, 1398555039, 1398555000, 1398554960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509992599487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:50:02.254738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_34_10263.jpg', '/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_44_9693.jpg', '/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_54_9640.jpg', '/home/pi/Desktop/images/09122025/13/02/image_09122025_13_03_04_10540.jpg', '/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_14_9862.jpg', '/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_24_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_34_10263.jpg
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_44_9693.jpg
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_02_54_9640.jpg
/home/pi/Desktop/images/09122025/13/02/image_09122025_13_03_04_10540.jpg
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_14_9862.jpg
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_24_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555250","1398555244","1398555238","1398555246","1398555230","1398555248"],"photo_ids_order":["1398555230","1398555238","1398555244","1398555246","1398555248","1398555250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8a3f4c4eeb1ac204506dd68debef1a7.jpg","text":"TemporaryFile(/tmp/multipartBody282686910973383385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_03_24_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83f8c3758dd99178304f9fd18d293b80.jpg","text":"TemporaryFile(/tmp/multipartBody4016183900778434472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_02_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d977d73a49b17ff754b5bf25b795aaee.jpg","text":"TemporaryFile(/tmp/multipartBody4438586926435327098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_02_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3f4c43f3daf7601407a5d529298d6810.jpg","text":"TemporaryFile(/tmp/multipartBody2913456846037068555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_03_04_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/08149aeb2a372fdfd2244b33dc6212f8.jpg","text":"TemporaryFile(/tmp/multipartBody2229468325621151556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_02_34_10263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d327b3593e69469498271f2763cc7759.jpg","text":"TemporaryFile(/tmp/multipartBody5331358750483561777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313462860,"filename":"image_09122025_13_03_14_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555244","file1":"1398555238","file0":"1398555230","file4":"1398555248","file5":"1398555250","file3":"1398555246"},"map_files_photo_id_array":[{"photo_id":"1398555250","filename":"file5"},{"photo_id":"1398555244","filename":"file2"},{"photo_id":"1398555248","filename":"file4"},{"photo_id":"1398555238","filename":"file1"},{"photo_id":"1398555230","filename":"file0"},{"photo_id":"1398555246","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555250":["hashtag1","hashtag2"]},{"1398555244":["hashtag1","hashtag2"]},{"1398555238":["hashtag1","hashtag2"]},{"1398555246":["hashtag1","hashtag2"]},{"1398555230":["hashtag1","hashtag2"]},{"1398555248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555250, 1398555244, 1398555238, 1398555246, 1398555230, 1398555248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01289391517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:50:41.887742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_03_3692.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_06_2699.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_08_2694.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_12_3634.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_17_2673.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_21_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_03_3692.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_06_2699.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_08_2694.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_12_3634.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_17_2673.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_21_3815.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9057559967041016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:51:02.707642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_34_10754.jpg', '/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_44_9784.jpg', '/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_54_9690.jpg', '/home/pi/Desktop/images/09122025/13/03/image_09122025_13_04_05_10632.jpg', '/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_14_9652.jpg', '/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_24_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_34_10754.jpg
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_44_9784.jpg
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_03_54_9690.jpg
/home/pi/Desktop/images/09122025/13/03/image_09122025_13_04_05_10632.jpg
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_14_9652.jpg
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_24_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555274","1398555268","1398555277","1398555271","1398555273","1398555275"],"photo_ids_order":["1398555268","1398555271","1398555273","1398555274","1398555275","1398555277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76c13041b17ce6ec341f86674b24bebd.jpg","text":"TemporaryFile(/tmp/multipartBody8091985469985025832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_04_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83aac2ae832831ea6a6b71c2a86f09fa.jpg","text":"TemporaryFile(/tmp/multipartBody3181914373710801317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_03_34_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8cb8ce51a3a7997eef7f6a413ee4c41.jpg","text":"TemporaryFile(/tmp/multipartBody5216389507938548496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_04_24_9456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a88f0cd146069642a24cbe0d8b8e563d.jpg","text":"TemporaryFile(/tmp/multipartBody4096489293359477439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_03_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e76e7e2885a4d2c1344f1da52c47f827.jpg","text":"TemporaryFile(/tmp/multipartBody4888644622847379492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_03_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/774c00687fb77557116a4801f2937d04.jpg","text":"TemporaryFile(/tmp/multipartBody5233983296048720362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313523322,"filename":"image_09122025_13_04_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555273","file1":"1398555271","file0":"1398555268","file4":"1398555275","file5":"1398555277","file3":"1398555274"},"map_files_photo_id_array":[{"photo_id":"1398555277","filename":"file5"},{"photo_id":"1398555273","filename":"file2"},{"photo_id":"1398555275","filename":"file4"},{"photo_id":"1398555271","filename":"file1"},{"photo_id":"1398555268","filename":"file0"},{"photo_id":"1398555274","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555274":["hashtag1","hashtag2"]},{"1398555268":["hashtag1","hashtag2"]},{"1398555277":["hashtag1","hashtag2"]},{"1398555271":["hashtag1","hashtag2"]},{"1398555273":["hashtag1","hashtag2"]},{"1398555275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555274, 1398555268, 1398555277, 1398555271, 1398555273, 1398555275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31090331077576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:51:42.054498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_03_3692.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_06_2699.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_08_2694.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_12_3634.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_17_2673.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_21_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_03_3692.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_06_2699.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_08_2694.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_12_3634.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_17_2673.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_21_3815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555289","1398555298","1398555294","1398555293","1398555292","1398555286"],"photo_ids_order":["1398555286","1398555289","1398555292","1398555293","1398555294","1398555298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3091c9d843911b18c812ff80a106b44b.jpg","text":"TemporaryFile(/tmp/multipartBody5647638009698903697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_06_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b561b04be7096940fa0a9a6c199ffa2.jpg","text":"TemporaryFile(/tmp/multipartBody7859078858636359277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_21_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71c78dac16bad6afa7a94a26a8278a5a.jpg","text":"TemporaryFile(/tmp/multipartBody9131343067258997745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_17_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/95337edc60cd9a354133aa912aeb723e.jpg","text":"TemporaryFile(/tmp/multipartBody5428844488741482643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_12_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5801d263f06cbe1a2c0730f37ad2a5e0.jpg","text":"TemporaryFile(/tmp/multipartBody1289235119170893994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_08_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/88a7e31d0ca69ba67001b859e1215cda.jpg","text":"TemporaryFile(/tmp/multipartBody398740070933168266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313562904,"filename":"image_01112025_19_48_03_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555292","file1":"1398555289","file0":"1398555286","file4":"1398555294","file5":"1398555298","file3":"1398555293"},"map_files_photo_id_array":[{"photo_id":"1398555298","filename":"file5"},{"photo_id":"1398555292","filename":"file2"},{"photo_id":"1398555294","filename":"file4"},{"photo_id":"1398555289","filename":"file1"},{"photo_id":"1398555286","filename":"file0"},{"photo_id":"1398555293","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398555289":["hashtag1","hashtag2"]},{"1398555298":["hashtag1","hashtag2"]},{"1398555294":["hashtag1","hashtag2"]},{"1398555293":["hashtag1","hashtag2"]},{"1398555292":["hashtag1","hashtag2"]},{"1398555286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398555289, 1398555298, 1398555294, 1398555293, 1398555292, 1398555286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.352378129959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:52:22.247278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_34_10585.jpg', '/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_44_9667.jpg', '/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_54_10381.jpg', '/home/pi/Desktop/images/09122025/13/04/image_09122025_13_05_04_9801.jpg', '/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_14_9767.jpg', '/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_24_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_34_10585.jpg
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_44_9667.jpg
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_04_54_10381.jpg
/home/pi/Desktop/images/09122025/13/04/image_09122025_13_05_04_9801.jpg
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_14_9767.jpg
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_24_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555321","1398555315","1398555312","1398555311","1398555308","1398555317"],"photo_ids_order":["1398555308","1398555311","1398555312","1398555315","1398555317","1398555321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5359df2940daf27432d47d18fde0e062.jpg","text":"TemporaryFile(/tmp/multipartBody6919291671348516750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_05_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d578f42cab28835a6216d7e18768f53a.jpg","text":"TemporaryFile(/tmp/multipartBody226577808370445815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_05_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98f7a30775bbfedae4f89a3b963d855e.jpg","text":"TemporaryFile(/tmp/multipartBody3326810348954249227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_04_54_10381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1a00e3ab62929ad125383ecb4fda221.jpg","text":"TemporaryFile(/tmp/multipartBody1871740619438338878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_04_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f446b1851aec7830f74017a90ec5035e.jpg","text":"TemporaryFile(/tmp/multipartBody464375731793451321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_04_34_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6618a998aa466b97a5970146236aceb4.jpg","text":"TemporaryFile(/tmp/multipartBody2513913659615243676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313602790,"filename":"image_09122025_13_05_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555312","file1":"1398555311","file0":"1398555308","file4":"1398555317","file5":"1398555321","file3":"1398555315"},"map_files_photo_id_array":[{"photo_id":"1398555321","filename":"file5"},{"photo_id":"1398555312","filename":"file2"},{"photo_id":"1398555317","filename":"file4"},{"photo_id":"1398555311","filename":"file1"},{"photo_id":"1398555308","filename":"file0"},{"photo_id":"1398555315","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555321":["hashtag1","hashtag2"]},{"1398555315":["hashtag1","hashtag2"]},{"1398555312":["hashtag1","hashtag2"]},{"1398555311":["hashtag1","hashtag2"]},{"1398555308":["hashtag1","hashtag2"]},{"1398555317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555321, 1398555315, 1398555312, 1398555311, 1398555308, 1398555317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02160358428955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:53:03.173060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_34_10300.jpg', '/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_44_10459.jpg', '/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_54_9606.jpg', '/home/pi/Desktop/images/09122025/13/05/image_09122025_13_06_04_10335.jpg', '/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_14_9463.jpg', '/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_24_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_34_10300.jpg
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_44_10459.jpg
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_05_54_9606.jpg
/home/pi/Desktop/images/09122025/13/05/image_09122025_13_06_04_10335.jpg
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_14_9463.jpg
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_24_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555334","1398555342","1398555336","1398555339","1398555330","1398555332"],"photo_ids_order":["1398555330","1398555332","1398555334","1398555336","1398555339","1398555342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d8748a63f3ab6579e5e434f38e340e9.jpg","text":"TemporaryFile(/tmp/multipartBody5301571386565420803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_05_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ae2e9696358eb79a80d52921ab0df0c.jpg","text":"TemporaryFile(/tmp/multipartBody3071634512554238786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_06_24_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d8befea2cb4d0e93e1384faab6a2020d.jpg","text":"TemporaryFile(/tmp/multipartBody8115007695805471776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_06_04_10335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2946b34883413fac9cb2233476c436f4.jpg","text":"TemporaryFile(/tmp/multipartBody4412646196079497070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_06_14_9463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20fabd8145365a65563233ccd06bdf9e.jpg","text":"TemporaryFile(/tmp/multipartBody8014715341357100837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_05_34_10300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/986abd9a9a23f39f89a2bf9a7a346704.jpg","text":"TemporaryFile(/tmp/multipartBody9169801441654468484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313643778,"filename":"image_09122025_13_05_44_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555334","file1":"1398555332","file0":"1398555330","file4":"1398555339","file5":"1398555342","file3":"1398555336"},"map_files_photo_id_array":[{"photo_id":"1398555342","filename":"file5"},{"photo_id":"1398555334","filename":"file2"},{"photo_id":"1398555339","filename":"file4"},{"photo_id":"1398555332","filename":"file1"},{"photo_id":"1398555330","filename":"file0"},{"photo_id":"1398555336","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555334":["hashtag1","hashtag2"]},{"1398555342":["hashtag1","hashtag2"]},{"1398555336":["hashtag1","hashtag2"]},{"1398555339":["hashtag1","hashtag2"]},{"1398555330":["hashtag1","hashtag2"]},{"1398555332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555334, 1398555342, 1398555336, 1398555339, 1398555330, 1398555332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3114230632782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:53:42.340601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_26_2593.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_30_3619.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_32_2523.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_35_2650.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_39_3647.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_42_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_26_2593.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_30_3619.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_32_2523.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_35_2650.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_39_3647.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_42_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555361","1398555355","1398555352","1398555348","1398555357","1398555359"],"photo_ids_order":["1398555348","1398555352","1398555355","1398555357","1398555359","1398555361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6304afdfae321c0a30acd69ea3708b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4428991712292511657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_42_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/159f7b88b8a3832cbc6d75e48eb05a05.jpg","text":"TemporaryFile(/tmp/multipartBody7581453365790190322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_32_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1cdf5429e6f5a7415056ef39bf2c7bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1781689738024072780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_30_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a408ce6ea6d7be08d2eb62e5c1f094a.jpg","text":"TemporaryFile(/tmp/multipartBody5576713608878743371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_26_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3be6456b0133a9fbb658ef97abfaebe.jpg","text":"TemporaryFile(/tmp/multipartBody1834669402348969756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_35_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4b32aa4e47c9b9ebd58f2b0e7a4dc42a.jpg","text":"TemporaryFile(/tmp/multipartBody26954574393115217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313683328,"filename":"image_01112025_19_48_39_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555355","file1":"1398555352","file0":"1398555348","file4":"1398555359","file5":"1398555361","file3":"1398555357"},"map_files_photo_id_array":[{"photo_id":"1398555361","filename":"file5"},{"photo_id":"1398555355","filename":"file2"},{"photo_id":"1398555359","filename":"file4"},{"photo_id":"1398555352","filename":"file1"},{"photo_id":"1398555348","filename":"file0"},{"photo_id":"1398555357","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398555361":["hashtag1","hashtag2"]},{"1398555355":["hashtag1","hashtag2"]},{"1398555352":["hashtag1","hashtag2"]},{"1398555348":["hashtag1","hashtag2"]},{"1398555357":["hashtag1","hashtag2"]},{"1398555359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398555361, 1398555355, 1398555352, 1398555348, 1398555357, 1398555359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8319878578186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 21:54:22.620502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_34_10041.jpg', '/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_44_9809.jpg', '/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_54_10527.jpg', '/home/pi/Desktop/images/09122025/13/06/image_09122025_13_07_04_9526.jpg', '/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_15_10663.jpg', '/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_25_10026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_34_10041.jpg
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_44_9809.jpg
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_06_54_10527.jpg
/home/pi/Desktop/images/09122025/13/06/image_09122025_13_07_04_9526.jpg
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_15_10663.jpg
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_25_10026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555373","1398555376","1398555381","1398555369","1398555385","1398555379"],"photo_ids_order":["1398555369","1398555373","1398555376","1398555379","1398555381","1398555385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acc1eebfc14d0e3dcf994fc0e05919a8.jpg","text":"TemporaryFile(/tmp/multipartBody2342329517785948237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_06_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9686cc08c3c879d4d7ec0b8ad3fee132.jpg","text":"TemporaryFile(/tmp/multipartBody5519674738858473427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_06_54_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3abd075600707955629974f3d2bee789.jpg","text":"TemporaryFile(/tmp/multipartBody3959651575729060640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_07_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2c7aa5fe4a59ebec725470fc4c239de2.jpg","text":"TemporaryFile(/tmp/multipartBody2425361103004969260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_06_34_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee0c8cd99474eade76168fc0ff7f8f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3629820409881558916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_07_25_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d635dd8fa10a1d82468a7ce871198ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4656712879007741435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313723193,"filename":"image_09122025_13_07_04_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555376","file1":"1398555373","file0":"1398555369","file4":"1398555381","file5":"1398555385","file3":"1398555379"},"map_files_photo_id_array":[{"photo_id":"1398555385","filename":"file5"},{"photo_id":"1398555376","filename":"file2"},{"photo_id":"1398555381","filename":"file4"},{"photo_id":"1398555373","filename":"file1"},{"photo_id":"1398555369","filename":"file0"},{"photo_id":"1398555379","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555373":["hashtag1","hashtag2"]},{"1398555376":["hashtag1","hashtag2"]},{"1398555381":["hashtag1","hashtag2"]},{"1398555369":["hashtag1","hashtag2"]},{"1398555385":["hashtag1","hashtag2"]},{"1398555379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555373, 1398555376, 1398555381, 1398555369, 1398555385, 1398555379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87105751037598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:55:02.606280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_34_9890.jpg', '/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_44_9711.jpg', '/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_54_10097.jpg', '/home/pi/Desktop/images/09122025/13/07/image_09122025_13_08_04_9656.jpg', '/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_24_9616.jpg', '/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_34_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_34_9890.jpg
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_44_9711.jpg
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_07_54_10097.jpg
/home/pi/Desktop/images/09122025/13/07/image_09122025_13_08_04_9656.jpg
/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_24_9616.jpg
/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_34_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555404","1398555402","1398555395","1398555389","1398555398","1398555391"],"photo_ids_order":["1398555389","1398555391","1398555395","1398555398","1398555402","1398555404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8cea523970acb7c7ce8d2f3fc435a9c4.jpg","text":"TemporaryFile(/tmp/multipartBody204171616867794109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_08_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/754eeac176c28bba1547e143601b24ab.jpg","text":"TemporaryFile(/tmp/multipartBody7690202838947832052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_08_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcca7540a3c6f58b464eb74f7f3398bb.jpg","text":"TemporaryFile(/tmp/multipartBody7678401391007439560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_07_54_10097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e70e5948819c43a55d7c38aa5a9809a3.jpg","text":"TemporaryFile(/tmp/multipartBody7131927710594863970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_07_34_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9061e51134581f666e913ee2268c3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3566530785613207006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_08_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b1b0264bf1f7b94ec0b564e1b09ffa6a.jpg","text":"TemporaryFile(/tmp/multipartBody6251802608355157093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313763209,"filename":"image_09122025_13_07_44_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555395","file1":"1398555391","file0":"1398555389","file4":"1398555402","file5":"1398555404","file3":"1398555398"},"map_files_photo_id_array":[{"photo_id":"1398555404","filename":"file5"},{"photo_id":"1398555395","filename":"file2"},{"photo_id":"1398555402","filename":"file4"},{"photo_id":"1398555391","filename":"file1"},{"photo_id":"1398555389","filename":"file0"},{"photo_id":"1398555398","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555404":["hashtag1","hashtag2"]},{"1398555402":["hashtag1","hashtag2"]},{"1398555395":["hashtag1","hashtag2"]},{"1398555389":["hashtag1","hashtag2"]},{"1398555398":["hashtag1","hashtag2"]},{"1398555391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555404, 1398555402, 1398555395, 1398555389, 1398555398, 1398555391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63837218284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:56:02.509348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_44_10593.jpg', '/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_54_9614.jpg', '/home/pi/Desktop/images/09122025/13/08/image_09122025_13_09_05_10532.jpg', '/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_14_9710.jpg', '/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_24_9562.jpg', '/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_34_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_44_10593.jpg
/home/pi/Desktop/images/09122025/13/08/image_09122025_13_08_54_9614.jpg
/home/pi/Desktop/images/09122025/13/08/image_09122025_13_09_05_10532.jpg
/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_14_9710.jpg
/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_24_9562.jpg
/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_34_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555448","1398555451","1398555459","1398555453","1398555455","1398555452"],"photo_ids_order":["1398555448","1398555451","1398555452","1398555453","1398555455","1398555459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd6f84b65154dd402ede8d5e9dedeb5f.jpg","text":"TemporaryFile(/tmp/multipartBody8217908663011851970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_08_44_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a454153c4e67b94cf66bdaf3b144250b.jpg","text":"TemporaryFile(/tmp/multipartBody6766159104586690696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_08_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4be5a26c9ea8e670e970f6ec243e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody8551876021356247306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_09_34_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/77184e2f5864605ebcc005139b828665.jpg","text":"TemporaryFile(/tmp/multipartBody3023007062290612591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_09_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ba60fb2bd551f581033238847c10785.jpg","text":"TemporaryFile(/tmp/multipartBody4802651052015632817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_09_24_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87dfa8afbadaf93733215c3d79bc0603.jpg","text":"TemporaryFile(/tmp/multipartBody4582525672132284516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313823093,"filename":"image_09122025_13_09_05_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555452","file1":"1398555451","file0":"1398555448","file4":"1398555455","file5":"1398555459","file3":"1398555453"},"map_files_photo_id_array":[{"photo_id":"1398555459","filename":"file5"},{"photo_id":"1398555452","filename":"file2"},{"photo_id":"1398555455","filename":"file4"},{"photo_id":"1398555451","filename":"file1"},{"photo_id":"1398555448","filename":"file0"},{"photo_id":"1398555453","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555448":["hashtag1","hashtag2"]},{"1398555451":["hashtag1","hashtag2"]},{"1398555459":["hashtag1","hashtag2"]},{"1398555453":["hashtag1","hashtag2"]},{"1398555455":["hashtag1","hashtag2"]},{"1398555452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555448, 1398555451, 1398555459, 1398555453, 1398555455, 1398555452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41071963310242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 21:56:42.010770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_44_2723.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_51_2892.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_53_2566.jpg', '/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_59_2601.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_02_2793.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_08_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_44_2723.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_51_2892.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_53_2566.jpg
/home/pi/Desktop/images/01112025/19/48/image_01112025_19_48_59_2601.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_02_2793.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_08_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1398555559","1398555472","1398555469","1398555508","1398555470","1398555467"],"photo_ids_order":["1398555467","1398555469","1398555470","1398555472","1398555508","1398555559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf85a3c1ecdfbb93fc8745a82617b7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3248590413425505562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_49_08_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57cce392fb879309da3c382b51e8c519.jpg","text":"TemporaryFile(/tmp/multipartBody7543377235529277232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_48_59_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e1c7d6deda9d107933dfdff1b425fe66.jpg","text":"TemporaryFile(/tmp/multipartBody3168516518268609765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_48_51_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad151424f28eaab323d3f345b2196264.jpg","text":"TemporaryFile(/tmp/multipartBody5346646082332003274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_49_02_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b9a81234df85a836de4579791624cf7.jpg","text":"TemporaryFile(/tmp/multipartBody753011363084203757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_48_53_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0679b1d85ab9378919dbe06d978878d3.jpg","text":"TemporaryFile(/tmp/multipartBody4624037774723965135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313862989,"filename":"image_01112025_19_48_44_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555470","file1":"1398555469","file0":"1398555467","file4":"1398555508","file5":"1398555559","file3":"1398555472"},"map_files_photo_id_array":[{"photo_id":"1398555559","filename":"file5"},{"photo_id":"1398555470","filename":"file2"},{"photo_id":"1398555508","filename":"file4"},{"photo_id":"1398555469","filename":"file1"},{"photo_id":"1398555467","filename":"file0"},{"photo_id":"1398555472","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398555559":["hashtag1","hashtag2"]},{"1398555472":["hashtag1","hashtag2"]},{"1398555469":["hashtag1","hashtag2"]},{"1398555508":["hashtag1","hashtag2"]},{"1398555470":["hashtag1","hashtag2"]},{"1398555467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398555559, 1398555472, 1398555469, 1398555508, 1398555470, 1398555467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.26567006111145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 21:57:32.282161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/57/image_08122025_13_58_05_10582.jpg', '/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_15_9568.jpg', '/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_25_10172.jpg', '/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_34_9625.jpg', '/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_45_10603.jpg', '/home/pi/Desktop/images/08122025/13/58/image_08122025_13_59_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/57/image_08122025_13_58_05_10582.jpg
/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_15_9568.jpg
/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_25_10172.jpg
/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_34_9625.jpg
/home/pi/Desktop/images/08122025/13/58/image_08122025_13_58_45_10603.jpg
/home/pi/Desktop/images/08122025/13/58/image_08122025_13_59_04_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555673","1398555726","1398555729","1398555717","1398555722","1398555682"],"photo_ids_order":["1398555673","1398555682","1398555717","1398555722","1398555726","1398555729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35a88ea94eea32a72d137b4646388bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3824675014853325751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_58_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b289b8d1fffb8d99b3698d755bd5076f.jpg","text":"TemporaryFile(/tmp/multipartBody2339160864606324322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_58_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c5c0c7afca3d69912ad91d17a78ef9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2923478916900524962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_59_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8dbfd4cd375a8a5c0f86b460b8837f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4357909346600170715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_58_25_10172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/953eca8cdac3c159b9c0f603acf11300.jpg","text":"TemporaryFile(/tmp/multipartBody2438502524781498863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_58_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed194767ad43f048092cfcb290ae79e6.jpg","text":"TemporaryFile(/tmp/multipartBody1451435765515546954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765313914152,"filename":"image_08122025_13_58_15_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555717","file1":"1398555682","file0":"1398555673","file4":"1398555726","file5":"1398555729","file3":"1398555722"},"map_files_photo_id_array":[{"photo_id":"1398555729","filename":"file5"},{"photo_id":"1398555717","filename":"file2"},{"photo_id":"1398555726","filename":"file4"},{"photo_id":"1398555682","filename":"file1"},{"photo_id":"1398555673","filename":"file0"},{"photo_id":"1398555722","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398555673":["hashtag1","hashtag2"]},{"1398555726":["hashtag1","hashtag2"]},{"1398555729":["hashtag1","hashtag2"]},{"1398555717":["hashtag1","hashtag2"]},{"1398555722":["hashtag1","hashtag2"]},{"1398555682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398555673, 1398555726, 1398555729, 1398555717, 1398555722, 1398555682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.452895402908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 21:59:03.418540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_44_9144.jpg', '/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_58_14394.jpg', '/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_04_5599.jpg', '/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_24_10067.jpg', '/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_34_10005.jpg', '/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_44_10236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_44_9144.jpg
/home/pi/Desktop/images/09122025/13/09/image_09122025_13_09_58_14394.jpg
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_04_5599.jpg
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_24_10067.jpg
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_34_10005.jpg
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_10_44_10236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555850","1398555867","1398555861","1398555855","1398555858","1398555863"],"photo_ids_order":["1398555850","1398555855","1398555858","1398555861","1398555863","1398555867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a45dc36517a67e316aa4d08b308663db.jpg","text":"TemporaryFile(/tmp/multipartBody8087630515359900161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_09_44_9144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf42f121d5ae4430211f529d5f24a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody71727501987703911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_10_44_10236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc22530bcbd2fa094b3df82179079e13.jpg","text":"TemporaryFile(/tmp/multipartBody4381724921367199547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_10_24_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2130e4a677bd6874067916aef45408c2.jpg","text":"TemporaryFile(/tmp/multipartBody9143076416728338859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_09_58_14394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ed8ff4cc8f6eb9d2a6cb176b9cc3893.jpg","text":"TemporaryFile(/tmp/multipartBody6178285624857643780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_10_04_5599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/167ad90696f2ceecb72459ce9f036e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3799338404826084166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314004113,"filename":"image_09122025_13_10_34_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555858","file1":"1398555855","file0":"1398555850","file4":"1398555863","file5":"1398555867","file3":"1398555861"},"map_files_photo_id_array":[{"photo_id":"1398555867","filename":"file5"},{"photo_id":"1398555858","filename":"file2"},{"photo_id":"1398555863","filename":"file4"},{"photo_id":"1398555855","filename":"file1"},{"photo_id":"1398555850","filename":"file0"},{"photo_id":"1398555861","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555850":["hashtag1","hashtag2"]},{"1398555867":["hashtag1","hashtag2"]},{"1398555861":["hashtag1","hashtag2"]},{"1398555855":["hashtag1","hashtag2"]},{"1398555858":["hashtag1","hashtag2"]},{"1398555863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555850, 1398555867, 1398555861, 1398555855, 1398555858, 1398555863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30564045906067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:00:02.259704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/10/image_09122025_13_11_04_10561.jpg', '/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_34_9288.jpg', '/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_44_10346.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_05_11030.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_14_9006.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_24_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_11_04_10561.jpg
/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_34_9288.jpg
/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_44_10346.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_05_11030.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_14_9006.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_24_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48444581031799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:00:13.082376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_15_10547.jpg', '/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_24_9735.jpg', '/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_35_10580.jpg', '/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_44_9533.jpg', '/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_14_10059.jpg', '/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_25_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_15_10547.jpg
/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_24_9735.jpg
/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_35_10580.jpg
/home/pi/Desktop/images/08122025/13/59/image_08122025_13_59_44_9533.jpg
/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_14_10059.jpg
/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_25_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555894","1398555888","1398555896","1398555890","1398555884","1398555892"],"photo_ids_order":["1398555884","1398555888","1398555890","1398555892","1398555894","1398555896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed6e096b2c36b3d3761a68c78f3b59bf.jpg","text":"TemporaryFile(/tmp/multipartBody1453661215088616413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_14_00_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7da901e754083c8130dcaee60d877396.jpg","text":"TemporaryFile(/tmp/multipartBody2317209338229890518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_13_59_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3926c1bb88795498f5f9daf771fbeba.jpg","text":"TemporaryFile(/tmp/multipartBody6419229052745774273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_14_00_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f982c43ca20ad96b34c0a6563ca9fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6947404680519593319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_13_59_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7508fc3378520d2a74d3992cd289caba.jpg","text":"TemporaryFile(/tmp/multipartBody2030799478314856983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_13_59_15_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/717ccbac8cb00cf8d0284c4db8a14e21.jpg","text":"TemporaryFile(/tmp/multipartBody1676756164015957272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314075015,"filename":"image_08122025_13_59_44_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555890","file1":"1398555888","file0":"1398555884","file4":"1398555894","file5":"1398555896","file3":"1398555892"},"map_files_photo_id_array":[{"photo_id":"1398555896","filename":"file5"},{"photo_id":"1398555890","filename":"file2"},{"photo_id":"1398555894","filename":"file4"},{"photo_id":"1398555888","filename":"file1"},{"photo_id":"1398555884","filename":"file0"},{"photo_id":"1398555892","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398555894":["hashtag1","hashtag2"]},{"1398555888":["hashtag1","hashtag2"]},{"1398555896":["hashtag1","hashtag2"]},{"1398555890":["hashtag1","hashtag2"]},{"1398555884":["hashtag1","hashtag2"]},{"1398555892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398555894, 1398555888, 1398555896, 1398555890, 1398555884, 1398555892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.511189460754395 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:01:13.223774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_45_10586.jpg', '/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_55_9835.jpg', '/home/pi/Desktop/images/08122025/14/00/image_08122025_14_01_05_9639.jpg', '/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_15_10586.jpg', '/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_25_9578.jpg', '/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_45_10586.jpg
/home/pi/Desktop/images/08122025/14/00/image_08122025_14_00_55_9835.jpg
/home/pi/Desktop/images/08122025/14/00/image_08122025_14_01_05_9639.jpg
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_15_10586.jpg
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_25_9578.jpg
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_34_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555913","1398555922","1398555915","1398555909","1398555917","1398555911"],"photo_ids_order":["1398555909","1398555911","1398555913","1398555915","1398555917","1398555922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8aa639798ad468baf4b47fb5a48df3c7.jpg","text":"TemporaryFile(/tmp/multipartBody841180037515225622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_01_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e60e78f92a25ec470cd5cf63cb9bde4d.jpg","text":"TemporaryFile(/tmp/multipartBody2557844753407405479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_01_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bc8ddc2ff385eb0674197241abf693c.jpg","text":"TemporaryFile(/tmp/multipartBody3003958323120641925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_01_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de91bf16cfac51a56513c574f1c9e4e6.jpg","text":"TemporaryFile(/tmp/multipartBody1951218044534269741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_00_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49b9a1827f61ab14a4cdaa5f6f4c5e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5305589019063755960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_01_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5da6ae13c90eb1eca2a77a369a5a36d.jpg","text":"TemporaryFile(/tmp/multipartBody888917877033173132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314134990,"filename":"image_08122025_14_00_55_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555913","file1":"1398555911","file0":"1398555909","file4":"1398555917","file5":"1398555922","file3":"1398555915"},"map_files_photo_id_array":[{"photo_id":"1398555922","filename":"file5"},{"photo_id":"1398555913","filename":"file2"},{"photo_id":"1398555917","filename":"file4"},{"photo_id":"1398555911","filename":"file1"},{"photo_id":"1398555909","filename":"file0"},{"photo_id":"1398555915","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398555913":["hashtag1","hashtag2"]},{"1398555922":["hashtag1","hashtag2"]},{"1398555915":["hashtag1","hashtag2"]},{"1398555909":["hashtag1","hashtag2"]},{"1398555917":["hashtag1","hashtag2"]},{"1398555911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398555913, 1398555922, 1398555915, 1398555909, 1398555917, 1398555911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88991713523865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:02:02.901330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/10/image_09122025_13_11_04_10561.jpg', '/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_34_9288.jpg', '/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_44_10346.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_05_11030.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_14_9006.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_24_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/10/image_09122025_13_11_04_10561.jpg
/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_34_9288.jpg
/home/pi/Desktop/images/09122025/13/11/image_09122025_13_11_44_10346.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_05_11030.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_14_9006.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_24_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555943","1398555940","1398555936","1398555945","1398555947","1398555938"],"photo_ids_order":["1398555936","1398555938","1398555940","1398555943","1398555945","1398555947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/853ff6effe11ff4d9bed43ce401ebba7.jpg","text":"TemporaryFile(/tmp/multipartBody6816019541490505336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_12_05_11030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/93f33e796f3beef16b28019e95ccd270.jpg","text":"TemporaryFile(/tmp/multipartBody7255864251862910154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_11_44_10346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/56f422427a2c1e512ae05b1572ac508a.jpg","text":"TemporaryFile(/tmp/multipartBody6650383020470792479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_11_04_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b24acd38d0f93d17d2453e4e5076b607.jpg","text":"TemporaryFile(/tmp/multipartBody6697824041824434367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_12_14_9006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7937d92ef8a67b75272070436448444.jpg","text":"TemporaryFile(/tmp/multipartBody3083646317601973023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_12_24_9360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f3db7b6b51328619db1b157558c88df.jpg","text":"TemporaryFile(/tmp/multipartBody5449027171233665406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314183544,"filename":"image_09122025_13_11_34_9288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555940","file1":"1398555938","file0":"1398555936","file4":"1398555945","file5":"1398555947","file3":"1398555943"},"map_files_photo_id_array":[{"photo_id":"1398555947","filename":"file5"},{"photo_id":"1398555940","filename":"file2"},{"photo_id":"1398555945","filename":"file4"},{"photo_id":"1398555938","filename":"file1"},{"photo_id":"1398555936","filename":"file0"},{"photo_id":"1398555943","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398555943":["hashtag1","hashtag2"]},{"1398555940":["hashtag1","hashtag2"]},{"1398555936":["hashtag1","hashtag2"]},{"1398555945":["hashtag1","hashtag2"]},{"1398555947":["hashtag1","hashtag2"]},{"1398555938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398555943, 1398555940, 1398555936, 1398555945, 1398555947, 1398555938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.471529960632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:02:42.514966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_15_3620.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_17_2767.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_24_3888.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_27_2700.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_29_2564.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_33_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_15_3620.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_17_2767.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_24_3888.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_27_2700.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_29_2564.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_33_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398555970","1398555963","1398555957","1398555965","1398555953","1398555967"],"photo_ids_order":["1398555953","1398555957","1398555963","1398555965","1398555967","1398555970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/603c44f7e7cca84d0af17b0ee89959dd.jpg","text":"TemporaryFile(/tmp/multipartBody1957248229714030139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_33_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53f5d7d2f6fb89fff5624758c1f5ad60.jpg","text":"TemporaryFile(/tmp/multipartBody4027201411267936562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_24_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fc867f6f32c619b05010a6feedacae0.jpg","text":"TemporaryFile(/tmp/multipartBody7365816337237408781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_17_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a49daf2fb72b8553562a0ecc1082d53a.jpg","text":"TemporaryFile(/tmp/multipartBody5486120094477779542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_27_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec8c777ee3fea0a589d3d29e92456e52.jpg","text":"TemporaryFile(/tmp/multipartBody2571415606557026598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_15_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df86bb5217a8ee0e59171904a119c602.jpg","text":"TemporaryFile(/tmp/multipartBody3230023811956999889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314223486,"filename":"image_01112025_19_49_29_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398555963","file1":"1398555957","file0":"1398555953","file4":"1398555967","file5":"1398555970","file3":"1398555965"},"map_files_photo_id_array":[{"photo_id":"1398555970","filename":"file5"},{"photo_id":"1398555963","filename":"file2"},{"photo_id":"1398555967","filename":"file4"},{"photo_id":"1398555957","filename":"file1"},{"photo_id":"1398555953","filename":"file0"},{"photo_id":"1398555965","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398555970":["hashtag1","hashtag2"]},{"1398555963":["hashtag1","hashtag2"]},{"1398555957":["hashtag1","hashtag2"]},{"1398555965":["hashtag1","hashtag2"]},{"1398555953":["hashtag1","hashtag2"]},{"1398555967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398555970, 1398555963, 1398555957, 1398555965, 1398555953, 1398555967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99879860877991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:03:22.781572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_34_9906.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_44_10575.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_54_9533.jpg', '/home/pi/Desktop/images/09122025/13/12/image_09122025_13_13_05_10710.jpg', '/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_14_9711.jpg', '/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_35_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_34_9906.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_44_10575.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_12_54_9533.jpg
/home/pi/Desktop/images/09122025/13/12/image_09122025_13_13_05_10710.jpg
/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_14_9711.jpg
/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_35_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556051","1398556098","1398556088","1398556043","1398556046","1398556048"],"photo_ids_order":["1398556043","1398556046","1398556048","1398556051","1398556088","1398556098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7ee230fa586a1bf699fab1763b08161d.jpg","text":"TemporaryFile(/tmp/multipartBody568377803808590906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_13_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d33f68f57d8cbb0d1730101be0f6d13.jpg","text":"TemporaryFile(/tmp/multipartBody842638691136044472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_13_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/130d1a932d43e30791aabf30797572d1.jpg","text":"TemporaryFile(/tmp/multipartBody8583489034076398078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_13_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfb8bf39efbd64e281b62b5dc428c4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7990376708953560507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_12_34_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/718c6ae7a4d639d51c18759414032ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2744364277160981097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_12_44_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57f5a105618560f0025993279b3041b2.jpg","text":"TemporaryFile(/tmp/multipartBody3792741165769356335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314263369,"filename":"image_09122025_13_12_54_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556048","file1":"1398556046","file0":"1398556043","file4":"1398556088","file5":"1398556098","file3":"1398556051"},"map_files_photo_id_array":[{"photo_id":"1398556098","filename":"file5"},{"photo_id":"1398556048","filename":"file2"},{"photo_id":"1398556088","filename":"file4"},{"photo_id":"1398556046","filename":"file1"},{"photo_id":"1398556043","filename":"file0"},{"photo_id":"1398556051","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556051":["hashtag1","hashtag2"]},{"1398556098":["hashtag1","hashtag2"]},{"1398556088":["hashtag1","hashtag2"]},{"1398556043":["hashtag1","hashtag2"]},{"1398556046":["hashtag1","hashtag2"]},{"1398556048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556051, 1398556098, 1398556088, 1398556043, 1398556046, 1398556048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39619565010071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:04:02.710384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_44_9599.jpg', '/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_54_9701.jpg', '/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_24_9588.jpg', '/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_34_9653.jpg', '/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_44_10657.jpg', '/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_54_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_44_9599.jpg
/home/pi/Desktop/images/09122025/13/13/image_09122025_13_13_54_9701.jpg
/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_24_9588.jpg
/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_34_9653.jpg
/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_44_10657.jpg
/home/pi/Desktop/images/09122025/13/14/image_09122025_13_14_54_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556134","1398556143","1398556139","1398556133","1398556136","1398556135"],"photo_ids_order":["1398556133","1398556134","1398556135","1398556136","1398556139","1398556143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dac9287ff07a07cb4e9be7edb126f122.jpg","text":"TemporaryFile(/tmp/multipartBody5840081718241361640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_13_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5bf17c025d60d233c6283837b2d0930e.jpg","text":"TemporaryFile(/tmp/multipartBody9012615010307310428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_14_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/efb85db29433cdc71f9cf9df4d8db51f.jpg","text":"TemporaryFile(/tmp/multipartBody2702082254470459336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_14_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45a39fe91baadc24095b92892f8a4887.jpg","text":"TemporaryFile(/tmp/multipartBody5914144533510564909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_13_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/75073abc2cce9caf8af8f46e1e9a06ca.jpg","text":"TemporaryFile(/tmp/multipartBody1864814524206214332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_14_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e0d49b301c5d0a9b0381c54cc68badc.jpg","text":"TemporaryFile(/tmp/multipartBody26419992068963086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314303332,"filename":"image_09122025_13_14_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556135","file1":"1398556134","file0":"1398556133","file4":"1398556139","file5":"1398556143","file3":"1398556136"},"map_files_photo_id_array":[{"photo_id":"1398556143","filename":"file5"},{"photo_id":"1398556135","filename":"file2"},{"photo_id":"1398556139","filename":"file4"},{"photo_id":"1398556134","filename":"file1"},{"photo_id":"1398556133","filename":"file0"},{"photo_id":"1398556136","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556134":["hashtag1","hashtag2"]},{"1398556143":["hashtag1","hashtag2"]},{"1398556139":["hashtag1","hashtag2"]},{"1398556133":["hashtag1","hashtag2"]},{"1398556136":["hashtag1","hashtag2"]},{"1398556135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556134, 1398556143, 1398556139, 1398556133, 1398556136, 1398556135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27624225616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:04:41.971916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_36_2887.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_41_2695.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_45_3660.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_51_2749.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_54_2860.jpg', '/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_56_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_36_2887.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_41_2695.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_45_3660.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_51_2749.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_54_2860.jpg
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_56_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556159","1398556169","1398556160","1398556163","1398556166","1398556162"],"photo_ids_order":["1398556159","1398556160","1398556162","1398556163","1398556166","1398556169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/506ecd5c6ee0ebdb64db0bbee2d1f4e8.jpg","text":"TemporaryFile(/tmp/multipartBody2251442924479633429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_36_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9924e56a5a5871341da14a73234f459d.jpg","text":"TemporaryFile(/tmp/multipartBody3608794166243571062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_56_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02a17702c25c8f55daf31c4757f56a84.jpg","text":"TemporaryFile(/tmp/multipartBody5753644223729628157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_41_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b1a8d0aae0bd84c9a6ac4a79705cb49.jpg","text":"TemporaryFile(/tmp/multipartBody541556754935087743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_51_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fd1a85cc54c4692494b43620a48a9bf.jpg","text":"TemporaryFile(/tmp/multipartBody5128989737346716157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_54_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f1a7d2f0c7f32850afe7d8fd01b6bcde.jpg","text":"TemporaryFile(/tmp/multipartBody6276659506660361872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314342950,"filename":"image_01112025_19_49_45_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556162","file1":"1398556160","file0":"1398556159","file4":"1398556166","file5":"1398556169","file3":"1398556163"},"map_files_photo_id_array":[{"photo_id":"1398556169","filename":"file5"},{"photo_id":"1398556162","filename":"file2"},{"photo_id":"1398556166","filename":"file4"},{"photo_id":"1398556160","filename":"file1"},{"photo_id":"1398556159","filename":"file0"},{"photo_id":"1398556163","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556159":["hashtag1","hashtag2"]},{"1398556169":["hashtag1","hashtag2"]},{"1398556160":["hashtag1","hashtag2"]},{"1398556163":["hashtag1","hashtag2"]},{"1398556166":["hashtag1","hashtag2"]},{"1398556162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556159, 1398556169, 1398556160, 1398556163, 1398556166, 1398556162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87102293968201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:05:22.291087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/14/image_09122025_13_15_04_9775.jpg', '/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_14_9848.jpg', '/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_24_10807.jpg', '/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_44_9694.jpg', '/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_54_10626.jpg', '/home/pi/Desktop/images/09122025/13/15/image_09122025_13_16_04_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/14/image_09122025_13_15_04_9775.jpg
/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_14_9848.jpg
/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_24_10807.jpg
/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_44_9694.jpg
/home/pi/Desktop/images/09122025/13/15/image_09122025_13_15_54_10626.jpg
/home/pi/Desktop/images/09122025/13/15/image_09122025_13_16_04_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556176","1398556188","1398556181","1398556178","1398556183","1398556180"],"photo_ids_order":["1398556176","1398556178","1398556180","1398556181","1398556183","1398556188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c08be5da12371238546cddd65f5c52cc.jpg","text":"TemporaryFile(/tmp/multipartBody9079377616208059068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_15_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8118b69c9366d1d51f732ebf24419f90.jpg","text":"TemporaryFile(/tmp/multipartBody1123217421101024493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_16_04_10201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5331b00b5a65311b721a82f817d819e5.jpg","text":"TemporaryFile(/tmp/multipartBody8701689224862742306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_15_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9950b35e9a2cd81889fc85ac52b91264.jpg","text":"TemporaryFile(/tmp/multipartBody2020621130783302174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_15_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66923a35e37ab8dfe941d25c57d823a8.jpg","text":"TemporaryFile(/tmp/multipartBody1537861313432834580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_15_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01e33b48f4ae086f561310a2d29011be.jpg","text":"TemporaryFile(/tmp/multipartBody5953111245669375784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314382850,"filename":"image_09122025_13_15_24_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556180","file1":"1398556178","file0":"1398556176","file4":"1398556183","file5":"1398556188","file3":"1398556181"},"map_files_photo_id_array":[{"photo_id":"1398556188","filename":"file5"},{"photo_id":"1398556180","filename":"file2"},{"photo_id":"1398556183","filename":"file4"},{"photo_id":"1398556178","filename":"file1"},{"photo_id":"1398556176","filename":"file0"},{"photo_id":"1398556181","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556176":["hashtag1","hashtag2"]},{"1398556188":["hashtag1","hashtag2"]},{"1398556181":["hashtag1","hashtag2"]},{"1398556178":["hashtag1","hashtag2"]},{"1398556183":["hashtag1","hashtag2"]},{"1398556180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556176, 1398556188, 1398556181, 1398556178, 1398556183, 1398556180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41825723648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:06:02.880704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_14_9573.jpg', '/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_24_9634.jpg', '/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_34_10722.jpg', '/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_44_9688.jpg', '/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_54_9784.jpg', '/home/pi/Desktop/images/09122025/13/16/image_09122025_13_17_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_14_9573.jpg
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_24_9634.jpg
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_34_10722.jpg
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_44_9688.jpg
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_16_54_9784.jpg
/home/pi/Desktop/images/09122025/13/16/image_09122025_13_17_05_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556199","1398556193","1398556196","1398556190","1398556205","1398556202"],"photo_ids_order":["1398556190","1398556193","1398556196","1398556199","1398556202","1398556205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ad06e092e18a9d6e489e25394be5db2.jpg","text":"TemporaryFile(/tmp/multipartBody7051465183267051155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_16_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f395ea701afc0b064adc03db0d270f71.jpg","text":"TemporaryFile(/tmp/multipartBody8944355958861466495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_16_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b4e5edd4ee75ea7117300b687e871eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5055877826828433986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_16_34_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af9ad21ba37b1fc50ae66a0bb92a0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4379819435786662196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_16_14_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/280ce58653594af1687b9ad693d09f48.jpg","text":"TemporaryFile(/tmp/multipartBody6429699233756290154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_17_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3f2a1583f6513bc8b8169202874979f.jpg","text":"TemporaryFile(/tmp/multipartBody5355339354582063873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314423454,"filename":"image_09122025_13_16_54_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556196","file1":"1398556193","file0":"1398556190","file4":"1398556202","file5":"1398556205","file3":"1398556199"},"map_files_photo_id_array":[{"photo_id":"1398556205","filename":"file5"},{"photo_id":"1398556196","filename":"file2"},{"photo_id":"1398556202","filename":"file4"},{"photo_id":"1398556193","filename":"file1"},{"photo_id":"1398556190","filename":"file0"},{"photo_id":"1398556199","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556199":["hashtag1","hashtag2"]},{"1398556193":["hashtag1","hashtag2"]},{"1398556196":["hashtag1","hashtag2"]},{"1398556190":["hashtag1","hashtag2"]},{"1398556205":["hashtag1","hashtag2"]},{"1398556202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556199, 1398556193, 1398556196, 1398556190, 1398556205, 1398556202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30285048484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:06:42.443599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_59_2668.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_03_3692.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_05_2822.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_08_2788.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_12_3550.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_14_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/49/image_01112025_19_49_59_2668.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_03_3692.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_05_2822.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_08_2788.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_12_3550.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_14_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556216","1398556219","1398556210","1398556227","1398556223","1398556208"],"photo_ids_order":["1398556208","1398556210","1398556216","1398556219","1398556223","1398556227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/895465c9f64529091802efdc5ced4aaa.jpg","text":"TemporaryFile(/tmp/multipartBody9215595252305147761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_50_05_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b52f637851c2c7f1194366e022b9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3366001825836630974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_50_08_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d6cfa0c2aad157da33c8266d38636c1.jpg","text":"TemporaryFile(/tmp/multipartBody9066027149160660498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_50_03_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc644f3a095ae5ea980ad9f6d51e2599.jpg","text":"TemporaryFile(/tmp/multipartBody3913537688756210717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_50_14_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f0b33bd40d431ed4100d40f5f007fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody2864200444131391275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_50_12_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/323eb9d16fd9e0e0f3e3cb9e98b63a71.jpg","text":"TemporaryFile(/tmp/multipartBody7642980562741148735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314463473,"filename":"image_01112025_19_49_59_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556216","file1":"1398556210","file0":"1398556208","file4":"1398556223","file5":"1398556227","file3":"1398556219"},"map_files_photo_id_array":[{"photo_id":"1398556227","filename":"file5"},{"photo_id":"1398556216","filename":"file2"},{"photo_id":"1398556223","filename":"file4"},{"photo_id":"1398556210","filename":"file1"},{"photo_id":"1398556208","filename":"file0"},{"photo_id":"1398556219","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556216":["hashtag1","hashtag2"]},{"1398556219":["hashtag1","hashtag2"]},{"1398556210":["hashtag1","hashtag2"]},{"1398556227":["hashtag1","hashtag2"]},{"1398556223":["hashtag1","hashtag2"]},{"1398556208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556216, 1398556219, 1398556210, 1398556227, 1398556223, 1398556208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21358776092529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:07:22.663592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_14_9598.jpg', '/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_24_9798.jpg', '/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_35_10622.jpg', '/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_44_9602.jpg', '/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_54_9642.jpg', '/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_14_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_14_9598.jpg
/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_24_9798.jpg
/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_35_10622.jpg
/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_44_9602.jpg
/home/pi/Desktop/images/09122025/13/17/image_09122025_13_17_54_9642.jpg
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_14_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556243","1398556237","1398556239","1398556230","1398556233","1398556235"],"photo_ids_order":["1398556230","1398556233","1398556235","1398556237","1398556239","1398556243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/548a88d729cbc5d803ffcb0e7df3c613.jpg","text":"TemporaryFile(/tmp/multipartBody5116914261198784154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_18_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b719d6d5b2e50ebbd318670e7165a34.jpg","text":"TemporaryFile(/tmp/multipartBody3802698359734887325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_17_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e90c97464aca822cce14278ae3636f2.jpg","text":"TemporaryFile(/tmp/multipartBody8256891895994751560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_17_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6f7cf91fc648539138ea03d1f55be41.jpg","text":"TemporaryFile(/tmp/multipartBody1216435271400653082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_17_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d56579a29bad60d6ddc6558cb2c1fba.jpg","text":"TemporaryFile(/tmp/multipartBody2740902408589040096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_17_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3a44138245a44c9f22e876a84abb7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5927970984738248785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314503225,"filename":"image_09122025_13_17_35_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556235","file1":"1398556233","file0":"1398556230","file4":"1398556239","file5":"1398556243","file3":"1398556237"},"map_files_photo_id_array":[{"photo_id":"1398556243","filename":"file5"},{"photo_id":"1398556235","filename":"file2"},{"photo_id":"1398556239","filename":"file4"},{"photo_id":"1398556233","filename":"file1"},{"photo_id":"1398556230","filename":"file0"},{"photo_id":"1398556237","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556243":["hashtag1","hashtag2"]},{"1398556237":["hashtag1","hashtag2"]},{"1398556239":["hashtag1","hashtag2"]},{"1398556230":["hashtag1","hashtag2"]},{"1398556233":["hashtag1","hashtag2"]},{"1398556235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556243, 1398556237, 1398556239, 1398556230, 1398556233, 1398556235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.214279651641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:08:03.296127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_24_10117.jpg', '/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_34_9740.jpg', '/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_44_9604.jpg', '/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_54_10585.jpg', '/home/pi/Desktop/images/09122025/13/18/image_09122025_13_19_04_9595.jpg', '/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_14_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_24_10117.jpg
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_34_9740.jpg
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_44_9604.jpg
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_18_54_10585.jpg
/home/pi/Desktop/images/09122025/13/18/image_09122025_13_19_04_9595.jpg
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_14_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556257","1398556260","1398556262","1398556250","1398556253","1398556255"],"photo_ids_order":["1398556250","1398556253","1398556255","1398556257","1398556260","1398556262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ecd4237731dffbebf8397e2f451fe16.jpg","text":"TemporaryFile(/tmp/multipartBody3082331292491684575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_18_54_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe22c9643a7b218e70ef43dfccdfa25a.jpg","text":"TemporaryFile(/tmp/multipartBody6843662926129496599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_19_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7ffd49ff0ef8db2990ed0ceb982ea01.jpg","text":"TemporaryFile(/tmp/multipartBody7355874560341838182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_19_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2442a6581b7ab38517c3b818719476b3.jpg","text":"TemporaryFile(/tmp/multipartBody2688694961786503155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_18_24_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/911d9eda0af39910bc6bae4dcccff389.jpg","text":"TemporaryFile(/tmp/multipartBody244090590409142181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_18_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db810947506b457ee9e453030bc0dba3.jpg","text":"TemporaryFile(/tmp/multipartBody9179121928843991452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314543880,"filename":"image_09122025_13_18_44_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556255","file1":"1398556253","file0":"1398556250","file4":"1398556260","file5":"1398556262","file3":"1398556257"},"map_files_photo_id_array":[{"photo_id":"1398556262","filename":"file5"},{"photo_id":"1398556255","filename":"file2"},{"photo_id":"1398556260","filename":"file4"},{"photo_id":"1398556253","filename":"file1"},{"photo_id":"1398556250","filename":"file0"},{"photo_id":"1398556257","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556257":["hashtag1","hashtag2"]},{"1398556260":["hashtag1","hashtag2"]},{"1398556262":["hashtag1","hashtag2"]},{"1398556250":["hashtag1","hashtag2"]},{"1398556253":["hashtag1","hashtag2"]},{"1398556255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556257, 1398556260, 1398556262, 1398556250, 1398556253, 1398556255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07804298400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:08:42.756595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_17_2527.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_21_3624.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_23_2674.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_26_2683.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_30_3626.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_32_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_17_2527.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_21_3624.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_23_2674.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_26_2683.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_30_3626.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_32_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556281","1398556268","1398556277","1398556271","1398556279","1398556273"],"photo_ids_order":["1398556268","1398556271","1398556273","1398556277","1398556279","1398556281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f31bb683234954464447b9418c30646.jpg","text":"TemporaryFile(/tmp/multipartBody689547466388214713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_32_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47b31f9aec5532a9da6fa6c58d9a650a.jpg","text":"TemporaryFile(/tmp/multipartBody4638574513619999422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_17_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb545b9f116d721be6e03f355f8b57b6.jpg","text":"TemporaryFile(/tmp/multipartBody7950426313979702730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_26_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44f42f46006e72aca4de18f6eb1dda13.jpg","text":"TemporaryFile(/tmp/multipartBody5514895397752225135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_21_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e94f78f39e0d2746e52bbbd15802369b.jpg","text":"TemporaryFile(/tmp/multipartBody7956042663721947720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_30_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0af25b3e22dd2de9bcedae83bf8075f1.jpg","text":"TemporaryFile(/tmp/multipartBody5550141218142176546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314583735,"filename":"image_01112025_19_50_23_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556273","file1":"1398556271","file0":"1398556268","file4":"1398556279","file5":"1398556281","file3":"1398556277"},"map_files_photo_id_array":[{"photo_id":"1398556281","filename":"file5"},{"photo_id":"1398556273","filename":"file2"},{"photo_id":"1398556279","filename":"file4"},{"photo_id":"1398556271","filename":"file1"},{"photo_id":"1398556268","filename":"file0"},{"photo_id":"1398556277","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556281":["hashtag1","hashtag2"]},{"1398556268":["hashtag1","hashtag2"]},{"1398556277":["hashtag1","hashtag2"]},{"1398556271":["hashtag1","hashtag2"]},{"1398556279":["hashtag1","hashtag2"]},{"1398556273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556281, 1398556268, 1398556277, 1398556271, 1398556279, 1398556273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.092169523239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:09:22.008225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_24_9666.jpg', '/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_34_10333.jpg', '/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_44_9680.jpg', '/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_54_9810.jpg', '/home/pi/Desktop/images/09122025/13/19/image_09122025_13_20_04_10539.jpg', '/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_14_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_24_9666.jpg
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_34_10333.jpg
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_44_9680.jpg
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_19_54_9810.jpg
/home/pi/Desktop/images/09122025/13/19/image_09122025_13_20_04_10539.jpg
/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_14_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556296","1398556299","1398556292","1398556286","1398556289","1398556294"],"photo_ids_order":["1398556286","1398556289","1398556292","1398556294","1398556296","1398556299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f5230467835757b465995f3282c83725.jpg","text":"TemporaryFile(/tmp/multipartBody5765971305782489919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_20_04_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c7b1225a2b08980124bcbe60e812335.jpg","text":"TemporaryFile(/tmp/multipartBody3254553364374787548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_20_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49d0014196f26dc05519110cffb1e8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6112176820019038306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_19_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faba8dfa222f8fab771c3fa08d0843d0.jpg","text":"TemporaryFile(/tmp/multipartBody1724782965200780248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_19_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b33b00f5f3c346d1220833693a028c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6455366812136099865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_19_34_10333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2d8fafead41e03cbf6e09454a60cbd4e.jpg","text":"TemporaryFile(/tmp/multipartBody8547254115271316558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314622573,"filename":"image_09122025_13_19_54_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556292","file1":"1398556289","file0":"1398556286","file4":"1398556296","file5":"1398556299","file3":"1398556294"},"map_files_photo_id_array":[{"photo_id":"1398556299","filename":"file5"},{"photo_id":"1398556292","filename":"file2"},{"photo_id":"1398556296","filename":"file4"},{"photo_id":"1398556289","filename":"file1"},{"photo_id":"1398556286","filename":"file0"},{"photo_id":"1398556294","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556296":["hashtag1","hashtag2"]},{"1398556299":["hashtag1","hashtag2"]},{"1398556292":["hashtag1","hashtag2"]},{"1398556286":["hashtag1","hashtag2"]},{"1398556289":["hashtag1","hashtag2"]},{"1398556294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556296, 1398556299, 1398556292, 1398556286, 1398556289, 1398556294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66473460197449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:10:02.670953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_35_10808.jpg', '/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_44_9729.jpg', '/home/pi/Desktop/images/09122025/13/20/image_09122025_13_21_04_10621.jpg', '/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_14_9719.jpg', '/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_24_9755.jpg', '/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_35_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_35_10808.jpg
/home/pi/Desktop/images/09122025/13/20/image_09122025_13_20_44_9729.jpg
/home/pi/Desktop/images/09122025/13/20/image_09122025_13_21_04_10621.jpg
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_14_9719.jpg
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_24_9755.jpg
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_35_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556312","1398556306","1398556311","1398556314","1398556308","1398556310"],"photo_ids_order":["1398556306","1398556308","1398556310","1398556311","1398556312","1398556314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/17315b65f22adfb0ae96e445ffabea98.jpg","text":"TemporaryFile(/tmp/multipartBody3353260038297143263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_21_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d69b0c73880177c7d81c3872ac1f61fe.jpg","text":"TemporaryFile(/tmp/multipartBody4736576140793700948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_20_35_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99b3826a20e64032bae630f96478e785.jpg","text":"TemporaryFile(/tmp/multipartBody2269575594464422386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_21_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/504644d9aa0c2918ad19fca932d3211f.jpg","text":"TemporaryFile(/tmp/multipartBody3742492662065702829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_21_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e59ce1c270434c10324b8c330d00cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody6828272909525687735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_20_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6d3bc903ef7866f8dfa98b1d4b8d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8911123001698813173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314663240,"filename":"image_09122025_13_21_04_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556310","file1":"1398556308","file0":"1398556306","file4":"1398556312","file5":"1398556314","file3":"1398556311"},"map_files_photo_id_array":[{"photo_id":"1398556314","filename":"file5"},{"photo_id":"1398556310","filename":"file2"},{"photo_id":"1398556312","filename":"file4"},{"photo_id":"1398556308","filename":"file1"},{"photo_id":"1398556306","filename":"file0"},{"photo_id":"1398556311","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556312":["hashtag1","hashtag2"]},{"1398556306":["hashtag1","hashtag2"]},{"1398556311":["hashtag1","hashtag2"]},{"1398556314":["hashtag1","hashtag2"]},{"1398556308":["hashtag1","hashtag2"]},{"1398556310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556312, 1398556306, 1398556311, 1398556314, 1398556308, 1398556310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59650754928589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:10:42.158179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_35_2705.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_44_2720.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_48_3694.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_50_2686.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_53_2680.jpg', '/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_57_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_35_2705.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_44_2720.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_48_3694.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_50_2686.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_53_2680.jpg
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_57_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556336","1398556329","1398556323","1398556331","1398556333","1398556327"],"photo_ids_order":["1398556323","1398556327","1398556329","1398556331","1398556333","1398556336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/953dd443831ea622787487d83e1a64d3.jpg","text":"TemporaryFile(/tmp/multipartBody6852113114913462437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_57_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3ac2d1d79d142266744d166fedcad19.jpg","text":"TemporaryFile(/tmp/multipartBody8412750329096183871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_48_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d899ea7a1483a9ef03037dda2737bea.jpg","text":"TemporaryFile(/tmp/multipartBody3756004041585157998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_35_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7668a2ffc3fa8bba1c10f11c5e9a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8665560971192634370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_50_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70df09e82ffd0c238cf5279a79cc62fb.jpg","text":"TemporaryFile(/tmp/multipartBody1863314778947200483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_53_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5a32fee2491b5f3b01ccaca3cd69292.jpg","text":"TemporaryFile(/tmp/multipartBody7428536810186756555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314703135,"filename":"image_01112025_19_50_44_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556329","file1":"1398556327","file0":"1398556323","file4":"1398556333","file5":"1398556336","file3":"1398556331"},"map_files_photo_id_array":[{"photo_id":"1398556336","filename":"file5"},{"photo_id":"1398556329","filename":"file2"},{"photo_id":"1398556333","filename":"file4"},{"photo_id":"1398556327","filename":"file1"},{"photo_id":"1398556323","filename":"file0"},{"photo_id":"1398556331","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556336":["hashtag1","hashtag2"]},{"1398556329":["hashtag1","hashtag2"]},{"1398556323":["hashtag1","hashtag2"]},{"1398556331":["hashtag1","hashtag2"]},{"1398556333":["hashtag1","hashtag2"]},{"1398556327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556336, 1398556329, 1398556323, 1398556331, 1398556333, 1398556327)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.45637321472168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:11:29.570670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_44_9570.jpg', '/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_54_9586.jpg', '/home/pi/Desktop/images/09122025/13/21/image_09122025_13_22_04_10668.jpg', '/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_14_9787.jpg', '/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_24_9643.jpg', '/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_34_10509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_44_9570.jpg
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_21_54_9586.jpg
/home/pi/Desktop/images/09122025/13/21/image_09122025_13_22_04_10668.jpg
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_14_9787.jpg
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_24_9643.jpg
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_34_10509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556356","1398556350","1398556353","1398556358","1398556345","1398556348"],"photo_ids_order":["1398556345","1398556348","1398556350","1398556353","1398556356","1398556358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc9d62c0e081415ad8857ecd4ee9f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody4101850764620746142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_22_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a58a39e537da8b3c0d97120dda3eb720.jpg","text":"TemporaryFile(/tmp/multipartBody7279834969389998034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_22_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/966bc0767ca03e031b27d8fd9c0e95fc.jpg","text":"TemporaryFile(/tmp/multipartBody1249118937141650602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_22_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4f1349e0c3da18dc4af74ef8a7fa7aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7862308425940485483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_22_34_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3cece526fe19b45d234268854b69a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody4155035310925755500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_21_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e645b9cc45c51cd15fe05cb8df5c3ba2.jpg","text":"TemporaryFile(/tmp/multipartBody782101102254328557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314750180,"filename":"image_09122025_13_21_54_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556350","file1":"1398556348","file0":"1398556345","file4":"1398556356","file5":"1398556358","file3":"1398556353"},"map_files_photo_id_array":[{"photo_id":"1398556358","filename":"file5"},{"photo_id":"1398556350","filename":"file2"},{"photo_id":"1398556356","filename":"file4"},{"photo_id":"1398556348","filename":"file1"},{"photo_id":"1398556345","filename":"file0"},{"photo_id":"1398556353","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556356":["hashtag1","hashtag2"]},{"1398556350":["hashtag1","hashtag2"]},{"1398556353":["hashtag1","hashtag2"]},{"1398556358":["hashtag1","hashtag2"]},{"1398556345":["hashtag1","hashtag2"]},{"1398556348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556356, 1398556350, 1398556353, 1398556358, 1398556345, 1398556348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41743063926697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:12:12.817965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_55_9688.jpg', '/home/pi/Desktop/images/08122025/14/01/image_08122025_14_02_04_9608.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_15_10777.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_25_9604.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_34_9512.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_45_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_55_9688.jpg
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_02_04_9608.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_15_10777.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_25_9604.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_34_9512.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_45_10523.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6753346920013428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:12:30.381850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_44_9667.jpg', '/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_54_9662.jpg', '/home/pi/Desktop/images/09122025/13/22/image_09122025_13_23_04_10736.jpg', '/home/pi/Desktop/images/09122025/13/23/image_09122025_13_23_14_9687.jpg', '/home/pi/Desktop/images/09122025/13/23/image_09122025_13_23_24_9692.jpg', '/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_14_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_44_9667.jpg
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_22_54_9662.jpg
/home/pi/Desktop/images/09122025/13/22/image_09122025_13_23_04_10736.jpg
/home/pi/Desktop/images/09122025/13/23/image_09122025_13_23_14_9687.jpg
/home/pi/Desktop/images/09122025/13/23/image_09122025_13_23_24_9692.jpg
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_14_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556389","1398556380","1398556382","1398556384","1398556387","1398556375"],"photo_ids_order":["1398556375","1398556380","1398556382","1398556384","1398556387","1398556389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ddfe4f135f9586e7df771c946c1b0489.jpg","text":"TemporaryFile(/tmp/multipartBody9220903531739957857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_24_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb6e23b842644b90ee767032c558cf6a.jpg","text":"TemporaryFile(/tmp/multipartBody5313957856525474651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_22_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01a97a8ff41635ec444d90fbd3d62403.jpg","text":"TemporaryFile(/tmp/multipartBody1067111809940752952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_23_04_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38ce6c6e48204667ae61099bfbf3a34a.jpg","text":"TemporaryFile(/tmp/multipartBody8094731298369723405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_23_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c33345adbdc9b05789563ea0fd5e217.jpg","text":"TemporaryFile(/tmp/multipartBody8264195432852957565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_23_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c486c76fd5bc0fb0d89132221679d97.jpg","text":"TemporaryFile(/tmp/multipartBody1433623316859979837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314810939,"filename":"image_09122025_13_22_44_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556382","file1":"1398556380","file0":"1398556375","file4":"1398556387","file5":"1398556389","file3":"1398556384"},"map_files_photo_id_array":[{"photo_id":"1398556389","filename":"file5"},{"photo_id":"1398556382","filename":"file2"},{"photo_id":"1398556387","filename":"file4"},{"photo_id":"1398556380","filename":"file1"},{"photo_id":"1398556375","filename":"file0"},{"photo_id":"1398556384","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556389":["hashtag1","hashtag2"]},{"1398556380":["hashtag1","hashtag2"]},{"1398556382":["hashtag1","hashtag2"]},{"1398556384":["hashtag1","hashtag2"]},{"1398556387":["hashtag1","hashtag2"]},{"1398556375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556389, 1398556380, 1398556382, 1398556384, 1398556387, 1398556375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61477446556091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:13:11.948032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_55_9688.jpg', '/home/pi/Desktop/images/08122025/14/01/image_08122025_14_02_04_9608.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_15_10777.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_25_9604.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_34_9512.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_45_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_01_55_9688.jpg
/home/pi/Desktop/images/08122025/14/01/image_08122025_14_02_04_9608.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_15_10777.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_25_9604.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_34_9512.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_45_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556398","1398556407","1398556404","1398556396","1398556409","1398556400"],"photo_ids_order":["1398556396","1398556398","1398556400","1398556404","1398556407","1398556409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f3df200524dc99707bd71f31fc53471.jpg","text":"TemporaryFile(/tmp/multipartBody5255308446075631734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_02_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0c5eb5f0267dc405f82d58f44ae895be.jpg","text":"TemporaryFile(/tmp/multipartBody6055491477373773101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_02_34_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c29a633e2242819745a7db200b92603b.jpg","text":"TemporaryFile(/tmp/multipartBody5906317795409145634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_02_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/247661d64162c0a63e02e4124ece8650.jpg","text":"TemporaryFile(/tmp/multipartBody3218013587322711780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_01_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a77062a280f44bca801c3572aedde117.jpg","text":"TemporaryFile(/tmp/multipartBody2967798370952953374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_02_45_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/badd3a558eb80b7b01586c282739ae42.jpg","text":"TemporaryFile(/tmp/multipartBody8911866783888844738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314853653,"filename":"image_08122025_14_02_15_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556400","file1":"1398556398","file0":"1398556396","file4":"1398556407","file5":"1398556409","file3":"1398556404"},"map_files_photo_id_array":[{"photo_id":"1398556409","filename":"file5"},{"photo_id":"1398556400","filename":"file2"},{"photo_id":"1398556407","filename":"file4"},{"photo_id":"1398556398","filename":"file1"},{"photo_id":"1398556396","filename":"file0"},{"photo_id":"1398556404","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556398":["hashtag1","hashtag2"]},{"1398556407":["hashtag1","hashtag2"]},{"1398556404":["hashtag1","hashtag2"]},{"1398556396":["hashtag1","hashtag2"]},{"1398556409":["hashtag1","hashtag2"]},{"1398556400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556398, 1398556407, 1398556404, 1398556396, 1398556409, 1398556400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80233359336853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:14:02.726381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_24_10672.jpg', '/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_34_9538.jpg', '/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_44_9627.jpg', '/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_54_10796.jpg', '/home/pi/Desktop/images/09122025/13/24/image_09122025_13_25_04_9615.jpg', '/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_24_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_24_10672.jpg
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_34_9538.jpg
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_44_9627.jpg
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_24_54_10796.jpg
/home/pi/Desktop/images/09122025/13/24/image_09122025_13_25_04_9615.jpg
/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_24_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556434","1398556428","1398556421","1398556430","1398556432","1398556426"],"photo_ids_order":["1398556421","1398556426","1398556428","1398556430","1398556432","1398556434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3df781814451e9d1172ad6449976333c.jpg","text":"TemporaryFile(/tmp/multipartBody5392773638190794182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_25_24_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c5e64f0b850bbc62f2a992f5ebeb555.jpg","text":"TemporaryFile(/tmp/multipartBody4890259175356208988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_24_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b3ed04319ac4f962feea334bc0d770b.jpg","text":"TemporaryFile(/tmp/multipartBody2367151942759366209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_24_24_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7e908e11ae001335f3773a952b8d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2358700819132918192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_24_54_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/598028277a62641ef41a18bf3177e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1077959296336188727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_25_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d41974cc847d53d99ba2243db1685396.jpg","text":"TemporaryFile(/tmp/multipartBody2157869433164677650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314903422,"filename":"image_09122025_13_24_34_9538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556428","file1":"1398556426","file0":"1398556421","file4":"1398556432","file5":"1398556434","file3":"1398556430"},"map_files_photo_id_array":[{"photo_id":"1398556434","filename":"file5"},{"photo_id":"1398556428","filename":"file2"},{"photo_id":"1398556432","filename":"file4"},{"photo_id":"1398556426","filename":"file1"},{"photo_id":"1398556421","filename":"file0"},{"photo_id":"1398556430","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556434":["hashtag1","hashtag2"]},{"1398556428":["hashtag1","hashtag2"]},{"1398556421":["hashtag1","hashtag2"]},{"1398556430":["hashtag1","hashtag2"]},{"1398556432":["hashtag1","hashtag2"]},{"1398556426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556434, 1398556428, 1398556421, 1398556430, 1398556432, 1398556426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.181029081344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:14:42.059317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_59_2602.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_02_2684.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_06_3761.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_08_2628.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_11_2572.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_15_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/50/image_01112025_19_50_59_2602.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_02_2684.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_06_3761.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_08_2628.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_11_2572.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_15_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556455","1398556449","1398556443","1398556452","1398556446","1398556454"],"photo_ids_order":["1398556443","1398556446","1398556449","1398556452","1398556454","1398556455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4973c9522401211e66bd6cfe6767728.jpg","text":"TemporaryFile(/tmp/multipartBody3740546378935815695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_51_15_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57d162edd6ba9804017c258835e81255.jpg","text":"TemporaryFile(/tmp/multipartBody113238862747112613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_51_06_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/246a32f696b67bcbee3f75e4a18f2019.jpg","text":"TemporaryFile(/tmp/multipartBody6877438056612637001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_50_59_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/881a4e69eb5da52329daf74d8e34fdeb.jpg","text":"TemporaryFile(/tmp/multipartBody9045829037402420692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_51_08_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0102f8929d3aa8cc10f29ea7b36b9478.jpg","text":"TemporaryFile(/tmp/multipartBody6696058585988856795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_51_02_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7be2a57828fbade28798600173781a64.jpg","text":"TemporaryFile(/tmp/multipartBody8998297229992224733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314943050,"filename":"image_01112025_19_51_11_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556449","file1":"1398556446","file0":"1398556443","file4":"1398556454","file5":"1398556455","file3":"1398556452"},"map_files_photo_id_array":[{"photo_id":"1398556455","filename":"file5"},{"photo_id":"1398556449","filename":"file2"},{"photo_id":"1398556454","filename":"file4"},{"photo_id":"1398556446","filename":"file1"},{"photo_id":"1398556443","filename":"file0"},{"photo_id":"1398556452","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556455":["hashtag1","hashtag2"]},{"1398556449":["hashtag1","hashtag2"]},{"1398556443":["hashtag1","hashtag2"]},{"1398556452":["hashtag1","hashtag2"]},{"1398556446":["hashtag1","hashtag2"]},{"1398556454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556455, 1398556449, 1398556443, 1398556452, 1398556446, 1398556454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.808164834976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:15:22.319506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_34_9642.jpg', '/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_44_9652.jpg', '/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_54_9793.jpg', '/home/pi/Desktop/images/09122025/13/25/image_09122025_13_26_04_10589.jpg', '/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_14_9599.jpg', '/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_24_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_34_9642.jpg
/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_44_9652.jpg
/home/pi/Desktop/images/09122025/13/25/image_09122025_13_25_54_9793.jpg
/home/pi/Desktop/images/09122025/13/25/image_09122025_13_26_04_10589.jpg
/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_14_9599.jpg
/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_24_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556456","1398556461","1398556458","1398556457","1398556462","1398556459"],"photo_ids_order":["1398556456","1398556457","1398556458","1398556459","1398556461","1398556462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1c22b7a6cbe3db8a595df6090c142ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3597056658219658532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_25_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/472ffbf7349a158199d35a7baba6b77b.jpg","text":"TemporaryFile(/tmp/multipartBody3600081467763156198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_26_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf213a2be981bd754c9cc3a135f9089f.jpg","text":"TemporaryFile(/tmp/multipartBody4576948420748698176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_25_54_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a931f709b92e5a5ef0f26094effd03d.jpg","text":"TemporaryFile(/tmp/multipartBody7196905284886521130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_25_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afaf8d1c269f33723c8473ef5f9f9c1d.jpg","text":"TemporaryFile(/tmp/multipartBody7769631611874253489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_26_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cfe4ddfb813cca7591763d5b7d2d983e.jpg","text":"TemporaryFile(/tmp/multipartBody5476717018910454575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765314982878,"filename":"image_09122025_13_26_04_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556458","file1":"1398556457","file0":"1398556456","file4":"1398556461","file5":"1398556462","file3":"1398556459"},"map_files_photo_id_array":[{"photo_id":"1398556462","filename":"file5"},{"photo_id":"1398556458","filename":"file2"},{"photo_id":"1398556461","filename":"file4"},{"photo_id":"1398556457","filename":"file1"},{"photo_id":"1398556456","filename":"file0"},{"photo_id":"1398556459","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556456":["hashtag1","hashtag2"]},{"1398556461":["hashtag1","hashtag2"]},{"1398556458":["hashtag1","hashtag2"]},{"1398556457":["hashtag1","hashtag2"]},{"1398556462":["hashtag1","hashtag2"]},{"1398556459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556456, 1398556461, 1398556458, 1398556457, 1398556462, 1398556459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71037173271179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:16:03.001326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_44_9677.jpg', '/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_54_9743.jpg', '/home/pi/Desktop/images/09122025/13/26/image_09122025_13_27_04_10674.jpg', '/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_14_9662.jpg', '/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_24_9728.jpg', '/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_34_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_44_9677.jpg
/home/pi/Desktop/images/09122025/13/26/image_09122025_13_26_54_9743.jpg
/home/pi/Desktop/images/09122025/13/26/image_09122025_13_27_04_10674.jpg
/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_14_9662.jpg
/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_24_9728.jpg
/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_34_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556473","1398556476","1398556475","1398556477","1398556471","1398556468"],"photo_ids_order":["1398556468","1398556471","1398556473","1398556475","1398556476","1398556477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7693a8e826cc8744f3ce27444d4a366d.jpg","text":"TemporaryFile(/tmp/multipartBody9149371258999298828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_27_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/394cde1c4ea53402a837d638eb63d24f.jpg","text":"TemporaryFile(/tmp/multipartBody6797532809413537871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_27_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb8457f319494e821acf66b6d904623d.jpg","text":"TemporaryFile(/tmp/multipartBody8913344666291116209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_27_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b41d2a9371d8d50cf9b46a58d112fef.jpg","text":"TemporaryFile(/tmp/multipartBody2788176868919769424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_27_34_10489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94eabba08cf7da9c970c0c2d234e4ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4760825645922586339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_26_54_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc40f70d40be83a76be02bb567a7a7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3184134813775675248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315023583,"filename":"image_09122025_13_26_44_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556473","file1":"1398556471","file0":"1398556468","file4":"1398556476","file5":"1398556477","file3":"1398556475"},"map_files_photo_id_array":[{"photo_id":"1398556477","filename":"file5"},{"photo_id":"1398556473","filename":"file2"},{"photo_id":"1398556476","filename":"file4"},{"photo_id":"1398556471","filename":"file1"},{"photo_id":"1398556468","filename":"file0"},{"photo_id":"1398556475","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556473":["hashtag1","hashtag2"]},{"1398556476":["hashtag1","hashtag2"]},{"1398556475":["hashtag1","hashtag2"]},{"1398556477":["hashtag1","hashtag2"]},{"1398556471":["hashtag1","hashtag2"]},{"1398556468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556473, 1398556476, 1398556475, 1398556477, 1398556471, 1398556468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.051918506622314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:16:42.493605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_17_2568.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_21_3572.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_32_2625.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_35_2552.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_39_3776.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_41_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_17_2568.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_21_3572.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_32_2625.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_35_2552.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_39_3776.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_41_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556491","1398556494","1398556488","1398556482","1398556484","1398556481"],"photo_ids_order":["1398556481","1398556482","1398556484","1398556488","1398556491","1398556494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a85e8221646ad8550018b84d238ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody3442324003416778261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_39_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3a444bd802827e5677617158e5351d5.jpg","text":"TemporaryFile(/tmp/multipartBody5824173609641890149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_41_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78c72152658234afbadefe908ee5ee13.jpg","text":"TemporaryFile(/tmp/multipartBody952145995681213347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_35_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7a04a463c4faf801b118a5e57304b21.jpg","text":"TemporaryFile(/tmp/multipartBody1808356521533579229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_21_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ff436210d2e2581d26c46a2114aadbe.jpg","text":"TemporaryFile(/tmp/multipartBody5982481224919520902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_32_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3da25c01dd891e6200f77181ef29fd93.jpg","text":"TemporaryFile(/tmp/multipartBody5373018714052371976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315063668,"filename":"image_01112025_19_51_17_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556484","file1":"1398556482","file0":"1398556481","file4":"1398556491","file5":"1398556494","file3":"1398556488"},"map_files_photo_id_array":[{"photo_id":"1398556494","filename":"file5"},{"photo_id":"1398556484","filename":"file2"},{"photo_id":"1398556491","filename":"file4"},{"photo_id":"1398556482","filename":"file1"},{"photo_id":"1398556481","filename":"file0"},{"photo_id":"1398556488","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556491":["hashtag1","hashtag2"]},{"1398556494":["hashtag1","hashtag2"]},{"1398556488":["hashtag1","hashtag2"]},{"1398556482":["hashtag1","hashtag2"]},{"1398556484":["hashtag1","hashtag2"]},{"1398556481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556491, 1398556494, 1398556488, 1398556482, 1398556484, 1398556481)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.56684494018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:17:33.339049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_54_9672.jpg', '/home/pi/Desktop/images/08122025/14/02/image_08122025_14_03_05_10678.jpg', '/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_15_9551.jpg', '/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_24_9673.jpg', '/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_35_10545.jpg', '/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_45_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_02_54_9672.jpg
/home/pi/Desktop/images/08122025/14/02/image_08122025_14_03_05_10678.jpg
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_15_9551.jpg
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_24_9673.jpg
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_35_10545.jpg
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_45_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556513","1398556522","1398556506","1398556509","1398556520","1398556517"],"photo_ids_order":["1398556506","1398556509","1398556513","1398556517","1398556520","1398556522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82a4205c6b2a72b796b15f8330a66762.jpg","text":"TemporaryFile(/tmp/multipartBody7030252467003802778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_03_15_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aea8edb15456cd954eea90ff9050485f.jpg","text":"TemporaryFile(/tmp/multipartBody8048755055636774616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_03_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e68c2f50985fcacd963f2d52d5c210ab.jpg","text":"TemporaryFile(/tmp/multipartBody6630420264466433756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_02_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e4c330a0c50723204ff9cdbf50ec73c.jpg","text":"TemporaryFile(/tmp/multipartBody974288018186361037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_03_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80f4581be692c809a7ea00f6d9f5d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6038756711203307088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_03_35_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7629a25c462d0aef3010b82c4086c6ca.jpg","text":"TemporaryFile(/tmp/multipartBody5443964175836804860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315115224,"filename":"image_08122025_14_03_24_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556513","file1":"1398556509","file0":"1398556506","file4":"1398556520","file5":"1398556522","file3":"1398556517"},"map_files_photo_id_array":[{"photo_id":"1398556522","filename":"file5"},{"photo_id":"1398556513","filename":"file2"},{"photo_id":"1398556520","filename":"file4"},{"photo_id":"1398556509","filename":"file1"},{"photo_id":"1398556506","filename":"file0"},{"photo_id":"1398556517","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556513":["hashtag1","hashtag2"]},{"1398556522":["hashtag1","hashtag2"]},{"1398556506":["hashtag1","hashtag2"]},{"1398556509":["hashtag1","hashtag2"]},{"1398556520":["hashtag1","hashtag2"]},{"1398556517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556513, 1398556522, 1398556506, 1398556509, 1398556520, 1398556517)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.595935583114624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:18:21.949382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_44_9648.jpg', '/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_14_9707.jpg', '/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_24_9682.jpg', '/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_34_10583.jpg', '/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_44_9659.jpg', '/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_55_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/27/image_09122025_13_27_44_9648.jpg
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_14_9707.jpg
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_24_9682.jpg
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_34_10583.jpg
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_44_9659.jpg
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_28_55_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556536","1398556533","1398556541","1398556529","1398556538","1398556531"],"photo_ids_order":["1398556529","1398556531","1398556533","1398556536","1398556538","1398556541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c37d84e28e90484a0d0f8d57be74a90f.jpg","text":"TemporaryFile(/tmp/multipartBody230535583238082993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_28_34_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2ac80c14778e83be7e1e05cf86e64cc.jpg","text":"TemporaryFile(/tmp/multipartBody1607331530161082940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_28_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a48cbcee0cf3dd4f3416e0e29500bd3.jpg","text":"TemporaryFile(/tmp/multipartBody9153800484636043611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_28_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c27e474576558d63797f30d767155c49.jpg","text":"TemporaryFile(/tmp/multipartBody7696395068721674633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_27_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8e62238141ed2346559b36009af08757.jpg","text":"TemporaryFile(/tmp/multipartBody8822186134362115126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_28_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/de592f4959e2c4b1ae57e9a8c69a6bff.jpg","text":"TemporaryFile(/tmp/multipartBody2126831866183198299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315162485,"filename":"image_09122025_13_28_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556533","file1":"1398556531","file0":"1398556529","file4":"1398556538","file5":"1398556541","file3":"1398556536"},"map_files_photo_id_array":[{"photo_id":"1398556541","filename":"file5"},{"photo_id":"1398556533","filename":"file2"},{"photo_id":"1398556538","filename":"file4"},{"photo_id":"1398556531","filename":"file1"},{"photo_id":"1398556529","filename":"file0"},{"photo_id":"1398556536","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556536":["hashtag1","hashtag2"]},{"1398556533":["hashtag1","hashtag2"]},{"1398556541":["hashtag1","hashtag2"]},{"1398556529":["hashtag1","hashtag2"]},{"1398556538":["hashtag1","hashtag2"]},{"1398556531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556536, 1398556533, 1398556541, 1398556529, 1398556538, 1398556531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.064820766448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:19:02.864677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/28/image_09122025_13_29_04_9528.jpg', '/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_14_9647.jpg', '/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_24_10620.jpg', '/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_34_9633.jpg', '/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_44_9743.jpg', '/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_54_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/28/image_09122025_13_29_04_9528.jpg
/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_14_9647.jpg
/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_24_10620.jpg
/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_34_9633.jpg
/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_44_9743.jpg
/home/pi/Desktop/images/09122025/13/29/image_09122025_13_29_54_10539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556555","1398556559","1398556550","1398556553","1398556561","1398556552"],"photo_ids_order":["1398556550","1398556552","1398556553","1398556555","1398556559","1398556561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f2c041ffa2088acd1b18f9bdb8ed2be.jpg","text":"TemporaryFile(/tmp/multipartBody6869841044286780040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dde2c422295765e39aec69ec355b9c81.jpg","text":"TemporaryFile(/tmp/multipartBody2693477466285387665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0c5d2d2bdb83350e097c51ed2c46bc8.jpg","text":"TemporaryFile(/tmp/multipartBody7487652345693919919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_04_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58820ccd0d4ea365b5f7c6d8faf3516b.jpg","text":"TemporaryFile(/tmp/multipartBody5670870607504431190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/989a0307a5583a8f39c4eaaeb0bf49e6.jpg","text":"TemporaryFile(/tmp/multipartBody7758840034361224232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_54_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8ff6b9ccee52a0975d6336d4e0df112.jpg","text":"TemporaryFile(/tmp/multipartBody7123315583562883443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315208103,"filename":"image_09122025_13_29_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556553","file1":"1398556552","file0":"1398556550","file4":"1398556559","file5":"1398556561","file3":"1398556555"},"map_files_photo_id_array":[{"photo_id":"1398556561","filename":"file5"},{"photo_id":"1398556553","filename":"file2"},{"photo_id":"1398556559","filename":"file4"},{"photo_id":"1398556552","filename":"file1"},{"photo_id":"1398556550","filename":"file0"},{"photo_id":"1398556555","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556555":["hashtag1","hashtag2"]},{"1398556559":["hashtag1","hashtag2"]},{"1398556550":["hashtag1","hashtag2"]},{"1398556553":["hashtag1","hashtag2"]},{"1398556561":["hashtag1","hashtag2"]},{"1398556552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556555, 1398556559, 1398556550, 1398556553, 1398556561, 1398556552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55930542945862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:20:02.804298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_14_10059.jpg', '/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_25_10701.jpg', '/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_54_9597.jpg', '/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_15_10715.jpg', '/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_24_9546.jpg', '/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_34_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_14_10059.jpg
/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_25_10701.jpg
/home/pi/Desktop/images/09122025/13/30/image_09122025_13_30_54_9597.jpg
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_15_10715.jpg
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_24_9546.jpg
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_34_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556566","1398556578","1398556571","1398556574","1398556576","1398556570"],"photo_ids_order":["1398556566","1398556570","1398556571","1398556574","1398556576","1398556578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b290eca4472b9591dcc2ec50ed64692.jpg","text":"TemporaryFile(/tmp/multipartBody3268717934411421766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_30_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed26e21ec5254af10ba5af12d5d37544.jpg","text":"TemporaryFile(/tmp/multipartBody804741542061708772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_31_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97e2c3980ac6895a884254546ffac869.jpg","text":"TemporaryFile(/tmp/multipartBody8553511657789343689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_30_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1f484bb418cc7de766335468811db97b.jpg","text":"TemporaryFile(/tmp/multipartBody5941088272892359698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_31_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9dd213ff9d2bd9778e42641faefabddc.jpg","text":"TemporaryFile(/tmp/multipartBody971203145520334124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_31_24_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a30e2cf94add1680e24f17a14b5b8e1.jpg","text":"TemporaryFile(/tmp/multipartBody8752416430967699412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315263391,"filename":"image_09122025_13_30_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556571","file1":"1398556570","file0":"1398556566","file4":"1398556576","file5":"1398556578","file3":"1398556574"},"map_files_photo_id_array":[{"photo_id":"1398556578","filename":"file5"},{"photo_id":"1398556571","filename":"file2"},{"photo_id":"1398556576","filename":"file4"},{"photo_id":"1398556570","filename":"file1"},{"photo_id":"1398556566","filename":"file0"},{"photo_id":"1398556574","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556566":["hashtag1","hashtag2"]},{"1398556578":["hashtag1","hashtag2"]},{"1398556571":["hashtag1","hashtag2"]},{"1398556574":["hashtag1","hashtag2"]},{"1398556576":["hashtag1","hashtag2"]},{"1398556570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556566, 1398556578, 1398556571, 1398556574, 1398556576, 1398556570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70238447189331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:20:42.324850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_44_2682.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_47_2829.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_50_3632.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_53_2737.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_56_2674.jpg', '/home/pi/Desktop/images/01112025/19/51/image_01112025_19_52_00_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_44_2682.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_47_2829.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_50_3632.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_53_2737.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_51_56_2674.jpg
/home/pi/Desktop/images/01112025/19/51/image_01112025_19_52_00_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556590","1398556595","1398556592","1398556586","1398556588","1398556591"],"photo_ids_order":["1398556586","1398556588","1398556590","1398556591","1398556592","1398556595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4530643fd8ee93e19bfd4a1c8de5f950.jpg","text":"TemporaryFile(/tmp/multipartBody1409092240062056815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_51_50_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f130bb3eba5c54aa864d0440e25208df.jpg","text":"TemporaryFile(/tmp/multipartBody7547084771462923505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_52_00_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e544ef7acf458c0e2a4cb069e22af546.jpg","text":"TemporaryFile(/tmp/multipartBody2077651939343486378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_51_56_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c76d0c03cf320f2be1baadfb02372e77.jpg","text":"TemporaryFile(/tmp/multipartBody5471684611854115343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_51_44_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50c33c763a19361455c6951965493e76.jpg","text":"TemporaryFile(/tmp/multipartBody3133034921046157830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_51_47_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03cb01d630adcbf8165ee98c01dd2a98.jpg","text":"TemporaryFile(/tmp/multipartBody5251108610723007912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315303300,"filename":"image_01112025_19_51_53_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556590","file1":"1398556588","file0":"1398556586","file4":"1398556592","file5":"1398556595","file3":"1398556591"},"map_files_photo_id_array":[{"photo_id":"1398556595","filename":"file5"},{"photo_id":"1398556590","filename":"file2"},{"photo_id":"1398556592","filename":"file4"},{"photo_id":"1398556588","filename":"file1"},{"photo_id":"1398556586","filename":"file0"},{"photo_id":"1398556591","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556590":["hashtag1","hashtag2"]},{"1398556595":["hashtag1","hashtag2"]},{"1398556592":["hashtag1","hashtag2"]},{"1398556586":["hashtag1","hashtag2"]},{"1398556588":["hashtag1","hashtag2"]},{"1398556591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556590, 1398556595, 1398556592, 1398556586, 1398556588, 1398556591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09647750854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:21:22.649349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_45_10547.jpg', '/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_54_9565.jpg', '/home/pi/Desktop/images/09122025/13/31/image_09122025_13_32_05_10617.jpg', '/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_14_9624.jpg', '/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_24_9663.jpg', '/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_35_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_45_10547.jpg
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_31_54_9565.jpg
/home/pi/Desktop/images/09122025/13/31/image_09122025_13_32_05_10617.jpg
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_14_9624.jpg
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_24_9663.jpg
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_35_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556609","1398556611","1398556614","1398556608","1398556604","1398556607"],"photo_ids_order":["1398556604","1398556607","1398556608","1398556609","1398556611","1398556614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a90428a2fcf49168bd5003b95507802.jpg","text":"TemporaryFile(/tmp/multipartBody4777866684963708254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_32_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/64e7f7c8235fe19503cf388fe46ab87b.jpg","text":"TemporaryFile(/tmp/multipartBody5808276743388270746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_32_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0550accde346cbc4a28d05a1ba545b76.jpg","text":"TemporaryFile(/tmp/multipartBody8594308808098008834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_32_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/562cb7928d33b18323bd1ee9e49e4c37.jpg","text":"TemporaryFile(/tmp/multipartBody403296288629434537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_32_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d978603da5593b807e893c10c820e67.jpg","text":"TemporaryFile(/tmp/multipartBody6863095103878757859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_31_45_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a91273c2c786e68e0aa49c140b098e45.jpg","text":"TemporaryFile(/tmp/multipartBody882597582132381396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315343207,"filename":"image_09122025_13_31_54_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556608","file1":"1398556607","file0":"1398556604","file4":"1398556611","file5":"1398556614","file3":"1398556609"},"map_files_photo_id_array":[{"photo_id":"1398556614","filename":"file5"},{"photo_id":"1398556608","filename":"file2"},{"photo_id":"1398556611","filename":"file4"},{"photo_id":"1398556607","filename":"file1"},{"photo_id":"1398556604","filename":"file0"},{"photo_id":"1398556609","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556609":["hashtag1","hashtag2"]},{"1398556611":["hashtag1","hashtag2"]},{"1398556614":["hashtag1","hashtag2"]},{"1398556608":["hashtag1","hashtag2"]},{"1398556604":["hashtag1","hashtag2"]},{"1398556607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556609, 1398556611, 1398556614, 1398556608, 1398556604, 1398556607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453482151031494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:22:03.270686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_44_9634.jpg', '/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_54_9745.jpg', '/home/pi/Desktop/images/09122025/13/32/image_09122025_13_33_05_10649.jpg', '/home/pi/Desktop/images/09122025/13/33/image_09122025_13_33_24_9534.jpg', '/home/pi/Desktop/images/09122025/13/33/image_09122025_13_33_35_10749.jpg', '/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_15_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_44_9634.jpg
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_32_54_9745.jpg
/home/pi/Desktop/images/09122025/13/32/image_09122025_13_33_05_10649.jpg
/home/pi/Desktop/images/09122025/13/33/image_09122025_13_33_24_9534.jpg
/home/pi/Desktop/images/09122025/13/33/image_09122025_13_33_35_10749.jpg
/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_15_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556633","1398556627","1398556623","1398556626","1398556628","1398556625"],"photo_ids_order":["1398556623","1398556625","1398556626","1398556627","1398556628","1398556633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/678f1d69ca46aaeb84d3c099d54761ac.jpg","text":"TemporaryFile(/tmp/multipartBody860855218113344946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_34_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a1f8defb51b4d3317ae8c7686103978e.jpg","text":"TemporaryFile(/tmp/multipartBody238073880280474864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_33_24_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e0c69efb04f0fd9e6378736a906764d5.jpg","text":"TemporaryFile(/tmp/multipartBody4755017360054159025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_32_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6aa55962b0b58c8f06b573463fa7315f.jpg","text":"TemporaryFile(/tmp/multipartBody5118057703276557114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_33_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5839e13db4dd64da79aa290ff934b39e.jpg","text":"TemporaryFile(/tmp/multipartBody4707773280097101819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_33_35_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/72d612d386ab23cddbd6ecda2ef23ca2.jpg","text":"TemporaryFile(/tmp/multipartBody677741465836027675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315383872,"filename":"image_09122025_13_32_54_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556626","file1":"1398556625","file0":"1398556623","file4":"1398556628","file5":"1398556633","file3":"1398556627"},"map_files_photo_id_array":[{"photo_id":"1398556633","filename":"file5"},{"photo_id":"1398556626","filename":"file2"},{"photo_id":"1398556628","filename":"file4"},{"photo_id":"1398556625","filename":"file1"},{"photo_id":"1398556623","filename":"file0"},{"photo_id":"1398556627","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556633":["hashtag1","hashtag2"]},{"1398556627":["hashtag1","hashtag2"]},{"1398556623":["hashtag1","hashtag2"]},{"1398556626":["hashtag1","hashtag2"]},{"1398556628":["hashtag1","hashtag2"]},{"1398556625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556633, 1398556627, 1398556623, 1398556626, 1398556628, 1398556625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68624925613403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:22:42.810534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_02_2616.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_05_2573.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_11_2572.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_14_2667.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_17_3685.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_23_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_02_2616.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_05_2573.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_11_2572.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_14_2667.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_17_3685.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_23_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556648","1398556644","1398556646","1398556642","1398556651","1398556639"],"photo_ids_order":["1398556639","1398556642","1398556644","1398556646","1398556648","1398556651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b81715f0e72e4966853c20004d6d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4316886640189100064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_17_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8eaf70ab89df3fe5e2e4912c59d96ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3240435952537808849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_11_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c9c467a406e7db0681ddcebca010fea8.jpg","text":"TemporaryFile(/tmp/multipartBody1430639349561719375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_14_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6dba016ddd4379ada83df41befe208cb.jpg","text":"TemporaryFile(/tmp/multipartBody2911550673185133890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_05_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e36e43fd6792538d92e8c17df0bd3505.jpg","text":"TemporaryFile(/tmp/multipartBody7919251565796144241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_23_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/961fd382b5479ab5602afc75c378b821.jpg","text":"TemporaryFile(/tmp/multipartBody1816254144466954543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315423787,"filename":"image_01112025_19_52_02_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556644","file1":"1398556642","file0":"1398556639","file4":"1398556648","file5":"1398556651","file3":"1398556646"},"map_files_photo_id_array":[{"photo_id":"1398556651","filename":"file5"},{"photo_id":"1398556644","filename":"file2"},{"photo_id":"1398556648","filename":"file4"},{"photo_id":"1398556642","filename":"file1"},{"photo_id":"1398556639","filename":"file0"},{"photo_id":"1398556646","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556648":["hashtag1","hashtag2"]},{"1398556644":["hashtag1","hashtag2"]},{"1398556646":["hashtag1","hashtag2"]},{"1398556642":["hashtag1","hashtag2"]},{"1398556651":["hashtag1","hashtag2"]},{"1398556639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556648, 1398556644, 1398556646, 1398556642, 1398556651, 1398556639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77239179611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:23:21.942820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_54_9643.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_14_9552.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_24_9725.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_35_10781.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_44_9602.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_54_9643.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_14_9552.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_24_9725.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_35_10781.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_44_9602.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_54_9742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4570178985595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:23:32.013303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_55_10587.jpg', '/home/pi/Desktop/images/08122025/14/03/image_08122025_14_04_05_9692.jpg', '/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_14_9638.jpg', '/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_25_10632.jpg', '/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_35_9655.jpg', '/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_44_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_03_55_10587.jpg
/home/pi/Desktop/images/08122025/14/03/image_08122025_14_04_05_9692.jpg
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_14_9638.jpg
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_25_10632.jpg
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_35_9655.jpg
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_44_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556665","1398556668","1398556662","1398556679","1398556673","1398556675"],"photo_ids_order":["1398556662","1398556665","1398556668","1398556673","1398556675","1398556679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c4d9d8d055b4557da74b4f9f013d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody1780892408305254707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_04_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66dd83e364ee90f5af29d85f8b083580.jpg","text":"TemporaryFile(/tmp/multipartBody1723519329185446341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_04_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7da1e563af172d41821ba498744db165.jpg","text":"TemporaryFile(/tmp/multipartBody5985992632713572260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_03_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9adf302d3bed75090cce135562756ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1541736765294427054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_04_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b189545355f0f1f8ead5f075a0e87799.jpg","text":"TemporaryFile(/tmp/multipartBody6129452339112963031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_04_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/deeb26eb32c748fb4f52171eb64ee53c.jpg","text":"TemporaryFile(/tmp/multipartBody7121655923218518638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315473883,"filename":"image_08122025_14_04_35_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556668","file1":"1398556665","file0":"1398556662","file4":"1398556675","file5":"1398556679","file3":"1398556673"},"map_files_photo_id_array":[{"photo_id":"1398556679","filename":"file5"},{"photo_id":"1398556668","filename":"file2"},{"photo_id":"1398556675","filename":"file4"},{"photo_id":"1398556665","filename":"file1"},{"photo_id":"1398556662","filename":"file0"},{"photo_id":"1398556673","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556665":["hashtag1","hashtag2"]},{"1398556668":["hashtag1","hashtag2"]},{"1398556662":["hashtag1","hashtag2"]},{"1398556679":["hashtag1","hashtag2"]},{"1398556673":["hashtag1","hashtag2"]},{"1398556675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556665, 1398556668, 1398556662, 1398556679, 1398556673, 1398556675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82768154144287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:24:12.115965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_55_10681.jpg', '/home/pi/Desktop/images/08122025/14/04/image_08122025_14_05_05_9774.jpg', '/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_15_9885.jpg', '/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_24_9623.jpg', '/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_45_9619.jpg', '/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_54_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_04_55_10681.jpg
/home/pi/Desktop/images/08122025/14/04/image_08122025_14_05_05_9774.jpg
/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_15_9885.jpg
/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_24_9623.jpg
/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_45_9619.jpg
/home/pi/Desktop/images/08122025/14/05/image_08122025_14_05_54_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556692","1398556686","1398556689","1398556700","1398556696","1398556684"],"photo_ids_order":["1398556684","1398556686","1398556689","1398556692","1398556696","1398556700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6e6536ab167e76872fa3b29154d3f07.jpg","text":"TemporaryFile(/tmp/multipartBody4128336778078439245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_05_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bc6f021b04b524138b5d32a6f83fd922.jpg","text":"TemporaryFile(/tmp/multipartBody888392704750218285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_05_05_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9caf0749abc65f6531b0112aeab92fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5915039831822568720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_05_15_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26fe107194a78b920511e8e8a794b27d.jpg","text":"TemporaryFile(/tmp/multipartBody1347397753553512519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_05_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c393d9df70facaf4591739be063a72c.jpg","text":"TemporaryFile(/tmp/multipartBody459985476643381979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_05_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6647bb3eebec3cbd5e053500a19c1c77.jpg","text":"TemporaryFile(/tmp/multipartBody8921338997060063654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315513889,"filename":"image_08122025_14_04_55_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556689","file1":"1398556686","file0":"1398556684","file4":"1398556696","file5":"1398556700","file3":"1398556692"},"map_files_photo_id_array":[{"photo_id":"1398556700","filename":"file5"},{"photo_id":"1398556689","filename":"file2"},{"photo_id":"1398556696","filename":"file4"},{"photo_id":"1398556686","filename":"file1"},{"photo_id":"1398556684","filename":"file0"},{"photo_id":"1398556692","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556692":["hashtag1","hashtag2"]},{"1398556686":["hashtag1","hashtag2"]},{"1398556689":["hashtag1","hashtag2"]},{"1398556700":["hashtag1","hashtag2"]},{"1398556696":["hashtag1","hashtag2"]},{"1398556684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556692, 1398556686, 1398556689, 1398556700, 1398556696, 1398556684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.974907875061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:25:02.958120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_54_9643.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_14_9552.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_24_9725.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_35_10781.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_44_9602.jpg', '/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/34/image_09122025_13_34_54_9643.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_14_9552.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_24_9725.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_35_10781.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_44_9602.jpg
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_35_54_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556720","1398556716","1398556710","1398556713","1398556718","1398556706"],"photo_ids_order":["1398556706","1398556710","1398556713","1398556716","1398556718","1398556720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5323f8f02b859d14b6c18e66a93d6d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1404670332369595820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_35_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9efd244b28daf61854cfca08aabfaf2.jpg","text":"TemporaryFile(/tmp/multipartBody3888835823407738510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_35_35_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db07ed20880d55870516d39396a42e83.jpg","text":"TemporaryFile(/tmp/multipartBody4216255767844782536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_35_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76580f770bf92c4ad596966dfb490d02.jpg","text":"TemporaryFile(/tmp/multipartBody4069708635360223042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_35_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e01325b40a2727e58d2c69ecb0b5542.jpg","text":"TemporaryFile(/tmp/multipartBody1726519114031932497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_35_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/458b3a25790747e86bfed6fc7f3a7ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1472255262645732209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315563582,"filename":"image_09122025_13_34_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556713","file1":"1398556710","file0":"1398556706","file4":"1398556718","file5":"1398556720","file3":"1398556716"},"map_files_photo_id_array":[{"photo_id":"1398556720","filename":"file5"},{"photo_id":"1398556713","filename":"file2"},{"photo_id":"1398556718","filename":"file4"},{"photo_id":"1398556710","filename":"file1"},{"photo_id":"1398556706","filename":"file0"},{"photo_id":"1398556716","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556720":["hashtag1","hashtag2"]},{"1398556716":["hashtag1","hashtag2"]},{"1398556710":["hashtag1","hashtag2"]},{"1398556713":["hashtag1","hashtag2"]},{"1398556718":["hashtag1","hashtag2"]},{"1398556706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556720, 1398556716, 1398556710, 1398556713, 1398556718, 1398556706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00476932525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:25:42.259136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_27_3844.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_29_2664.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_32_2665.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_35_3586.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_38_2603.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_41_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_27_3844.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_29_2664.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_32_2665.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_35_3586.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_38_2603.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_41_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556732","1398556734","1398556730","1398556733","1398556727","1398556738"],"photo_ids_order":["1398556727","1398556730","1398556732","1398556733","1398556734","1398556738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d233105bf65e98a74fed2b26345e1221.jpg","text":"TemporaryFile(/tmp/multipartBody6589370706425673462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_32_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42f70d1aa38ab0ea647d61ece006e04c.jpg","text":"TemporaryFile(/tmp/multipartBody6389189377353522352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_38_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7675fd8ed7dee3f0009bcd17292b9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2289037176555347913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_29_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/825025124b171744dd1c7b730df1e500.jpg","text":"TemporaryFile(/tmp/multipartBody139263218525292996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_35_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab6330baaa1dc9d97d96a878bddd2b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3692535888925247788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_27_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0167f1f694655bb0a7f585a66145cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody7436486884465425351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315603242,"filename":"image_01112025_19_52_41_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556732","file1":"1398556730","file0":"1398556727","file4":"1398556734","file5":"1398556738","file3":"1398556733"},"map_files_photo_id_array":[{"photo_id":"1398556738","filename":"file5"},{"photo_id":"1398556732","filename":"file2"},{"photo_id":"1398556734","filename":"file4"},{"photo_id":"1398556730","filename":"file1"},{"photo_id":"1398556727","filename":"file0"},{"photo_id":"1398556733","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556732":["hashtag1","hashtag2"]},{"1398556734":["hashtag1","hashtag2"]},{"1398556730":["hashtag1","hashtag2"]},{"1398556733":["hashtag1","hashtag2"]},{"1398556727":["hashtag1","hashtag2"]},{"1398556738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556732, 1398556734, 1398556730, 1398556733, 1398556727, 1398556738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.946845293045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:26:22.478959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/35/image_09122025_13_36_04_9776.jpg', '/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_15_10701.jpg', '/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_24_9607.jpg', '/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_34_9696.jpg', '/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_45_10776.jpg', '/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/35/image_09122025_13_36_04_9776.jpg
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_15_10701.jpg
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_24_9607.jpg
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_34_9696.jpg
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_45_10776.jpg
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_36_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556747","1398556752","1398556751","1398556753","1398556756","1398556750"],"photo_ids_order":["1398556747","1398556750","1398556751","1398556752","1398556753","1398556756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e44859e3f75d2c984d33ebe524b22a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7923946966028555137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e092d7334f5b74a23485c7a8340cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody669642610926099533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/48eb52f5e3bbe1b86e990234fbd63a68.jpg","text":"TemporaryFile(/tmp/multipartBody1899340634978035113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b98655d2367ba2d65e9557e55e4ceaa8.jpg","text":"TemporaryFile(/tmp/multipartBody6503915855353542203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b398926a36390132ad05e6ce6be1e4b1.jpg","text":"TemporaryFile(/tmp/multipartBody8006324790100662573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fda65c5758717fa030172fddf8241deb.jpg","text":"TemporaryFile(/tmp/multipartBody6763608500597317021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315643045,"filename":"image_09122025_13_36_15_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556751","file1":"1398556750","file0":"1398556747","file4":"1398556753","file5":"1398556756","file3":"1398556752"},"map_files_photo_id_array":[{"photo_id":"1398556756","filename":"file5"},{"photo_id":"1398556751","filename":"file2"},{"photo_id":"1398556753","filename":"file4"},{"photo_id":"1398556750","filename":"file1"},{"photo_id":"1398556747","filename":"file0"},{"photo_id":"1398556752","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556747":["hashtag1","hashtag2"]},{"1398556752":["hashtag1","hashtag2"]},{"1398556751":["hashtag1","hashtag2"]},{"1398556753":["hashtag1","hashtag2"]},{"1398556756":["hashtag1","hashtag2"]},{"1398556750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556747, 1398556752, 1398556751, 1398556753, 1398556756, 1398556750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25259184837341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:27:03.419797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/36/image_09122025_13_37_04_9648.jpg', '/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_15_10614.jpg', '/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_24_9615.jpg', '/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_35_10612.jpg', '/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_54_9760.jpg', '/home/pi/Desktop/images/09122025/13/37/image_09122025_13_38_04_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/36/image_09122025_13_37_04_9648.jpg
/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_15_10614.jpg
/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_24_9615.jpg
/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_35_10612.jpg
/home/pi/Desktop/images/09122025/13/37/image_09122025_13_37_54_9760.jpg
/home/pi/Desktop/images/09122025/13/37/image_09122025_13_38_04_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556770","1398556775","1398556769","1398556771","1398556768","1398556765"],"photo_ids_order":["1398556765","1398556768","1398556769","1398556770","1398556771","1398556775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/040e9b33117db59c5e0e6293d64ca878.jpg","text":"TemporaryFile(/tmp/multipartBody2797428874238457887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_37_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81384e1edd3a9900f6ef5b3a3137995f.jpg","text":"TemporaryFile(/tmp/multipartBody1625053980696034344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_38_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/883ec8ceba26e04f2ad59c8d475af510.jpg","text":"TemporaryFile(/tmp/multipartBody7285288074992449489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_37_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1bd1782db9d10deead661313e022638b.jpg","text":"TemporaryFile(/tmp/multipartBody5792928919609813871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_37_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a8cd76d03456ae72d5f1a8c0742821b.jpg","text":"TemporaryFile(/tmp/multipartBody5529395412515536630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_37_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20ae451ae44aa8c1c64d624dca240ead.jpg","text":"TemporaryFile(/tmp/multipartBody1879735779186671271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315684062,"filename":"image_09122025_13_37_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556769","file1":"1398556768","file0":"1398556765","file4":"1398556771","file5":"1398556775","file3":"1398556770"},"map_files_photo_id_array":[{"photo_id":"1398556775","filename":"file5"},{"photo_id":"1398556769","filename":"file2"},{"photo_id":"1398556771","filename":"file4"},{"photo_id":"1398556768","filename":"file1"},{"photo_id":"1398556765","filename":"file0"},{"photo_id":"1398556770","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556770":["hashtag1","hashtag2"]},{"1398556775":["hashtag1","hashtag2"]},{"1398556769":["hashtag1","hashtag2"]},{"1398556771":["hashtag1","hashtag2"]},{"1398556768":["hashtag1","hashtag2"]},{"1398556765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556770, 1398556775, 1398556769, 1398556771, 1398556768, 1398556765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99749302864075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:27:42.655013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_47_2738.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_50_2618.jpg', '/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_59_2760.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_02_3667.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_05_2574.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_08_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_47_2738.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_50_2618.jpg
/home/pi/Desktop/images/01112025/19/52/image_01112025_19_52_59_2760.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_02_3667.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_05_2574.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_08_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556788","1398556793","1398556787","1398556790","1398556784","1398556789"],"photo_ids_order":["1398556784","1398556787","1398556788","1398556789","1398556790","1398556793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c4305e290da0c3c43c7ad3ff4d579b0.jpg","text":"TemporaryFile(/tmp/multipartBody7011528384192266917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_52_59_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a90d7f63c2e1cf946ee70cddb752a7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4202630162457182059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_53_08_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ab16b815b4edf179b586963eac4824a.jpg","text":"TemporaryFile(/tmp/multipartBody7451797834922671798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_52_50_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/632dfad364ddf7b94dadab19bddd5811.jpg","text":"TemporaryFile(/tmp/multipartBody4848479472640276549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_53_05_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67a05f90d9e23b1a344107bea4fe7116.jpg","text":"TemporaryFile(/tmp/multipartBody1518498848154049689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_52_47_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c52566bfd0c488a1da566d447dd58572.jpg","text":"TemporaryFile(/tmp/multipartBody1636908221387412793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315723662,"filename":"image_01112025_19_53_02_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556788","file1":"1398556787","file0":"1398556784","file4":"1398556790","file5":"1398556793","file3":"1398556789"},"map_files_photo_id_array":[{"photo_id":"1398556793","filename":"file5"},{"photo_id":"1398556788","filename":"file2"},{"photo_id":"1398556790","filename":"file4"},{"photo_id":"1398556787","filename":"file1"},{"photo_id":"1398556784","filename":"file0"},{"photo_id":"1398556789","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556788":["hashtag1","hashtag2"]},{"1398556793":["hashtag1","hashtag2"]},{"1398556787":["hashtag1","hashtag2"]},{"1398556790":["hashtag1","hashtag2"]},{"1398556784":["hashtag1","hashtag2"]},{"1398556789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556788, 1398556793, 1398556787, 1398556790, 1398556784, 1398556789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91901111602783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:28:21.865967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_14_10001.jpg', '/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_25_10635.jpg', '/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_34_9798.jpg', '/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_44_9665.jpg', '/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_55_10681.jpg', '/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_14_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_14_10001.jpg
/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_25_10635.jpg
/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_34_9798.jpg
/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_44_9665.jpg
/home/pi/Desktop/images/09122025/13/38/image_09122025_13_38_55_10681.jpg
/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_14_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556804","1398556813","1398556807","1398556801","1398556809","1398556806"],"photo_ids_order":["1398556801","1398556804","1398556806","1398556807","1398556809","1398556813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a0d78415d9c7fed274944a7d218601e.jpg","text":"TemporaryFile(/tmp/multipartBody9093222589242227741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_38_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1114d0cfb0947775ca2707e726545c59.jpg","text":"TemporaryFile(/tmp/multipartBody7326273024396197398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_39_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/495c38fce3301dc32818bf2702c9dbff.jpg","text":"TemporaryFile(/tmp/multipartBody2374556675270603033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_38_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e8396629a35c22570cd67141e8390e2.jpg","text":"TemporaryFile(/tmp/multipartBody1538144060041737835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_38_14_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1eea701f241a3b2d0d8e6eb479c9039.jpg","text":"TemporaryFile(/tmp/multipartBody7420160574926534628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_38_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/630cd0ceb14ddb790253f8bc2c959cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5833908208137375588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315762429,"filename":"image_09122025_13_38_34_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556806","file1":"1398556804","file0":"1398556801","file4":"1398556809","file5":"1398556813","file3":"1398556807"},"map_files_photo_id_array":[{"photo_id":"1398556813","filename":"file5"},{"photo_id":"1398556806","filename":"file2"},{"photo_id":"1398556809","filename":"file4"},{"photo_id":"1398556804","filename":"file1"},{"photo_id":"1398556801","filename":"file0"},{"photo_id":"1398556807","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556804":["hashtag1","hashtag2"]},{"1398556813":["hashtag1","hashtag2"]},{"1398556807":["hashtag1","hashtag2"]},{"1398556801":["hashtag1","hashtag2"]},{"1398556809":["hashtag1","hashtag2"]},{"1398556806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556804, 1398556813, 1398556807, 1398556801, 1398556809, 1398556806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70645213127136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:29:03.127398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_25_10785.jpg', '/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_44_9769.jpg', '/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_54_9972.jpg', '/home/pi/Desktop/images/09122025/13/39/image_09122025_13_40_05_10579.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_14_9602.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_25_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_25_10785.jpg
/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_44_9769.jpg
/home/pi/Desktop/images/09122025/13/39/image_09122025_13_39_54_9972.jpg
/home/pi/Desktop/images/09122025/13/39/image_09122025_13_40_05_10579.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_14_9602.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_25_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556831","1398556825","1398556827","1398556829","1398556834","1398556822"],"photo_ids_order":["1398556822","1398556825","1398556827","1398556829","1398556831","1398556834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f179a38e8f033d27fbd2321a21a132fd.jpg","text":"TemporaryFile(/tmp/multipartBody5030379622651343791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_40_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0faf35d0b79b0bd750bf72c783f7db9.jpg","text":"TemporaryFile(/tmp/multipartBody2908934498851014415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_39_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a6909ab7e5c9816c03c5dfc68f4bdca8.jpg","text":"TemporaryFile(/tmp/multipartBody3930286096610888589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_39_54_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea4c3a330522f359e7c842c7fb69f236.jpg","text":"TemporaryFile(/tmp/multipartBody3340270531249531144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_40_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9e6a83bfa8407d86e1895a7c05bb593.jpg","text":"TemporaryFile(/tmp/multipartBody8994752287716339628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_40_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c986c55825335ff87d98f5fa621138c3.jpg","text":"TemporaryFile(/tmp/multipartBody7456636464353316346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315803838,"filename":"image_09122025_13_39_25_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556827","file1":"1398556825","file0":"1398556822","file4":"1398556831","file5":"1398556834","file3":"1398556829"},"map_files_photo_id_array":[{"photo_id":"1398556834","filename":"file5"},{"photo_id":"1398556827","filename":"file2"},{"photo_id":"1398556831","filename":"file4"},{"photo_id":"1398556825","filename":"file1"},{"photo_id":"1398556822","filename":"file0"},{"photo_id":"1398556829","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556831":["hashtag1","hashtag2"]},{"1398556825":["hashtag1","hashtag2"]},{"1398556827":["hashtag1","hashtag2"]},{"1398556829":["hashtag1","hashtag2"]},{"1398556834":["hashtag1","hashtag2"]},{"1398556822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556831, 1398556825, 1398556827, 1398556829, 1398556834, 1398556822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48943591117859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:29:42.040554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_11_3164.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_14_2813.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_17_3559.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_20_2644.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_24_3718.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_32_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_11_3164.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_14_2813.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_17_3559.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_20_2644.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_24_3718.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_32_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556846","1398556851","1398556848","1398556856","1398556853","1398556843"],"photo_ids_order":["1398556843","1398556846","1398556848","1398556851","1398556853","1398556856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f244fec9b3154a1eb6333786e7038ace.jpg","text":"TemporaryFile(/tmp/multipartBody4375210173446234551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_14_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afdab904bff97e6edc8149f5d15a2980.jpg","text":"TemporaryFile(/tmp/multipartBody1488786080139917636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_20_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd077bf447458263f86a9ffee672c147.jpg","text":"TemporaryFile(/tmp/multipartBody2847451468864992640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_17_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29f9dee9ddf7302d2bbb010539fb18d3.jpg","text":"TemporaryFile(/tmp/multipartBody5273613744564482640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_32_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e87826525f7088f537f6aa994953c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4088203046592539930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_24_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aa07313bbcea13a8c63ea7be11b5b969.jpg","text":"TemporaryFile(/tmp/multipartBody4649271809375814952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315843019,"filename":"image_01112025_19_53_11_3164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556848","file1":"1398556846","file0":"1398556843","file4":"1398556853","file5":"1398556856","file3":"1398556851"},"map_files_photo_id_array":[{"photo_id":"1398556856","filename":"file5"},{"photo_id":"1398556848","filename":"file2"},{"photo_id":"1398556853","filename":"file4"},{"photo_id":"1398556846","filename":"file1"},{"photo_id":"1398556843","filename":"file0"},{"photo_id":"1398556851","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556846":["hashtag1","hashtag2"]},{"1398556851":["hashtag1","hashtag2"]},{"1398556848":["hashtag1","hashtag2"]},{"1398556856":["hashtag1","hashtag2"]},{"1398556853":["hashtag1","hashtag2"]},{"1398556843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556846, 1398556851, 1398556848, 1398556856, 1398556853, 1398556843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20973491668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:30:22.280216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_44_9634.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_55_10658.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_41_04_9492.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_14_9595.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_25_10694.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_44_9634.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_55_10658.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_41_04_9492.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_14_9595.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_25_10694.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_34_9632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4519376754760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:30:32.454500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/05/image_08122025_14_06_05_10691.jpg', '/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_15_9544.jpg', '/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_24_9771.jpg', '/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_34_9825.jpg', '/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_45_10586.jpg', '/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/05/image_08122025_14_06_05_10691.jpg
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_15_9544.jpg
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_24_9771.jpg
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_34_9825.jpg
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_45_10586.jpg
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_06_54_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556884","1398556868","1398556871","1398556879","1398556882","1398556876"],"photo_ids_order":["1398556868","1398556871","1398556876","1398556879","1398556882","1398556884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba1d7a73447555a6b1e821a592f15d80.jpg","text":"TemporaryFile(/tmp/multipartBody2456295353730802246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ced972ffe80b8b960a2914365faf35f5.jpg","text":"TemporaryFile(/tmp/multipartBody5957227165468694092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_05_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed9d07cd7e99437460caeeed134861ca.jpg","text":"TemporaryFile(/tmp/multipartBody3258500484057507345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_15_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ebeb7bafa2c184d1d5fff7a5c36b962f.jpg","text":"TemporaryFile(/tmp/multipartBody7902715038462580102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/746b7656502ac449c25c8ed34c7ef3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6419874386442482338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2e04df5999c4606cba0e699ea5b2eda.jpg","text":"TemporaryFile(/tmp/multipartBody769977368369126678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315894334,"filename":"image_08122025_14_06_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556876","file1":"1398556871","file0":"1398556868","file4":"1398556882","file5":"1398556884","file3":"1398556879"},"map_files_photo_id_array":[{"photo_id":"1398556884","filename":"file5"},{"photo_id":"1398556876","filename":"file2"},{"photo_id":"1398556882","filename":"file4"},{"photo_id":"1398556871","filename":"file1"},{"photo_id":"1398556868","filename":"file0"},{"photo_id":"1398556879","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556884":["hashtag1","hashtag2"]},{"1398556868":["hashtag1","hashtag2"]},{"1398556871":["hashtag1","hashtag2"]},{"1398556879":["hashtag1","hashtag2"]},{"1398556882":["hashtag1","hashtag2"]},{"1398556876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556884, 1398556868, 1398556871, 1398556879, 1398556882, 1398556876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86414909362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:31:12.698252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/06/image_08122025_14_07_05_10684.jpg', '/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_15_9673.jpg', '/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_24_9598.jpg', '/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_35_10726.jpg', '/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_45_9710.jpg', '/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/06/image_08122025_14_07_05_10684.jpg
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_15_9673.jpg
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_24_9598.jpg
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_35_10726.jpg
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_45_9710.jpg
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_07_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556900","1398556890","1398556902","1398556892","1398556895","1398556898"],"photo_ids_order":["1398556890","1398556892","1398556895","1398556898","1398556900","1398556902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d3b63dbafc432d9a116955ea7bdd9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2540940512706157851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf4e9a667d0a1d4e07f49b50b7cd76e7.jpg","text":"TemporaryFile(/tmp/multipartBody5312367832463248289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fea3b7506bdb5c96219414a7c1cd613.jpg","text":"TemporaryFile(/tmp/multipartBody854070852982043832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/207d6ff8e83e573c4e1762dfc55788cb.jpg","text":"TemporaryFile(/tmp/multipartBody5060506831621041981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0728dfd55671aa9bc2fac2aa3984c49.jpg","text":"TemporaryFile(/tmp/multipartBody1784673178838262539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_24_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/95f63decb14c53f1644444326fcbf4df.jpg","text":"TemporaryFile(/tmp/multipartBody4699515909475252208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315934505,"filename":"image_08122025_14_07_35_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556895","file1":"1398556892","file0":"1398556890","file4":"1398556900","file5":"1398556902","file3":"1398556898"},"map_files_photo_id_array":[{"photo_id":"1398556902","filename":"file5"},{"photo_id":"1398556895","filename":"file2"},{"photo_id":"1398556900","filename":"file4"},{"photo_id":"1398556892","filename":"file1"},{"photo_id":"1398556890","filename":"file0"},{"photo_id":"1398556898","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556900":["hashtag1","hashtag2"]},{"1398556890":["hashtag1","hashtag2"]},{"1398556902":["hashtag1","hashtag2"]},{"1398556892":["hashtag1","hashtag2"]},{"1398556895":["hashtag1","hashtag2"]},{"1398556898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556900, 1398556890, 1398556902, 1398556892, 1398556895, 1398556898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09793186187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:32:02.374467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_44_9634.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_55_10658.jpg', '/home/pi/Desktop/images/09122025/13/40/image_09122025_13_41_04_9492.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_14_9595.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_25_10694.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_44_9634.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_40_55_10658.jpg
/home/pi/Desktop/images/09122025/13/40/image_09122025_13_41_04_9492.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_14_9595.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_25_10694.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_34_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556918","1398556914","1398556923","1398556911","1398556916","1398556921"],"photo_ids_order":["1398556911","1398556914","1398556916","1398556918","1398556921","1398556923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1c6b078ff5abc25d8f6ae686892a271.jpg","text":"TemporaryFile(/tmp/multipartBody1249091444708861565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_41_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84c33faa1ce533c289051f96d9d8f916.jpg","text":"TemporaryFile(/tmp/multipartBody6200787199413670957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_40_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1999a8f1d29148be4d2d61b144ff791e.jpg","text":"TemporaryFile(/tmp/multipartBody8676258596100659513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_41_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fe851633546f036da00116767493084.jpg","text":"TemporaryFile(/tmp/multipartBody4273484497181222957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_40_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e70dae0bdfc64653fbfa3009ff2ab21.jpg","text":"TemporaryFile(/tmp/multipartBody2024650696682880816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_41_04_9492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74b9949b4fb27ffca65924fbcc37be64.jpg","text":"TemporaryFile(/tmp/multipartBody8527756428357596424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765315982963,"filename":"image_09122025_13_41_25_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556916","file1":"1398556914","file0":"1398556911","file4":"1398556921","file5":"1398556923","file3":"1398556918"},"map_files_photo_id_array":[{"photo_id":"1398556923","filename":"file5"},{"photo_id":"1398556916","filename":"file2"},{"photo_id":"1398556921","filename":"file4"},{"photo_id":"1398556914","filename":"file1"},{"photo_id":"1398556911","filename":"file0"},{"photo_id":"1398556918","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556918":["hashtag1","hashtag2"]},{"1398556914":["hashtag1","hashtag2"]},{"1398556923":["hashtag1","hashtag2"]},{"1398556911":["hashtag1","hashtag2"]},{"1398556916":["hashtag1","hashtag2"]},{"1398556921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556918, 1398556914, 1398556923, 1398556911, 1398556916, 1398556921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.856048583984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:32:41.851675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_35_2779.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_38_3762.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_41_2647.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_44_2609.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_47_3783.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_50_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_35_2779.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_38_3762.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_41_2647.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_44_2609.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_47_3783.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_50_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556939","1398556947","1398556929","1398556943","1398556946","1398556934"],"photo_ids_order":["1398556929","1398556934","1398556939","1398556943","1398556946","1398556947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1586eaa7088e9ef47cd4b56f1ba2827c.jpg","text":"TemporaryFile(/tmp/multipartBody4991047865387826350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe954d7f3649877be2a879f7266f6942.jpg","text":"TemporaryFile(/tmp/multipartBody3435365794494524556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_50_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cba844fdc337e5c1749ec77bd4a55288.jpg","text":"TemporaryFile(/tmp/multipartBody6121510355460884585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_35_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2f3e3885c6938b7d37cf4bae87f10815.jpg","text":"TemporaryFile(/tmp/multipartBody569188080168845833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_44_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/883e501337067b5906745c656c2654b0.jpg","text":"TemporaryFile(/tmp/multipartBody4282622854034306763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_47_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/781c399ff3c3112b6116139a1697c261.jpg","text":"TemporaryFile(/tmp/multipartBody3721084474764221695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316022833,"filename":"image_01112025_19_53_38_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556939","file1":"1398556934","file0":"1398556929","file4":"1398556946","file5":"1398556947","file3":"1398556943"},"map_files_photo_id_array":[{"photo_id":"1398556947","filename":"file5"},{"photo_id":"1398556939","filename":"file2"},{"photo_id":"1398556946","filename":"file4"},{"photo_id":"1398556934","filename":"file1"},{"photo_id":"1398556929","filename":"file0"},{"photo_id":"1398556943","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398556939":["hashtag1","hashtag2"]},{"1398556947":["hashtag1","hashtag2"]},{"1398556929":["hashtag1","hashtag2"]},{"1398556943":["hashtag1","hashtag2"]},{"1398556946":["hashtag1","hashtag2"]},{"1398556934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398556939, 1398556947, 1398556929, 1398556943, 1398556946, 1398556934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.543859243392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:33:24.644189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_44_9650.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_55_10605.jpg', '/home/pi/Desktop/images/09122025/13/41/image_09122025_13_42_04_9545.jpg', '/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_24_9601.jpg', '/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_45_10668.jpg', '/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_54_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_44_9650.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_41_55_10605.jpg
/home/pi/Desktop/images/09122025/13/41/image_09122025_13_42_04_9545.jpg
/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_24_9601.jpg
/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_45_10668.jpg
/home/pi/Desktop/images/09122025/13/42/image_09122025_13_42_54_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556968","1398556964","1398556951","1398556960","1398556954","1398556957"],"photo_ids_order":["1398556951","1398556954","1398556957","1398556960","1398556964","1398556968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9484af5af9f8be437aac6102c5a48ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5430751141716662269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_42_54_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e733eb6f23a98e049ad79d806712853f.jpg","text":"TemporaryFile(/tmp/multipartBody1071233515503628342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_42_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57c19f94b0096a81df07ca73e03198ed.jpg","text":"TemporaryFile(/tmp/multipartBody247718123794742393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_41_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/99069a9fe75681e2d83b22d928b0c24f.jpg","text":"TemporaryFile(/tmp/multipartBody2649746689503412101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_42_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ce1236eb3b14ff8b1bf09de955d42de.jpg","text":"TemporaryFile(/tmp/multipartBody7492762104315830722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_41_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73b68dd65cc3ee411aae3d11ce17f076.jpg","text":"TemporaryFile(/tmp/multipartBody2099431845921730628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316065198,"filename":"image_09122025_13_42_04_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556957","file1":"1398556954","file0":"1398556951","file4":"1398556964","file5":"1398556968","file3":"1398556960"},"map_files_photo_id_array":[{"photo_id":"1398556968","filename":"file5"},{"photo_id":"1398556957","filename":"file2"},{"photo_id":"1398556964","filename":"file4"},{"photo_id":"1398556954","filename":"file1"},{"photo_id":"1398556951","filename":"file0"},{"photo_id":"1398556960","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398556968":["hashtag1","hashtag2"]},{"1398556964":["hashtag1","hashtag2"]},{"1398556951":["hashtag1","hashtag2"]},{"1398556960":["hashtag1","hashtag2"]},{"1398556954":["hashtag1","hashtag2"]},{"1398556957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398556968, 1398556964, 1398556951, 1398556960, 1398556954, 1398556957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0464825630188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:34:11.867968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/07/image_08122025_14_08_05_10618.jpg', '/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_15_9626.jpg', '/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_24_9634.jpg', '/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_35_10614.jpg', '/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_45_9694.jpg', '/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_54_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/07/image_08122025_14_08_05_10618.jpg
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_15_9626.jpg
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_24_9634.jpg
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_35_10614.jpg
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_45_9694.jpg
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_08_54_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398556983","1398556986","1398556978","1398556987","1398556981","1398556975"],"photo_ids_order":["1398556975","1398556978","1398556981","1398556983","1398556986","1398556987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ba18dc1e491390c1c7ba83076ada5658.jpg","text":"TemporaryFile(/tmp/multipartBody3096057041319896154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e0bc3d17b17ef115e7f2789d0b0cfac.jpg","text":"TemporaryFile(/tmp/multipartBody2429827782491560530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50a759c0440a595af29692bdb0b0b19d.jpg","text":"TemporaryFile(/tmp/multipartBody4730579276025986075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d8c9c3a674506df70c78ca7e5cfa331.jpg","text":"TemporaryFile(/tmp/multipartBody5664360195494765740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0069185be0416c5796cd5002a05cb302.jpg","text":"TemporaryFile(/tmp/multipartBody5505528444139717066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6b9be1f33e3e33c5145e0824eec03f8.jpg","text":"TemporaryFile(/tmp/multipartBody7724817949731569982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316113688,"filename":"image_08122025_14_08_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398556981","file1":"1398556978","file0":"1398556975","file4":"1398556986","file5":"1398556987","file3":"1398556983"},"map_files_photo_id_array":[{"photo_id":"1398556987","filename":"file5"},{"photo_id":"1398556981","filename":"file2"},{"photo_id":"1398556986","filename":"file4"},{"photo_id":"1398556978","filename":"file1"},{"photo_id":"1398556975","filename":"file0"},{"photo_id":"1398556983","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398556983":["hashtag1","hashtag2"]},{"1398556986":["hashtag1","hashtag2"]},{"1398556978":["hashtag1","hashtag2"]},{"1398556987":["hashtag1","hashtag2"]},{"1398556981":["hashtag1","hashtag2"]},{"1398556975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398556983, 1398556986, 1398556978, 1398556987, 1398556981, 1398556975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52223038673401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:35:02.802199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/42/image_09122025_13_43_04_9682.jpg', '/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_15_10688.jpg', '/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_24_9552.jpg', '/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_35_10625.jpg', '/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_45_9694.jpg', '/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_54_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/42/image_09122025_13_43_04_9682.jpg
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_15_10688.jpg
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_24_9552.jpg
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_35_10625.jpg
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_45_9694.jpg
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_43_54_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557043","1398557052","1398557025","1398557036","1398557083","1398557044"],"photo_ids_order":["1398557025","1398557036","1398557043","1398557044","1398557052","1398557083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce5ac140d838d362490583b99da4bf60.jpg","text":"TemporaryFile(/tmp/multipartBody9167981951071294527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3d61f168e4776d24b813a826fc1dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody2573408709675143317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74ce8734669d37b5ddea347e24a1e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5305159221532548947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b9cb1d7580ab779aaf3d12613efc91e0.jpg","text":"TemporaryFile(/tmp/multipartBody8961036480538586908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8593b28196e92e6491efdc3b5a50822c.jpg","text":"TemporaryFile(/tmp/multipartBody2088613407951198703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f95c4a27b4a588f98f2a0fa3fc29d99.jpg","text":"TemporaryFile(/tmp/multipartBody2360279688597693534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316163407,"filename":"image_09122025_13_43_35_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557043","file1":"1398557036","file0":"1398557025","file4":"1398557052","file5":"1398557083","file3":"1398557044"},"map_files_photo_id_array":[{"photo_id":"1398557083","filename":"file5"},{"photo_id":"1398557043","filename":"file2"},{"photo_id":"1398557052","filename":"file4"},{"photo_id":"1398557036","filename":"file1"},{"photo_id":"1398557025","filename":"file0"},{"photo_id":"1398557044","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557043":["hashtag1","hashtag2"]},{"1398557052":["hashtag1","hashtag2"]},{"1398557025":["hashtag1","hashtag2"]},{"1398557036":["hashtag1","hashtag2"]},{"1398557083":["hashtag1","hashtag2"]},{"1398557044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557043, 1398557052, 1398557025, 1398557036, 1398557083, 1398557044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.257052421569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:35:42.138517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_53_2950.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_56_2608.jpg', '/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_59_3673.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_02_2721.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_05_2691.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_07_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_53_2950.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_56_2608.jpg
/home/pi/Desktop/images/01112025/19/53/image_01112025_19_53_59_3673.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_02_2721.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_05_2691.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_07_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557097","1398557091","1398557099","1398557096","1398557102","1398557095"],"photo_ids_order":["1398557091","1398557095","1398557096","1398557097","1398557099","1398557102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ccedcac6fcb92b241291688b0aec5632.jpg","text":"TemporaryFile(/tmp/multipartBody9094467036037696041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_54_02_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f16e46db05a687245be308ba7f9bb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1451402866000967185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_53_53_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7d09ca72fb2ac406d2640fae86e95a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6420729282899137761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_54_05_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/821682add95cdbeb99a31dd92b09b142.jpg","text":"TemporaryFile(/tmp/multipartBody7966042384664048539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_53_59_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c4d436efce0d5680d2bf7d0436d06b2.jpg","text":"TemporaryFile(/tmp/multipartBody7450569016184188901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_54_07_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54141dca928178da4d50ef5d2d39d8dd.jpg","text":"TemporaryFile(/tmp/multipartBody3573356722961334670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316203151,"filename":"image_01112025_19_53_56_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557096","file1":"1398557095","file0":"1398557091","file4":"1398557099","file5":"1398557102","file3":"1398557097"},"map_files_photo_id_array":[{"photo_id":"1398557102","filename":"file5"},{"photo_id":"1398557096","filename":"file2"},{"photo_id":"1398557099","filename":"file4"},{"photo_id":"1398557095","filename":"file1"},{"photo_id":"1398557091","filename":"file0"},{"photo_id":"1398557097","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557097":["hashtag1","hashtag2"]},{"1398557091":["hashtag1","hashtag2"]},{"1398557099":["hashtag1","hashtag2"]},{"1398557096":["hashtag1","hashtag2"]},{"1398557102":["hashtag1","hashtag2"]},{"1398557095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557097, 1398557091, 1398557099, 1398557096, 1398557102, 1398557095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28088712692261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:36:22.417375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/43/image_09122025_13_44_05_10638.jpg', '/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_24_9625.jpg', '/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_35_10656.jpg', '/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_54_9660.jpg', '/home/pi/Desktop/images/09122025/13/44/image_09122025_13_45_05_10716.jpg', '/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_15_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/43/image_09122025_13_44_05_10638.jpg
/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_24_9625.jpg
/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_35_10656.jpg
/home/pi/Desktop/images/09122025/13/44/image_09122025_13_44_54_9660.jpg
/home/pi/Desktop/images/09122025/13/44/image_09122025_13_45_05_10716.jpg
/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_15_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557120","1398557123","1398557117","1398557111","1398557114","1398557113"],"photo_ids_order":["1398557111","1398557113","1398557114","1398557117","1398557120","1398557123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2f8136231e7617aece495dac52585645.jpg","text":"TemporaryFile(/tmp/multipartBody2994840944226777338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_45_05_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bbc63a1f7e553cb8f842adcdcaaa362.jpg","text":"TemporaryFile(/tmp/multipartBody4120335987476239627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_45_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/155543ef1f01e24633d94951f23ac0de.jpg","text":"TemporaryFile(/tmp/multipartBody1967488313121832092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_44_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e947a04501f1d1f2aea3649677ea2999.jpg","text":"TemporaryFile(/tmp/multipartBody2057553337557315118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_44_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23acbcf92924264a50412f896d2bfd95.jpg","text":"TemporaryFile(/tmp/multipartBody1277003782028479975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_44_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d99c5c0f7bc1ce46faf5567b0519cab.jpg","text":"TemporaryFile(/tmp/multipartBody1751360088501928984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316243007,"filename":"image_09122025_13_44_24_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557114","file1":"1398557113","file0":"1398557111","file4":"1398557120","file5":"1398557123","file3":"1398557117"},"map_files_photo_id_array":[{"photo_id":"1398557123","filename":"file5"},{"photo_id":"1398557114","filename":"file2"},{"photo_id":"1398557120","filename":"file4"},{"photo_id":"1398557113","filename":"file1"},{"photo_id":"1398557111","filename":"file0"},{"photo_id":"1398557117","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557120":["hashtag1","hashtag2"]},{"1398557123":["hashtag1","hashtag2"]},{"1398557117":["hashtag1","hashtag2"]},{"1398557111":["hashtag1","hashtag2"]},{"1398557114":["hashtag1","hashtag2"]},{"1398557113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557120, 1398557123, 1398557117, 1398557111, 1398557114, 1398557113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90508842468262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:37:03.186870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_34_9694.jpg', '/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_45_10579.jpg', '/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_54_9711.jpg', '/home/pi/Desktop/images/09122025/13/45/image_09122025_13_46_04_9765.jpg', '/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_15_10568.jpg', '/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_24_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_34_9694.jpg
/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_45_10579.jpg
/home/pi/Desktop/images/09122025/13/45/image_09122025_13_45_54_9711.jpg
/home/pi/Desktop/images/09122025/13/45/image_09122025_13_46_04_9765.jpg
/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_15_10568.jpg
/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_24_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557139","1398557136","1398557141","1398557138","1398557131","1398557134"],"photo_ids_order":["1398557131","1398557134","1398557136","1398557138","1398557139","1398557141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/131f5e33962d29ae0e22f7506dfd1ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7246676760351230600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_46_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8adb0f76331d18882487fa9c4e86aaa.jpg","text":"TemporaryFile(/tmp/multipartBody7181027378672393632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_45_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea5695ca968be6b98aacd09d14519fca.jpg","text":"TemporaryFile(/tmp/multipartBody4066367377032893776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_46_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7cba15c1c568e5e2003b3741e9ead06.jpg","text":"TemporaryFile(/tmp/multipartBody6754695132369194745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_46_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/721035168f895c1d44ed91e46bd7f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody8082501156512136065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_45_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02e3409a84fa98f47f447bbde3f7172a.jpg","text":"TemporaryFile(/tmp/multipartBody8728843991802144854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316283845,"filename":"image_09122025_13_45_45_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557136","file1":"1398557134","file0":"1398557131","file4":"1398557139","file5":"1398557141","file3":"1398557138"},"map_files_photo_id_array":[{"photo_id":"1398557141","filename":"file5"},{"photo_id":"1398557136","filename":"file2"},{"photo_id":"1398557139","filename":"file4"},{"photo_id":"1398557134","filename":"file1"},{"photo_id":"1398557131","filename":"file0"},{"photo_id":"1398557138","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557139":["hashtag1","hashtag2"]},{"1398557136":["hashtag1","hashtag2"]},{"1398557141":["hashtag1","hashtag2"]},{"1398557138":["hashtag1","hashtag2"]},{"1398557131":["hashtag1","hashtag2"]},{"1398557134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557139, 1398557136, 1398557141, 1398557138, 1398557131, 1398557134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.784733057022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:37:42.728957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_17_3552.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_20_2668.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_26_6220.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_28_1632.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_30_1651.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_32_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_17_3552.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_20_2668.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_26_6220.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_28_1632.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_30_1651.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_32_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557160","1398557154","1398557157","1398557151","1398557156","1398557158"],"photo_ids_order":["1398557151","1398557154","1398557156","1398557157","1398557158","1398557160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/43fd5a872fc4b54091313ebde73dd4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6766705183283092287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_32_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5cc65fcb9e1c731cc139811529040d0c.jpg","text":"TemporaryFile(/tmp/multipartBody9155409512666620484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e6c7200b58c5ecd613bc2e6afccc737.jpg","text":"TemporaryFile(/tmp/multipartBody4588048457788798952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_28_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0fd022394e725391099a7f232bf28b45.jpg","text":"TemporaryFile(/tmp/multipartBody1132032042691961704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_17_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f03744d2d7b55b160a2b025c3e60617a.jpg","text":"TemporaryFile(/tmp/multipartBody5144763795797956691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_26_6220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6766b0fbf3b21f7e8e219dc9a275a72c.jpg","text":"TemporaryFile(/tmp/multipartBody7097914203472165128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316323695,"filename":"image_01112025_19_54_30_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557156","file1":"1398557154","file0":"1398557151","file4":"1398557158","file5":"1398557160","file3":"1398557157"},"map_files_photo_id_array":[{"photo_id":"1398557160","filename":"file5"},{"photo_id":"1398557156","filename":"file2"},{"photo_id":"1398557158","filename":"file4"},{"photo_id":"1398557154","filename":"file1"},{"photo_id":"1398557151","filename":"file0"},{"photo_id":"1398557157","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557160":["hashtag1","hashtag2"]},{"1398557154":["hashtag1","hashtag2"]},{"1398557157":["hashtag1","hashtag2"]},{"1398557151":["hashtag1","hashtag2"]},{"1398557156":["hashtag1","hashtag2"]},{"1398557158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557160, 1398557154, 1398557157, 1398557151, 1398557156, 1398557158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8381507396698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:38:22.005364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_34_9803.jpg', '/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_45_10662.jpg', '/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_54_9764.jpg', '/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_15_10603.jpg', '/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_34_9655.jpg', '/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_45_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_34_9803.jpg
/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_45_10662.jpg
/home/pi/Desktop/images/09122025/13/46/image_09122025_13_46_54_9764.jpg
/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_15_10603.jpg
/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_34_9655.jpg
/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_45_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557175","1398557184","1398557171","1398557182","1398557185","1398557188"],"photo_ids_order":["1398557171","1398557175","1398557182","1398557184","1398557185","1398557188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25213bbf84e70c85c5a9014a91253706.jpg","text":"TemporaryFile(/tmp/multipartBody6268427363766889665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_46_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/23dad8c4cdf2dad6c6887c159c68b348.jpg","text":"TemporaryFile(/tmp/multipartBody4399707429216042210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_47_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b05b019e3c74ad995391e7035db3c3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5009827214178524183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_46_34_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/874ff380f2bd7180e8a3ae10cf455031.jpg","text":"TemporaryFile(/tmp/multipartBody2696836648914398583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_46_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab4fdb3d8f0dd7ae3f29d21f9a0b8048.jpg","text":"TemporaryFile(/tmp/multipartBody6320121508989892962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_47_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/52154a9a306ea0c3ef2741f5a2dc87b2.jpg","text":"TemporaryFile(/tmp/multipartBody4117905675464501470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316362566,"filename":"image_09122025_13_47_45_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557182","file1":"1398557175","file0":"1398557171","file4":"1398557185","file5":"1398557188","file3":"1398557184"},"map_files_photo_id_array":[{"photo_id":"1398557188","filename":"file5"},{"photo_id":"1398557182","filename":"file2"},{"photo_id":"1398557185","filename":"file4"},{"photo_id":"1398557175","filename":"file1"},{"photo_id":"1398557171","filename":"file0"},{"photo_id":"1398557184","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557175":["hashtag1","hashtag2"]},{"1398557184":["hashtag1","hashtag2"]},{"1398557171":["hashtag1","hashtag2"]},{"1398557182":["hashtag1","hashtag2"]},{"1398557185":["hashtag1","hashtag2"]},{"1398557188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557175, 1398557184, 1398557171, 1398557182, 1398557185, 1398557188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43073129653931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:39:03.161486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_55_9795.jpg', '/home/pi/Desktop/images/09122025/13/47/image_09122025_13_48_04_9526.jpg', '/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_15_10739.jpg', '/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_25_9758.jpg', '/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_55_10617.jpg', '/home/pi/Desktop/images/09122025/13/48/image_09122025_13_49_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/47/image_09122025_13_47_55_9795.jpg
/home/pi/Desktop/images/09122025/13/47/image_09122025_13_48_04_9526.jpg
/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_15_10739.jpg
/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_25_9758.jpg
/home/pi/Desktop/images/09122025/13/48/image_09122025_13_48_55_10617.jpg
/home/pi/Desktop/images/09122025/13/48/image_09122025_13_49_04_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557206","1398557205","1398557208","1398557202","1398557204","1398557199"],"photo_ids_order":["1398557199","1398557202","1398557204","1398557205","1398557206","1398557208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b26ba040e11508177765167febe84ea.jpg","text":"TemporaryFile(/tmp/multipartBody8526753310409508085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_48_55_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4971fc0e2d2c2f040d969adc9d7417a7.jpg","text":"TemporaryFile(/tmp/multipartBody2305978160728501542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_48_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/273502483e5be70f44346016ab4c9252.jpg","text":"TemporaryFile(/tmp/multipartBody5535369963513442155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_49_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d62f68633cc1c90f7b673cedf869773b.jpg","text":"TemporaryFile(/tmp/multipartBody2955705619248353142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_48_04_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/268e150f5c23544c957b1cff4b46df50.jpg","text":"TemporaryFile(/tmp/multipartBody3794505268965277621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_48_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/346bd5802a35aa45a49c9fbc619cac26.jpg","text":"TemporaryFile(/tmp/multipartBody2451660879023377377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316403827,"filename":"image_09122025_13_47_55_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557204","file1":"1398557202","file0":"1398557199","file4":"1398557206","file5":"1398557208","file3":"1398557205"},"map_files_photo_id_array":[{"photo_id":"1398557208","filename":"file5"},{"photo_id":"1398557204","filename":"file2"},{"photo_id":"1398557206","filename":"file4"},{"photo_id":"1398557202","filename":"file1"},{"photo_id":"1398557199","filename":"file0"},{"photo_id":"1398557205","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557206":["hashtag1","hashtag2"]},{"1398557205":["hashtag1","hashtag2"]},{"1398557208":["hashtag1","hashtag2"]},{"1398557202":["hashtag1","hashtag2"]},{"1398557204":["hashtag1","hashtag2"]},{"1398557199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557206, 1398557205, 1398557208, 1398557202, 1398557204, 1398557199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.365158557891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:39:42.143628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_35_3045.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_38_2689.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_41_2726.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_44_3592.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_47_2657.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_53_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_35_3045.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_38_2689.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_41_2726.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_44_3592.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_47_2657.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_53_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557217","1398557226","1398557229","1398557222","1398557225","1398557224"],"photo_ids_order":["1398557217","1398557222","1398557224","1398557225","1398557226","1398557229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f3a65144c29ac2b10c2e268dc07904e.jpg","text":"TemporaryFile(/tmp/multipartBody230428094852288858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_35_3045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd4cf7d9f5d0b701aebb7a0cc7b7c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2700746242086795207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ded5d5be644f3aa6085821b892f0bb86.jpg","text":"TemporaryFile(/tmp/multipartBody4428407006847961367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_53_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66d62a34c3179c081b060524222d406e.jpg","text":"TemporaryFile(/tmp/multipartBody1662900833711626362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_38_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df6bc987267209332482f23d16be2d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7310294707265507216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_44_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89ba057a499e0760eb1cefc8846e384e.jpg","text":"TemporaryFile(/tmp/multipartBody8332287187160393986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316443134,"filename":"image_01112025_19_54_41_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557224","file1":"1398557222","file0":"1398557217","file4":"1398557226","file5":"1398557229","file3":"1398557225"},"map_files_photo_id_array":[{"photo_id":"1398557229","filename":"file5"},{"photo_id":"1398557224","filename":"file2"},{"photo_id":"1398557226","filename":"file4"},{"photo_id":"1398557222","filename":"file1"},{"photo_id":"1398557217","filename":"file0"},{"photo_id":"1398557225","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557217":["hashtag1","hashtag2"]},{"1398557226":["hashtag1","hashtag2"]},{"1398557229":["hashtag1","hashtag2"]},{"1398557222":["hashtag1","hashtag2"]},{"1398557225":["hashtag1","hashtag2"]},{"1398557224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557217, 1398557226, 1398557229, 1398557222, 1398557225, 1398557224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.347177028656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:40:22.367269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_14_9682.jpg', '/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_34_9544.jpg', '/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_45_10743.jpg', '/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_55_9706.jpg', '/home/pi/Desktop/images/09122025/13/49/image_09122025_13_50_04_9579.jpg', '/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_14_9682.jpg
/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_34_9544.jpg
/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_45_10743.jpg
/home/pi/Desktop/images/09122025/13/49/image_09122025_13_49_55_9706.jpg
/home/pi/Desktop/images/09122025/13/49/image_09122025_13_50_04_9579.jpg
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_15_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557244","1398557238","1398557240","1398557243","1398557248","1398557242"],"photo_ids_order":["1398557238","1398557240","1398557242","1398557243","1398557244","1398557248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80eecd00532ed5977f835a804eed3f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8462088148149999024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_50_04_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d59f35fd1933d5d98930e7d38a7ea5d.jpg","text":"TemporaryFile(/tmp/multipartBody5752078487123402911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_49_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e79f15972c39f461bce5e2b582bb1851.jpg","text":"TemporaryFile(/tmp/multipartBody833769421331543512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_49_34_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/feea04913d2c8c5206a625ebcccbf011.jpg","text":"TemporaryFile(/tmp/multipartBody5648293365440624361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_49_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ad63e25ec13d61d82b8cd99f6e54b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6042510342492178996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_50_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/024ed6e29479332eef31c57ece9e4c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4710197737703642183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316482929,"filename":"image_09122025_13_49_45_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557242","file1":"1398557240","file0":"1398557238","file4":"1398557244","file5":"1398557248","file3":"1398557243"},"map_files_photo_id_array":[{"photo_id":"1398557248","filename":"file5"},{"photo_id":"1398557242","filename":"file2"},{"photo_id":"1398557244","filename":"file4"},{"photo_id":"1398557240","filename":"file1"},{"photo_id":"1398557238","filename":"file0"},{"photo_id":"1398557243","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557244":["hashtag1","hashtag2"]},{"1398557238":["hashtag1","hashtag2"]},{"1398557240":["hashtag1","hashtag2"]},{"1398557243":["hashtag1","hashtag2"]},{"1398557248":["hashtag1","hashtag2"]},{"1398557242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557244, 1398557238, 1398557240, 1398557243, 1398557248, 1398557242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59795618057251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:41:03.385453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_24_9526.jpg', '/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_34_9726.jpg', '/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_45_10643.jpg', '/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_54_9671.jpg', '/home/pi/Desktop/images/09122025/13/50/image_09122025_13_51_04_9659.jpg', '/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_15_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_24_9526.jpg
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_34_9726.jpg
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_45_10643.jpg
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_50_54_9671.jpg
/home/pi/Desktop/images/09122025/13/50/image_09122025_13_51_04_9659.jpg
/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_15_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557262","1398557265","1398557255","1398557258","1398557266","1398557260"],"photo_ids_order":["1398557255","1398557258","1398557260","1398557262","1398557265","1398557266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4255f6543215893d7ce15b4f15e58497.jpg","text":"TemporaryFile(/tmp/multipartBody6544654453343632657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_50_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ea6870e604376fd556e411aaa6b3514c.jpg","text":"TemporaryFile(/tmp/multipartBody5672024370362812634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_51_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/660569f21913227718032460bbdf93f4.jpg","text":"TemporaryFile(/tmp/multipartBody576225280501623708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_50_24_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da836ee72851c48b81aed84ef22f6c36.jpg","text":"TemporaryFile(/tmp/multipartBody7989851175895601587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_50_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ce8c23e2ea5993122938bcf77ee7fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6612607468409490698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_51_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c138d92f2aa714618e76baa41f40e1dc.jpg","text":"TemporaryFile(/tmp/multipartBody9147306030676373780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316524001,"filename":"image_09122025_13_50_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557260","file1":"1398557258","file0":"1398557255","file4":"1398557265","file5":"1398557266","file3":"1398557262"},"map_files_photo_id_array":[{"photo_id":"1398557266","filename":"file5"},{"photo_id":"1398557260","filename":"file2"},{"photo_id":"1398557265","filename":"file4"},{"photo_id":"1398557258","filename":"file1"},{"photo_id":"1398557255","filename":"file0"},{"photo_id":"1398557262","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557262":["hashtag1","hashtag2"]},{"1398557265":["hashtag1","hashtag2"]},{"1398557255":["hashtag1","hashtag2"]},{"1398557258":["hashtag1","hashtag2"]},{"1398557266":["hashtag1","hashtag2"]},{"1398557260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557262, 1398557265, 1398557255, 1398557258, 1398557266, 1398557260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80036902427673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:41:42.656131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_56_2772.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_59_2749.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_02_3650.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_05_3011.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_08_2718.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_11_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_56_2772.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_59_2749.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_02_3650.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_05_3011.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_08_2718.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_11_2618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9157423973083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:42:02.291528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_25_9804.jpg', '/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_44_9691.jpg', '/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_55_10692.jpg', '/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_14_9740.jpg', '/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_25_10663.jpg', '/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_25_9804.jpg
/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_44_9691.jpg
/home/pi/Desktop/images/09122025/13/51/image_09122025_13_51_55_10692.jpg
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_14_9740.jpg
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_25_10663.jpg
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_34_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557283","1398557293","1398557287","1398557296","1398557290","1398557298"],"photo_ids_order":["1398557283","1398557287","1398557290","1398557293","1398557296","1398557298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c2eae616ee065af13eea8b234728fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6104010349510472536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_51_25_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a00c6075cb964e2d96d81d67d7801de6.jpg","text":"TemporaryFile(/tmp/multipartBody980646273181101606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_52_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36bef63743708c00d5579496f7be9f53.jpg","text":"TemporaryFile(/tmp/multipartBody3440113326976554919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_51_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dec1a284694a1cfcbbb3dc635f8a80ab.jpg","text":"TemporaryFile(/tmp/multipartBody4488009587490256414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_52_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/510ebb5359b879a8b64099800961d545.jpg","text":"TemporaryFile(/tmp/multipartBody1423121315067012090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_51_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dce559aea65a2cc6ab5f16fd18e8a38c.jpg","text":"TemporaryFile(/tmp/multipartBody8692804061202728004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316582876,"filename":"image_09122025_13_52_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557290","file1":"1398557287","file0":"1398557283","file4":"1398557296","file5":"1398557298","file3":"1398557293"},"map_files_photo_id_array":[{"photo_id":"1398557298","filename":"file5"},{"photo_id":"1398557290","filename":"file2"},{"photo_id":"1398557296","filename":"file4"},{"photo_id":"1398557287","filename":"file1"},{"photo_id":"1398557283","filename":"file0"},{"photo_id":"1398557293","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557283":["hashtag1","hashtag2"]},{"1398557293":["hashtag1","hashtag2"]},{"1398557287":["hashtag1","hashtag2"]},{"1398557296":["hashtag1","hashtag2"]},{"1398557290":["hashtag1","hashtag2"]},{"1398557298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557283, 1398557293, 1398557287, 1398557296, 1398557290, 1398557298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56619477272034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:42:41.828088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_56_2772.jpg', '/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_59_2749.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_02_3650.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_05_3011.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_08_2718.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_11_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_56_2772.jpg
/home/pi/Desktop/images/01112025/19/54/image_01112025_19_54_59_2749.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_02_3650.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_05_3011.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_08_2718.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_11_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557305","1398557316","1398557310","1398557313","1398557318","1398557303"],"photo_ids_order":["1398557303","1398557305","1398557310","1398557313","1398557316","1398557318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7f75b138f39309a6f148ee5d9b31d03.jpg","text":"TemporaryFile(/tmp/multipartBody9016037211681358213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_54_59_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1d226caa352fd9ab53ba2156b870dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody549467835069730960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_55_08_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/78b9e893d2fd0a7845286f8e7a69470e.jpg","text":"TemporaryFile(/tmp/multipartBody8530916790586094932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_55_02_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e50959587ecfb61c0ac09e621c51e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody3041865547664596515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_55_05_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18451bccef553224d2b362d6802fdb7e.jpg","text":"TemporaryFile(/tmp/multipartBody2264205896682173554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_55_11_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/844872f7c8ff5f8651d9bb4d3103e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody1494627911182893049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316622779,"filename":"image_01112025_19_54_56_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557310","file1":"1398557305","file0":"1398557303","file4":"1398557316","file5":"1398557318","file3":"1398557313"},"map_files_photo_id_array":[{"photo_id":"1398557318","filename":"file5"},{"photo_id":"1398557310","filename":"file2"},{"photo_id":"1398557316","filename":"file4"},{"photo_id":"1398557305","filename":"file1"},{"photo_id":"1398557303","filename":"file0"},{"photo_id":"1398557313","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557305":["hashtag1","hashtag2"]},{"1398557316":["hashtag1","hashtag2"]},{"1398557310":["hashtag1","hashtag2"]},{"1398557313":["hashtag1","hashtag2"]},{"1398557318":["hashtag1","hashtag2"]},{"1398557303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557305, 1398557316, 1398557310, 1398557313, 1398557318, 1398557303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54640507698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:43:21.996577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_44_9586.jpg', '/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_55_10599.jpg', '/home/pi/Desktop/images/09122025/13/52/image_09122025_13_53_05_9879.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_14_9641.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_25_10613.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_35_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_44_9586.jpg
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_52_55_10599.jpg
/home/pi/Desktop/images/09122025/13/52/image_09122025_13_53_05_9879.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_14_9641.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_25_10613.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_35_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557334","1398557328","1398557321","1398557330","1398557326","1398557323"],"photo_ids_order":["1398557321","1398557323","1398557326","1398557328","1398557330","1398557334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b637020ee1a904cd6a2ddab183bbbe51.jpg","text":"TemporaryFile(/tmp/multipartBody97703293900056136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_53_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a2b4c87fc48210ade2edcc9f5bca5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7328647065758926919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_53_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92323c73a174667883f915e969e1fc94.jpg","text":"TemporaryFile(/tmp/multipartBody5456352278449344907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_52_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed49d1db9db8176f646fc6d82840dec0.jpg","text":"TemporaryFile(/tmp/multipartBody4989132034568281513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_53_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81015b7fdd7c2a01a882aa825aec371b.jpg","text":"TemporaryFile(/tmp/multipartBody6521281078636467413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_53_05_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1944204577850258f602eaef509c909e.jpg","text":"TemporaryFile(/tmp/multipartBody1101905394444580703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316662585,"filename":"image_09122025_13_52_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557326","file1":"1398557323","file0":"1398557321","file4":"1398557330","file5":"1398557334","file3":"1398557328"},"map_files_photo_id_array":[{"photo_id":"1398557334","filename":"file5"},{"photo_id":"1398557326","filename":"file2"},{"photo_id":"1398557330","filename":"file4"},{"photo_id":"1398557323","filename":"file1"},{"photo_id":"1398557321","filename":"file0"},{"photo_id":"1398557328","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557334":["hashtag1","hashtag2"]},{"1398557328":["hashtag1","hashtag2"]},{"1398557321":["hashtag1","hashtag2"]},{"1398557330":["hashtag1","hashtag2"]},{"1398557326":["hashtag1","hashtag2"]},{"1398557323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557334, 1398557328, 1398557321, 1398557330, 1398557326, 1398557323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30139088630676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:44:02.986820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_44_9647.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_55_10715.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_54_05_9837.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_14_9624.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_24_9833.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_35_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_44_9647.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_55_10715.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_54_05_9837.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_14_9624.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_24_9833.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_35_10545.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.504889965057373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:44:12.207399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/08/image_08122025_14_09_04_9800.jpg', '/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_15_10765.jpg', '/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_25_9782.jpg', '/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_34_9712.jpg', '/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_45_10541.jpg', '/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_55_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/08/image_08122025_14_09_04_9800.jpg
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_15_10765.jpg
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_25_9782.jpg
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_34_9712.jpg
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_45_10541.jpg
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_09_55_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557361","1398557349","1398557363","1398557357","1398557374","1398557353"],"photo_ids_order":["1398557349","1398557353","1398557357","1398557361","1398557363","1398557374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cbfb000fc8222184f44a23e1de7f1442.jpg","text":"TemporaryFile(/tmp/multipartBody8825665950175721187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9ab4c21504327eebb33cbc3344ca6547.jpg","text":"TemporaryFile(/tmp/multipartBody6016706733409015554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_04_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47d141540ec1f37c30db3c7901a7440a.jpg","text":"TemporaryFile(/tmp/multipartBody1290437107183472258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/19df0851ef107a3a4d4282b5f406ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody5289499132279713514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92d933e5d494273ca4e0bba4cf5a9522.jpg","text":"TemporaryFile(/tmp/multipartBody7601672539655139829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_55_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30b04f1a844c29cb8bc1e188406da16f.jpg","text":"TemporaryFile(/tmp/multipartBody762034757568067499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316714009,"filename":"image_08122025_14_09_15_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557357","file1":"1398557353","file0":"1398557349","file4":"1398557363","file5":"1398557374","file3":"1398557361"},"map_files_photo_id_array":[{"photo_id":"1398557374","filename":"file5"},{"photo_id":"1398557357","filename":"file2"},{"photo_id":"1398557363","filename":"file4"},{"photo_id":"1398557353","filename":"file1"},{"photo_id":"1398557349","filename":"file0"},{"photo_id":"1398557361","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398557361":["hashtag1","hashtag2"]},{"1398557349":["hashtag1","hashtag2"]},{"1398557363":["hashtag1","hashtag2"]},{"1398557357":["hashtag1","hashtag2"]},{"1398557374":["hashtag1","hashtag2"]},{"1398557353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398557361, 1398557349, 1398557363, 1398557357, 1398557374, 1398557353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.991628885269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:45:06.517451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_44_9647.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_55_10715.jpg', '/home/pi/Desktop/images/09122025/13/53/image_09122025_13_54_05_9837.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_14_9624.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_24_9833.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_35_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_44_9647.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_53_55_10715.jpg
/home/pi/Desktop/images/09122025/13/53/image_09122025_13_54_05_9837.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_14_9624.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_24_9833.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_35_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557396","1398557390","1398557393","1398557395","1398557398","1398557401"],"photo_ids_order":["1398557390","1398557393","1398557395","1398557396","1398557398","1398557401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83091b3e5b6cae09b2d69f6d1dea6457.jpg","text":"TemporaryFile(/tmp/multipartBody8668230650647983010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_54_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ac333f59d1b99dc08954c85b7247656.jpg","text":"TemporaryFile(/tmp/multipartBody8342734435872937128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_53_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/686c6fbcb9feb2c371564e215b3de65a.jpg","text":"TemporaryFile(/tmp/multipartBody3172301825050606751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_53_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2639e8fc9058b37667dedc76b7a132cc.jpg","text":"TemporaryFile(/tmp/multipartBody5052120322491752954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_54_05_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/088fa20ff5f58c34c587b1388552bf90.jpg","text":"TemporaryFile(/tmp/multipartBody1611875788094275861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_54_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce92bc4e4aa26d6303e956adc1084cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5493598177504405202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316767090,"filename":"image_09122025_13_54_35_10545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557395","file1":"1398557393","file0":"1398557390","file4":"1398557398","file5":"1398557401","file3":"1398557396"},"map_files_photo_id_array":[{"photo_id":"1398557401","filename":"file5"},{"photo_id":"1398557395","filename":"file2"},{"photo_id":"1398557398","filename":"file4"},{"photo_id":"1398557393","filename":"file1"},{"photo_id":"1398557390","filename":"file0"},{"photo_id":"1398557396","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557396":["hashtag1","hashtag2"]},{"1398557390":["hashtag1","hashtag2"]},{"1398557393":["hashtag1","hashtag2"]},{"1398557395":["hashtag1","hashtag2"]},{"1398557398":["hashtag1","hashtag2"]},{"1398557401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557396, 1398557390, 1398557393, 1398557395, 1398557398, 1398557401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838279724121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:46:02.411269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_44_9682.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_54_9655.jpg', '/home/pi/Desktop/images/09122025/13/54/image_09122025_13_55_04_10046.jpg', '/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_15_10564.jpg', '/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_24_9592.jpg', '/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_35_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_44_9682.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_54_54_9655.jpg
/home/pi/Desktop/images/09122025/13/54/image_09122025_13_55_04_10046.jpg
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_15_10564.jpg
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_24_9592.jpg
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_35_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557424","1398557420","1398557414","1398557417","1398557411","1398557422"],"photo_ids_order":["1398557411","1398557414","1398557417","1398557420","1398557422","1398557424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac397525199b362ccaac2580049a9424.jpg","text":"TemporaryFile(/tmp/multipartBody6692194632879000489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_55_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/322576f51612d06e2a21a00a429926e6.jpg","text":"TemporaryFile(/tmp/multipartBody487624171057777866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_55_15_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46a16213266dad391a897a22b9966185.jpg","text":"TemporaryFile(/tmp/multipartBody4968621225383031672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_54_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/674a4ab63f51dd80d08b98280b2d6a76.jpg","text":"TemporaryFile(/tmp/multipartBody5827366004533623351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_55_04_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1ed266d2536fb19cb3efdf02b40ca915.jpg","text":"TemporaryFile(/tmp/multipartBody272379916139729087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_54_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8cf84f03e5a73a53e0549b5b83707a7.jpg","text":"TemporaryFile(/tmp/multipartBody7248948679251051475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316822994,"filename":"image_09122025_13_55_24_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557417","file1":"1398557414","file0":"1398557411","file4":"1398557422","file5":"1398557424","file3":"1398557420"},"map_files_photo_id_array":[{"photo_id":"1398557424","filename":"file5"},{"photo_id":"1398557417","filename":"file2"},{"photo_id":"1398557422","filename":"file4"},{"photo_id":"1398557414","filename":"file1"},{"photo_id":"1398557411","filename":"file0"},{"photo_id":"1398557420","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557424":["hashtag1","hashtag2"]},{"1398557420":["hashtag1","hashtag2"]},{"1398557414":["hashtag1","hashtag2"]},{"1398557417":["hashtag1","hashtag2"]},{"1398557411":["hashtag1","hashtag2"]},{"1398557422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557424, 1398557420, 1398557414, 1398557417, 1398557411, 1398557422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28391623497009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:46:41.941627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_14_3647.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_17_2614.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_20_2606.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_23_3635.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_26_2546.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_35_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_14_3647.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_17_2614.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_20_2606.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_23_3635.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_26_2546.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_35_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557439","1398557444","1398557441","1398557437","1398557431","1398557434"],"photo_ids_order":["1398557431","1398557434","1398557437","1398557439","1398557441","1398557444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/068f7fb84b17033c44d5cdfb74a10e20.jpg","text":"TemporaryFile(/tmp/multipartBody3993264179569789085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_23_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f05d7ecbad59e1b847713c86599799b.jpg","text":"TemporaryFile(/tmp/multipartBody623776153415400693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_35_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7cf3fea7eefc23edee1ad4de3227d0a9.jpg","text":"TemporaryFile(/tmp/multipartBody1462258368941596863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_26_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb82e4db770b39233807d5f324cbc896.jpg","text":"TemporaryFile(/tmp/multipartBody3721744901771466726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_20_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e44e6553516a2db9c08a4b500f5c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody771606375605164855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_14_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/faa622e4308818269f63afe8c23a72c8.jpg","text":"TemporaryFile(/tmp/multipartBody5705019480430661192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316862921,"filename":"image_01112025_19_55_17_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557437","file1":"1398557434","file0":"1398557431","file4":"1398557441","file5":"1398557444","file3":"1398557439"},"map_files_photo_id_array":[{"photo_id":"1398557444","filename":"file5"},{"photo_id":"1398557437","filename":"file2"},{"photo_id":"1398557441","filename":"file4"},{"photo_id":"1398557434","filename":"file1"},{"photo_id":"1398557431","filename":"file0"},{"photo_id":"1398557439","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557439":["hashtag1","hashtag2"]},{"1398557444":["hashtag1","hashtag2"]},{"1398557441":["hashtag1","hashtag2"]},{"1398557437":["hashtag1","hashtag2"]},{"1398557431":["hashtag1","hashtag2"]},{"1398557434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557439, 1398557444, 1398557441, 1398557437, 1398557431, 1398557434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51606297492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:47:22.186509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_45_9706.jpg', '/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_54_9751.jpg', '/home/pi/Desktop/images/09122025/13/55/image_09122025_13_56_04_9637.jpg', '/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_24_9604.jpg', '/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_34_9872.jpg', '/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_44_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_45_9706.jpg
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_55_54_9751.jpg
/home/pi/Desktop/images/09122025/13/55/image_09122025_13_56_04_9637.jpg
/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_24_9604.jpg
/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_34_9872.jpg
/home/pi/Desktop/images/09122025/13/56/image_09122025_13_56_44_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557451","1398557460","1398557454","1398557465","1398557456","1398557458"],"photo_ids_order":["1398557451","1398557454","1398557456","1398557458","1398557460","1398557465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/729fc642f8adc396936cda9ea32e1fe4.jpg","text":"TemporaryFile(/tmp/multipartBody6174712027841320014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_55_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27b37a2918365cf85fe3f0d222a03285.jpg","text":"TemporaryFile(/tmp/multipartBody5594404817872865984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_56_34_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/264052daf2ec62b52f4c9c407f00ed8f.jpg","text":"TemporaryFile(/tmp/multipartBody1293323614701783407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_55_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3ece76ec3bc88faeb164ef6956f6c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5261276277469556133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_56_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd9bc8f0becbd20fdfab3ecfd32772db.jpg","text":"TemporaryFile(/tmp/multipartBody4535650814770099678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_56_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da4fd5de071a468c63eb3df1e15e8d5a.jpg","text":"TemporaryFile(/tmp/multipartBody4139483549262783408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316903789,"filename":"image_09122025_13_56_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557456","file1":"1398557454","file0":"1398557451","file4":"1398557460","file5":"1398557465","file3":"1398557458"},"map_files_photo_id_array":[{"photo_id":"1398557465","filename":"file5"},{"photo_id":"1398557456","filename":"file2"},{"photo_id":"1398557460","filename":"file4"},{"photo_id":"1398557454","filename":"file1"},{"photo_id":"1398557451","filename":"file0"},{"photo_id":"1398557458","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557451":["hashtag1","hashtag2"]},{"1398557460":["hashtag1","hashtag2"]},{"1398557454":["hashtag1","hashtag2"]},{"1398557465":["hashtag1","hashtag2"]},{"1398557456":["hashtag1","hashtag2"]},{"1398557458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557451, 1398557460, 1398557454, 1398557465, 1398557456, 1398557458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2050199508667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:48:02.733423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/56/image_09122025_13_57_04_9698.jpg', '/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_14_9776.jpg', '/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_25_10611.jpg', '/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_34_9702.jpg', '/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_44_9617.jpg', '/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_55_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/56/image_09122025_13_57_04_9698.jpg
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_14_9776.jpg
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_25_10611.jpg
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_34_9702.jpg
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_44_9617.jpg
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_57_55_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557472","1398557483","1398557474","1398557476","1398557479","1398557478"],"photo_ids_order":["1398557472","1398557474","1398557476","1398557478","1398557479","1398557483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eec63be2f99c17a05838c33bd2d39cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7567769597840252650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8888811283febb887a3a13a8515314e4.jpg","text":"TemporaryFile(/tmp/multipartBody576790836689579916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9e45a8f31ef3f10c0b31faceafcde7e.jpg","text":"TemporaryFile(/tmp/multipartBody4999129345990362615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb4d3397ae6d4acb04ca384e819c23ee.jpg","text":"TemporaryFile(/tmp/multipartBody8297889766786116212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5834c48f6b0e519f7754a08325a585b9.jpg","text":"TemporaryFile(/tmp/multipartBody1248747380953501206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/29bf7620c795db4aa34eafd4992d621e.jpg","text":"TemporaryFile(/tmp/multipartBody8417231455081783727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316944540,"filename":"image_09122025_13_57_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557476","file1":"1398557474","file0":"1398557472","file4":"1398557479","file5":"1398557483","file3":"1398557478"},"map_files_photo_id_array":[{"photo_id":"1398557483","filename":"file5"},{"photo_id":"1398557476","filename":"file2"},{"photo_id":"1398557479","filename":"file4"},{"photo_id":"1398557474","filename":"file1"},{"photo_id":"1398557472","filename":"file0"},{"photo_id":"1398557478","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557472":["hashtag1","hashtag2"]},{"1398557483":["hashtag1","hashtag2"]},{"1398557474":["hashtag1","hashtag2"]},{"1398557476":["hashtag1","hashtag2"]},{"1398557479":["hashtag1","hashtag2"]},{"1398557478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557472, 1398557483, 1398557474, 1398557476, 1398557479, 1398557478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.759673833847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:48:42.602035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_37_2651.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_41_3693.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_44_2800.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_47_2671.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_50_3305.jpg', '/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_59_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_37_2651.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_41_3693.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_44_2800.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_47_2671.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_50_3305.jpg
/home/pi/Desktop/images/01112025/19/55/image_01112025_19_55_59_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557502","1398557498","1398557506","1398557496","1398557509","1398557500"],"photo_ids_order":["1398557496","1398557498","1398557500","1398557502","1398557506","1398557509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d856188f34579d86cf0763b70b7cba6.jpg","text":"TemporaryFile(/tmp/multipartBody7683963316517527808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_47_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/031587a94ae4230e95c278c0e7fc34d5.jpg","text":"TemporaryFile(/tmp/multipartBody465743569886535249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_41_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40ee14066945f0f4ec06cd43c04158b8.jpg","text":"TemporaryFile(/tmp/multipartBody2733882778207749370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_50_3305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c6c4043d948fed5426b1ae7a4d046cc.jpg","text":"TemporaryFile(/tmp/multipartBody57041395983544244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_37_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/38d9513d5da94c6186ca8b424129e93a.jpg","text":"TemporaryFile(/tmp/multipartBody7003876038240153650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_59_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d3ff8e5c4e24ca2078c6f7a9e5e6342b.jpg","text":"TemporaryFile(/tmp/multipartBody2441845220396047810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765316983622,"filename":"image_01112025_19_55_44_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557500","file1":"1398557498","file0":"1398557496","file4":"1398557506","file5":"1398557509","file3":"1398557502"},"map_files_photo_id_array":[{"photo_id":"1398557509","filename":"file5"},{"photo_id":"1398557500","filename":"file2"},{"photo_id":"1398557506","filename":"file4"},{"photo_id":"1398557498","filename":"file1"},{"photo_id":"1398557496","filename":"file0"},{"photo_id":"1398557502","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557502":["hashtag1","hashtag2"]},{"1398557498":["hashtag1","hashtag2"]},{"1398557506":["hashtag1","hashtag2"]},{"1398557496":["hashtag1","hashtag2"]},{"1398557509":["hashtag1","hashtag2"]},{"1398557500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557502, 1398557498, 1398557506, 1398557496, 1398557509, 1398557500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.834843158721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:49:25.916226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/57/image_09122025_13_58_04_9494.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_15_10589.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_24_9691.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_34_9587.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_59_04_9539.jpg', '/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_15_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_58_04_9494.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_15_10589.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_24_9691.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_34_9587.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_59_04_9539.jpg
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_15_10827.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4307854175567627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:49:35.944827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/09/image_08122025_14_10_04_9676.jpg', '/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_15_10641.jpg', '/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_25_9684.jpg', '/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_34_9688.jpg', '/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_45_10698.jpg', '/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/09/image_08122025_14_10_04_9676.jpg
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_15_10641.jpg
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_25_9684.jpg
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_34_9688.jpg
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_45_10698.jpg
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_10_55_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557535","1398557523","1398557543","1398557528","1398557542","1398557539"],"photo_ids_order":["1398557523","1398557528","1398557535","1398557539","1398557542","1398557543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ab452c700a8ce74af2d7866b01035a8.jpg","text":"TemporaryFile(/tmp/multipartBody5200799092035472003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15913a02a74c110c6eca30c6f6a78f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3066286108878270247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4369c2de304f8020608ee6ea13b5457a.jpg","text":"TemporaryFile(/tmp/multipartBody1156133233793425610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2bb6f84054650207dbb1e045bcb5519a.jpg","text":"TemporaryFile(/tmp/multipartBody8594617790488271393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2e722cf458e55ddeb9e22b4b084a6dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6893661476326185821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc207337acb3a9bf603171387f44b933.jpg","text":"TemporaryFile(/tmp/multipartBody401074516029844325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317037846,"filename":"image_08122025_14_10_34_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557535","file1":"1398557528","file0":"1398557523","file4":"1398557542","file5":"1398557543","file3":"1398557539"},"map_files_photo_id_array":[{"photo_id":"1398557543","filename":"file5"},{"photo_id":"1398557535","filename":"file2"},{"photo_id":"1398557542","filename":"file4"},{"photo_id":"1398557528","filename":"file1"},{"photo_id":"1398557523","filename":"file0"},{"photo_id":"1398557539","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398557535":["hashtag1","hashtag2"]},{"1398557523":["hashtag1","hashtag2"]},{"1398557543":["hashtag1","hashtag2"]},{"1398557528":["hashtag1","hashtag2"]},{"1398557542":["hashtag1","hashtag2"]},{"1398557539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398557535, 1398557523, 1398557543, 1398557528, 1398557542, 1398557539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06062364578247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:50:24.885929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/57/image_09122025_13_58_04_9494.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_15_10589.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_24_9691.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_34_9587.jpg', '/home/pi/Desktop/images/09122025/13/58/image_09122025_13_59_04_9539.jpg', '/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_15_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/57/image_09122025_13_58_04_9494.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_15_10589.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_24_9691.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_58_34_9587.jpg
/home/pi/Desktop/images/09122025/13/58/image_09122025_13_59_04_9539.jpg
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_15_10827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557562","1398557555","1398557564","1398557558","1398557552","1398557560"],"photo_ids_order":["1398557552","1398557555","1398557558","1398557560","1398557562","1398557564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acbefb77beecd110bc12f138e439e3af.jpg","text":"TemporaryFile(/tmp/multipartBody5625437521406347311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_59_04_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fde487e6860205a19c4c3d2b75b9efbd.jpg","text":"TemporaryFile(/tmp/multipartBody3870118385900082547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_58_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a585e51ff3778463ee7415ff5fab0fce.jpg","text":"TemporaryFile(/tmp/multipartBody3751990968291444714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_59_15_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dccb0f67527c8e2bd27f880ea043065.jpg","text":"TemporaryFile(/tmp/multipartBody6639803356306205252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_58_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b4e4ddc7d5f488d375bb61682821fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3941401137677079314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_58_04_9494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/391f0a21f3d709fe93e4adcf8bdce09c.jpg","text":"TemporaryFile(/tmp/multipartBody5105015368378756257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317085423,"filename":"image_09122025_13_58_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557558","file1":"1398557555","file0":"1398557552","file4":"1398557562","file5":"1398557564","file3":"1398557560"},"map_files_photo_id_array":[{"photo_id":"1398557564","filename":"file5"},{"photo_id":"1398557558","filename":"file2"},{"photo_id":"1398557562","filename":"file4"},{"photo_id":"1398557555","filename":"file1"},{"photo_id":"1398557552","filename":"file0"},{"photo_id":"1398557560","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557562":["hashtag1","hashtag2"]},{"1398557555":["hashtag1","hashtag2"]},{"1398557564":["hashtag1","hashtag2"]},{"1398557558":["hashtag1","hashtag2"]},{"1398557552":["hashtag1","hashtag2"]},{"1398557560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557562, 1398557555, 1398557564, 1398557558, 1398557552, 1398557560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32506084442139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:51:02.994205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_25_9765.jpg', '/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_34_9676.jpg', '/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_44_9712.jpg', '/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_55_10803.jpg', '/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_15_10054.jpg', '/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_25_9765.jpg
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_34_9676.jpg
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_44_9712.jpg
/home/pi/Desktop/images/09122025/13/59/image_09122025_13_59_55_10803.jpg
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_15_10054.jpg
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_25_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557571","1398557579","1398557584","1398557581","1398557575","1398557577"],"photo_ids_order":["1398557571","1398557575","1398557577","1398557579","1398557581","1398557584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a19bd5ce4859a87bb884a322c3d1a18.jpg","text":"TemporaryFile(/tmp/multipartBody8032701585416462198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_13_59_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/51079742aab811bbbf606cdb81f3813f.jpg","text":"TemporaryFile(/tmp/multipartBody8277326890847238947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_13_59_55_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a71ddd44242c32ebe73fdedf5614ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1799156277399545801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_14_00_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/174e3acd0835e33a10dca1bb085e9b53.jpg","text":"TemporaryFile(/tmp/multipartBody2510907413356748897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_14_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37cf9ae403d13ef254a4b38d5b26183b.jpg","text":"TemporaryFile(/tmp/multipartBody57555633062550273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_13_59_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c50004dea47071211da14d753c0e593e.jpg","text":"TemporaryFile(/tmp/multipartBody8208732471053012954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317123632,"filename":"image_09122025_13_59_44_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557577","file1":"1398557575","file0":"1398557571","file4":"1398557581","file5":"1398557584","file3":"1398557579"},"map_files_photo_id_array":[{"photo_id":"1398557584","filename":"file5"},{"photo_id":"1398557577","filename":"file2"},{"photo_id":"1398557581","filename":"file4"},{"photo_id":"1398557575","filename":"file1"},{"photo_id":"1398557571","filename":"file0"},{"photo_id":"1398557579","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557571":["hashtag1","hashtag2"]},{"1398557579":["hashtag1","hashtag2"]},{"1398557584":["hashtag1","hashtag2"]},{"1398557581":["hashtag1","hashtag2"]},{"1398557575":["hashtag1","hashtag2"]},{"1398557577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557571, 1398557579, 1398557584, 1398557581, 1398557575, 1398557577)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.23135209083557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:52:15.957471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_35_9837.jpg', '/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_45_9565.jpg', '/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_55_10529.jpg', '/home/pi/Desktop/images/09122025/14/00/image_09122025_14_01_05_9666.jpg', '/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_16_10640.jpg', '/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_25_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_35_9837.jpg
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_45_9565.jpg
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_00_55_10529.jpg
/home/pi/Desktop/images/09122025/14/00/image_09122025_14_01_05_9666.jpg
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_16_10640.jpg
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_25_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557610","1398557604","1398557607","1398557612","1398557615","1398557611"],"photo_ids_order":["1398557604","1398557607","1398557610","1398557611","1398557612","1398557615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94e0338a848271fa44de8613562f289a.jpg","text":"TemporaryFile(/tmp/multipartBody3266977179955851489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_00_55_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4af5a2868e1dd90da825b4dbbb9d9ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6799283097771990793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_00_35_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcb513e46d9ad6176709eb0f22a1ab6b.jpg","text":"TemporaryFile(/tmp/multipartBody1530234391280201597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_00_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8d0c2644c6cf74e96f7c7d2314ac132.jpg","text":"TemporaryFile(/tmp/multipartBody4621374352963407832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_01_16_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/59957232fa924179e449119279d1fc28.jpg","text":"TemporaryFile(/tmp/multipartBody107378151507142098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_01_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c394236b029c9cee7b28d9ca0f6249f0.jpg","text":"TemporaryFile(/tmp/multipartBody8246297659684351810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317199056,"filename":"image_09122025_14_01_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557610","file1":"1398557607","file0":"1398557604","file4":"1398557612","file5":"1398557615","file3":"1398557611"},"map_files_photo_id_array":[{"photo_id":"1398557615","filename":"file5"},{"photo_id":"1398557610","filename":"file2"},{"photo_id":"1398557612","filename":"file4"},{"photo_id":"1398557607","filename":"file1"},{"photo_id":"1398557604","filename":"file0"},{"photo_id":"1398557611","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557610":["hashtag1","hashtag2"]},{"1398557604":["hashtag1","hashtag2"]},{"1398557607":["hashtag1","hashtag2"]},{"1398557612":["hashtag1","hashtag2"]},{"1398557615":["hashtag1","hashtag2"]},{"1398557611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557610, 1398557604, 1398557607, 1398557612, 1398557615, 1398557611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81714367866516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:53:03.259572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_35_9719.jpg', '/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_45_9806.jpg', '/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_55_10637.jpg', '/home/pi/Desktop/images/09122025/14/01/image_09122025_14_02_05_9605.jpg', '/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_15_9664.jpg', '/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_25_10515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_35_9719.jpg
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_45_9806.jpg
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_01_55_10637.jpg
/home/pi/Desktop/images/09122025/14/01/image_09122025_14_02_05_9605.jpg
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_15_9664.jpg
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_25_10515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557631","1398557628","1398557625","1398557636","1398557633","1398557629"],"photo_ids_order":["1398557625","1398557628","1398557629","1398557631","1398557633","1398557636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc90e8be3a47704a74a53d2fee393b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1789867521261355687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_02_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b5bd71dd61a5de3696447d12a9969d77.jpg","text":"TemporaryFile(/tmp/multipartBody8910259775762837075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_01_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4880a496658e90fc53d8b0a157844310.jpg","text":"TemporaryFile(/tmp/multipartBody2173720717803798069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_01_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b6a9a094392367b770615461c4cab743.jpg","text":"TemporaryFile(/tmp/multipartBody2663773473122145613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_02_25_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8ea9072a8f9c2fecc7069c96ced1b849.jpg","text":"TemporaryFile(/tmp/multipartBody8428245728115371387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_02_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b552933427d4683d6fdf8ada479caec.jpg","text":"TemporaryFile(/tmp/multipartBody7472679152186887226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317243855,"filename":"image_09122025_14_01_55_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557629","file1":"1398557628","file0":"1398557625","file4":"1398557633","file5":"1398557636","file3":"1398557631"},"map_files_photo_id_array":[{"photo_id":"1398557636","filename":"file5"},{"photo_id":"1398557629","filename":"file2"},{"photo_id":"1398557633","filename":"file4"},{"photo_id":"1398557628","filename":"file1"},{"photo_id":"1398557625","filename":"file0"},{"photo_id":"1398557631","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557631":["hashtag1","hashtag2"]},{"1398557628":["hashtag1","hashtag2"]},{"1398557625":["hashtag1","hashtag2"]},{"1398557636":["hashtag1","hashtag2"]},{"1398557633":["hashtag1","hashtag2"]},{"1398557629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557631, 1398557628, 1398557625, 1398557636, 1398557633, 1398557629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.960371255874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:53:42.602805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_05_3638.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_08_2613.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_11_2645.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_13_2744.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_17_3605.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_20_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_05_3638.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_08_2613.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_11_2645.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_13_2744.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_17_3605.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_20_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557652","1398557649","1398557654","1398557645","1398557648","1398557656"],"photo_ids_order":["1398557645","1398557648","1398557649","1398557652","1398557654","1398557656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6a2874ad138bfac67963d789487217b.jpg","text":"TemporaryFile(/tmp/multipartBody2198728996710552391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_13_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a67d6400fe0fefca323ca4dfef505df.jpg","text":"TemporaryFile(/tmp/multipartBody3257672423322665144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_11_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61209165f737fef0fab88dc7edcbe73c.jpg","text":"TemporaryFile(/tmp/multipartBody6405310966553155045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_17_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/efe8a72199cc3e43248da58b5a4a2d13.jpg","text":"TemporaryFile(/tmp/multipartBody1871602807649164364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_05_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26bdac8627b4e636c397436e39dad7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8964867132655427619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_08_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/771ebd2d5197bc9adde7e5a92bedab43.jpg","text":"TemporaryFile(/tmp/multipartBody5437365070525848953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317283597,"filename":"image_01112025_19_56_20_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557649","file1":"1398557648","file0":"1398557645","file4":"1398557654","file5":"1398557656","file3":"1398557652"},"map_files_photo_id_array":[{"photo_id":"1398557656","filename":"file5"},{"photo_id":"1398557649","filename":"file2"},{"photo_id":"1398557654","filename":"file4"},{"photo_id":"1398557648","filename":"file1"},{"photo_id":"1398557645","filename":"file0"},{"photo_id":"1398557652","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557652":["hashtag1","hashtag2"]},{"1398557649":["hashtag1","hashtag2"]},{"1398557654":["hashtag1","hashtag2"]},{"1398557645":["hashtag1","hashtag2"]},{"1398557648":["hashtag1","hashtag2"]},{"1398557656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557652, 1398557649, 1398557654, 1398557645, 1398557648, 1398557656)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.75050711631775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 22:54:32.764493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/10/image_08122025_14_11_04_9697.jpg', '/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_15_10780.jpg', '/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_25_9574.jpg', '/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_34_9643.jpg', '/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_45_10669.jpg', '/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_55_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/10/image_08122025_14_11_04_9697.jpg
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_15_10780.jpg
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_25_9574.jpg
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_34_9643.jpg
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_45_10669.jpg
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_11_55_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557675","1398557669","1398557678","1398557671","1398557680","1398557682"],"photo_ids_order":["1398557669","1398557671","1398557675","1398557678","1398557680","1398557682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f87a0ce11001776ab91fe56b147395a.jpg","text":"TemporaryFile(/tmp/multipartBody506397325628524688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_25_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a0197fc985d54abd19a42b43cad0fde6.jpg","text":"TemporaryFile(/tmp/multipartBody1630403030847896561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20d513e680285caaed2c61dd7371ac3d.jpg","text":"TemporaryFile(/tmp/multipartBody7518430878979372312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/80b5750841b5eb5e11aae49adb071907.jpg","text":"TemporaryFile(/tmp/multipartBody5379449296426166427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_15_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fba5500509f9c6554a894aae2a43c8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7045580031693910845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a2459e21276e274e4180b78e39a9169.jpg","text":"TemporaryFile(/tmp/multipartBody4221784709508180284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317338090,"filename":"image_08122025_14_11_55_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557675","file1":"1398557671","file0":"1398557669","file4":"1398557680","file5":"1398557682","file3":"1398557678"},"map_files_photo_id_array":[{"photo_id":"1398557682","filename":"file5"},{"photo_id":"1398557675","filename":"file2"},{"photo_id":"1398557680","filename":"file4"},{"photo_id":"1398557671","filename":"file1"},{"photo_id":"1398557669","filename":"file0"},{"photo_id":"1398557678","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398557675":["hashtag1","hashtag2"]},{"1398557669":["hashtag1","hashtag2"]},{"1398557678":["hashtag1","hashtag2"]},{"1398557671":["hashtag1","hashtag2"]},{"1398557680":["hashtag1","hashtag2"]},{"1398557682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398557675, 1398557669, 1398557678, 1398557671, 1398557680, 1398557682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.564674854278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:55:22.065091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_35_9669.jpg', '/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_45_10522.jpg', '/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_55_9618.jpg', '/home/pi/Desktop/images/09122025/14/02/image_09122025_14_03_05_9683.jpg', '/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_15_10587.jpg', '/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_25_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_35_9669.jpg
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_45_10522.jpg
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_02_55_9618.jpg
/home/pi/Desktop/images/09122025/14/02/image_09122025_14_03_05_9683.jpg
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_15_10587.jpg
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_25_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557690","1398557693","1398557696","1398557698","1398557702","1398557704"],"photo_ids_order":["1398557690","1398557693","1398557696","1398557698","1398557702","1398557704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5917e85e9af7cd7871260f34a77e6588.jpg","text":"TemporaryFile(/tmp/multipartBody4484196819102116834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_02_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f35d841ac5916ef8a4028edc504cc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5698912204635773226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_02_45_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/40c7b845eb48b0a8e105cf271630a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody8282462176138791223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_02_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90e73ee6ce291f27a0f07c2602f064e1.jpg","text":"TemporaryFile(/tmp/multipartBody3988736681101888688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_03_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/58f07a96c3043aba77b51a8693cb31be.jpg","text":"TemporaryFile(/tmp/multipartBody7129369069373187065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_03_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb89d7b56e28ab0d758898aa1498a821.jpg","text":"TemporaryFile(/tmp/multipartBody5609619134625207636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317382626,"filename":"image_09122025_14_03_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557696","file1":"1398557693","file0":"1398557690","file4":"1398557702","file5":"1398557704","file3":"1398557698"},"map_files_photo_id_array":[{"photo_id":"1398557704","filename":"file5"},{"photo_id":"1398557696","filename":"file2"},{"photo_id":"1398557702","filename":"file4"},{"photo_id":"1398557693","filename":"file1"},{"photo_id":"1398557690","filename":"file0"},{"photo_id":"1398557698","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557690":["hashtag1","hashtag2"]},{"1398557693":["hashtag1","hashtag2"]},{"1398557696":["hashtag1","hashtag2"]},{"1398557698":["hashtag1","hashtag2"]},{"1398557702":["hashtag1","hashtag2"]},{"1398557704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557690, 1398557693, 1398557696, 1398557698, 1398557702, 1398557704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14884090423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:56:02.693806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_35_9775.jpg', '/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_45_10674.jpg', '/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_55_9587.jpg', '/home/pi/Desktop/images/09122025/14/03/image_09122025_14_04_05_10553.jpg', '/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_15_9777.jpg', '/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_25_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_35_9775.jpg
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_45_10674.jpg
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_03_55_9587.jpg
/home/pi/Desktop/images/09122025/14/03/image_09122025_14_04_05_10553.jpg
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_15_9777.jpg
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_25_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557721","1398557715","1398557717","1398557719","1398557710","1398557713"],"photo_ids_order":["1398557710","1398557713","1398557715","1398557717","1398557719","1398557721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94cf7f6ea1339bfd89f210d6596b24ac.jpg","text":"TemporaryFile(/tmp/multipartBody4832059039494748918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_04_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/153fbc7c0b86ea6cea674b87458fd498.jpg","text":"TemporaryFile(/tmp/multipartBody2992808158962805461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_03_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a77cdd7af928b1c9013fb57a5c801c5.jpg","text":"TemporaryFile(/tmp/multipartBody8189617314052221429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_04_05_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57e8963383e32da0e36854335129631a.jpg","text":"TemporaryFile(/tmp/multipartBody8678179048373455791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_04_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e12254a43d79c651428c798404a8f62b.jpg","text":"TemporaryFile(/tmp/multipartBody2601715360363873238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_03_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21410106955def055d6ca051af50b8b2.jpg","text":"TemporaryFile(/tmp/multipartBody424966330114966488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317423285,"filename":"image_09122025_14_03_45_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557715","file1":"1398557713","file0":"1398557710","file4":"1398557719","file5":"1398557721","file3":"1398557717"},"map_files_photo_id_array":[{"photo_id":"1398557721","filename":"file5"},{"photo_id":"1398557715","filename":"file2"},{"photo_id":"1398557719","filename":"file4"},{"photo_id":"1398557713","filename":"file1"},{"photo_id":"1398557710","filename":"file0"},{"photo_id":"1398557717","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557721":["hashtag1","hashtag2"]},{"1398557715":["hashtag1","hashtag2"]},{"1398557717":["hashtag1","hashtag2"]},{"1398557719":["hashtag1","hashtag2"]},{"1398557710":["hashtag1","hashtag2"]},{"1398557713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557721, 1398557715, 1398557717, 1398557719, 1398557710, 1398557713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940253496170044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:56:42.096006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_23_3685.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_28_2600.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_32_3705.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_38_2859.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_44_3679.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_47_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_23_3685.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_28_2600.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_32_3705.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_38_2859.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_44_3679.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_47_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557751","1398557733","1398557753","1398557750","1398557744","1398557747"],"photo_ids_order":["1398557733","1398557744","1398557747","1398557750","1398557751","1398557753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7a250ed0722a38d67b4f8399d8f2bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody5443710678259263843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_44_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f772d643f962c43445b173891b88c4a3.jpg","text":"TemporaryFile(/tmp/multipartBody8255233987444769799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_23_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f83d893d79c258138878056997c03ef.jpg","text":"TemporaryFile(/tmp/multipartBody2883954670584820361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27f69b9dcf8eff547a5e2c00cdd4a544.jpg","text":"TemporaryFile(/tmp/multipartBody6791322810880056662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_38_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7aea50a06ded532806e3e313ee381ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3542258078879869778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_28_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/669bd6139ef07f595983bcfaed1f8f36.jpg","text":"TemporaryFile(/tmp/multipartBody7445653230301073708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317463071,"filename":"image_01112025_19_56_32_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557747","file1":"1398557744","file0":"1398557733","file4":"1398557751","file5":"1398557753","file3":"1398557750"},"map_files_photo_id_array":[{"photo_id":"1398557753","filename":"file5"},{"photo_id":"1398557747","filename":"file2"},{"photo_id":"1398557751","filename":"file4"},{"photo_id":"1398557744","filename":"file1"},{"photo_id":"1398557733","filename":"file0"},{"photo_id":"1398557750","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398557751":["hashtag1","hashtag2"]},{"1398557733":["hashtag1","hashtag2"]},{"1398557753":["hashtag1","hashtag2"]},{"1398557750":["hashtag1","hashtag2"]},{"1398557744":["hashtag1","hashtag2"]},{"1398557747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398557751, 1398557733, 1398557753, 1398557750, 1398557744, 1398557747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62157487869263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 22:57:22.250373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_36_10615.jpg', '/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_45_9630.jpg', '/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_55_9645.jpg', '/home/pi/Desktop/images/09122025/14/04/image_09122025_14_05_05_10551.jpg', '/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_15_9603.jpg', '/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_26_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_36_10615.jpg
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_45_9630.jpg
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_04_55_9645.jpg
/home/pi/Desktop/images/09122025/14/04/image_09122025_14_05_05_10551.jpg
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_15_9603.jpg
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_26_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557760","1398557771","1398557774","1398557768","1398557765","1398557776"],"photo_ids_order":["1398557760","1398557765","1398557768","1398557771","1398557774","1398557776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/df2a851d4a40e74019e1229153ad4221.jpg","text":"TemporaryFile(/tmp/multipartBody1523452691641181614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_04_36_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bdf14c4d18e62bb4f5bddde19be8eee.jpg","text":"TemporaryFile(/tmp/multipartBody5840964297569508335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_05_05_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/311659060ea9f43e45051c94ed3d2c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6352640625910167425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_05_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9d91d0846a488218ec4700e059203434.jpg","text":"TemporaryFile(/tmp/multipartBody7784975296219592626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_04_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/49e37c0d63ef5de9c3ae5243dc50ff51.jpg","text":"TemporaryFile(/tmp/multipartBody1908984982236739595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_04_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3169350d2935018fa68d6b336ede774.jpg","text":"TemporaryFile(/tmp/multipartBody850862353193765182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317502802,"filename":"image_09122025_14_05_26_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557768","file1":"1398557765","file0":"1398557760","file4":"1398557774","file5":"1398557776","file3":"1398557771"},"map_files_photo_id_array":[{"photo_id":"1398557776","filename":"file5"},{"photo_id":"1398557768","filename":"file2"},{"photo_id":"1398557774","filename":"file4"},{"photo_id":"1398557765","filename":"file1"},{"photo_id":"1398557760","filename":"file0"},{"photo_id":"1398557771","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557760":["hashtag1","hashtag2"]},{"1398557771":["hashtag1","hashtag2"]},{"1398557774":["hashtag1","hashtag2"]},{"1398557768":["hashtag1","hashtag2"]},{"1398557765":["hashtag1","hashtag2"]},{"1398557776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557760, 1398557771, 1398557774, 1398557768, 1398557765, 1398557776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0766179561615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 22:59:03.978578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_35_9631.jpg', '/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_45_9890.jpg', '/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_55_9578.jpg', '/home/pi/Desktop/images/09122025/14/05/image_09122025_14_06_05_10640.jpg', '/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_15_9670.jpg', '/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_26_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_35_9631.jpg
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_45_9890.jpg
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_05_55_9578.jpg
/home/pi/Desktop/images/09122025/14/05/image_09122025_14_06_05_10640.jpg
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_15_9670.jpg
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_26_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398557790","1398557879","1398557954","1398557840","1398557801","1398557917"],"photo_ids_order":["1398557790","1398557801","1398557840","1398557879","1398557917","1398557954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ff3539c4bc0f840e4fa692c437dd727.jpg","text":"TemporaryFile(/tmp/multipartBody6101368981557099731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_05_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/270765f3d74553db5935fa07be8fe289.jpg","text":"TemporaryFile(/tmp/multipartBody8746457414876105317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_06_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/033549d7eb3d268c2d56410b495b848a.jpg","text":"TemporaryFile(/tmp/multipartBody2822717070404055605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_06_26_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/03a93f94357097a16841f9cab7ac3606.jpg","text":"TemporaryFile(/tmp/multipartBody1671668240098498866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_05_55_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36f2d618deb9df538febd685bc323687.jpg","text":"TemporaryFile(/tmp/multipartBody7910381917176683220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_05_45_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7eae77e0e7742022f7533701ac9f02f1.jpg","text":"TemporaryFile(/tmp/multipartBody6672557469117623371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317604752,"filename":"image_09122025_14_06_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398557840","file1":"1398557801","file0":"1398557790","file4":"1398557917","file5":"1398557954","file3":"1398557879"},"map_files_photo_id_array":[{"photo_id":"1398557954","filename":"file5"},{"photo_id":"1398557840","filename":"file2"},{"photo_id":"1398557917","filename":"file4"},{"photo_id":"1398557801","filename":"file1"},{"photo_id":"1398557790","filename":"file0"},{"photo_id":"1398557879","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398557790":["hashtag1","hashtag2"]},{"1398557879":["hashtag1","hashtag2"]},{"1398557954":["hashtag1","hashtag2"]},{"1398557840":["hashtag1","hashtag2"]},{"1398557801":["hashtag1","hashtag2"]},{"1398557917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398557790, 1398557879, 1398557954, 1398557840, 1398557801, 1398557917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80047059059143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 22:59:42.980189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_50_2760.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_52_2639.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_56_3609.jpg', '/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_59_2603.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_01_2730.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_05_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_50_2760.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_52_2639.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_56_3609.jpg
/home/pi/Desktop/images/01112025/19/56/image_01112025_19_56_59_2603.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_01_2730.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_05_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398558272","1398558157","1398558079","1398558118","1398558195","1398558234"],"photo_ids_order":["1398558079","1398558118","1398558157","1398558195","1398558234","1398558272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6887611c3a67d61a61161490cfd36fba.jpg","text":"TemporaryFile(/tmp/multipartBody3413188094680634886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_57_05_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57ed21c997f945c78b5f07c5cd53a325.jpg","text":"TemporaryFile(/tmp/multipartBody536257277147602726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_56_56_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2900cd182364702b6f8ff6937d01ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2083349519654007149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_56_50_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ed04bc0be863a90f335be7877fb5923b.jpg","text":"TemporaryFile(/tmp/multipartBody8009225223638172370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_56_52_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c5c3c8675bfeed45ac656011b2592fd.jpg","text":"TemporaryFile(/tmp/multipartBody5158572472223826504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_56_59_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d289da3ec3840a36d4ac74a13eee6b67.jpg","text":"TemporaryFile(/tmp/multipartBody2719221979592566277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317643987,"filename":"image_01112025_19_57_01_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398558157","file1":"1398558118","file0":"1398558079","file4":"1398558234","file5":"1398558272","file3":"1398558195"},"map_files_photo_id_array":[{"photo_id":"1398558272","filename":"file5"},{"photo_id":"1398558157","filename":"file2"},{"photo_id":"1398558234","filename":"file4"},{"photo_id":"1398558118","filename":"file1"},{"photo_id":"1398558079","filename":"file0"},{"photo_id":"1398558195","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398558272":["hashtag1","hashtag2"]},{"1398558157":["hashtag1","hashtag2"]},{"1398558079":["hashtag1","hashtag2"]},{"1398558118":["hashtag1","hashtag2"]},{"1398558195":["hashtag1","hashtag2"]},{"1398558234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398558272, 1398558157, 1398558079, 1398558118, 1398558195, 1398558234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15578365325928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:00:22.247851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_35_9821.jpg', '/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_45_9647.jpg', '/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_55_9585.jpg', '/home/pi/Desktop/images/09122025/14/06/image_09122025_14_07_05_10662.jpg', '/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_15_9674.jpg', '/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_26_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_35_9821.jpg
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_45_9647.jpg
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_06_55_9585.jpg
/home/pi/Desktop/images/09122025/14/06/image_09122025_14_07_05_10662.jpg
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_15_9674.jpg
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_26_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398558507","1398558554","1398558589","1398558664","1398558625","1398558703"],"photo_ids_order":["1398558507","1398558554","1398558589","1398558625","1398558664","1398558703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d4d24a1a84067e16ed9b2421be42a6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5840205938605932222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_06_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9f48cda78f71eadd29dd973f3f785740.jpg","text":"TemporaryFile(/tmp/multipartBody4920075655734513373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_06_45_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3807fe3126a9fa4bb86141957009fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody2428527357669084128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_06_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ac0c20ffff019172afa3e5ec36951a15.jpg","text":"TemporaryFile(/tmp/multipartBody5058292244791920480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_07_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/abfcba004d64a631e426dc46e07b2066.jpg","text":"TemporaryFile(/tmp/multipartBody3755385106592754997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_07_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/717f3bd4bc8b7fb38ffcc1f2c4e65571.jpg","text":"TemporaryFile(/tmp/multipartBody7475996016823610098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317682814,"filename":"image_09122025_14_07_26_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398558589","file1":"1398558554","file0":"1398558507","file4":"1398558664","file5":"1398558703","file3":"1398558625"},"map_files_photo_id_array":[{"photo_id":"1398558703","filename":"file5"},{"photo_id":"1398558589","filename":"file2"},{"photo_id":"1398558664","filename":"file4"},{"photo_id":"1398558554","filename":"file1"},{"photo_id":"1398558507","filename":"file0"},{"photo_id":"1398558625","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398558507":["hashtag1","hashtag2"]},{"1398558554":["hashtag1","hashtag2"]},{"1398558589":["hashtag1","hashtag2"]},{"1398558664":["hashtag1","hashtag2"]},{"1398558625":["hashtag1","hashtag2"]},{"1398558703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398558507, 1398558554, 1398558589, 1398558664, 1398558625, 1398558703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.414658069610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:01:03.188068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_35_9555.jpg', '/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_45_9645.jpg', '/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_55_10512.jpg', '/home/pi/Desktop/images/09122025/14/07/image_09122025_14_08_05_9592.jpg', '/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_16_10728.jpg', '/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_35_9555.jpg
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_45_9645.jpg
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_07_55_10512.jpg
/home/pi/Desktop/images/09122025/14/07/image_09122025_14_08_05_9592.jpg
/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_16_10728.jpg
/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398559061","1398559217","1398559007","1398559109","1398558955","1398559179"],"photo_ids_order":["1398558955","1398559007","1398559061","1398559109","1398559179","1398559217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/98205556e6857bfa909fde770bd74c26.jpg","text":"TemporaryFile(/tmp/multipartBody8717265888556719097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_07_55_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/28e2ad6b80cfda30e0fa16a8a4a33895.jpg","text":"TemporaryFile(/tmp/multipartBody7146909149736319034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_08_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/97957253c0ebce5d585b91b681c6a505.jpg","text":"TemporaryFile(/tmp/multipartBody2180710433794491122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_07_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8da4af4cf283b3824c636af37822b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody1984494330314376099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_08_05_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/612c035eab143c02d96e64858b4ad294.jpg","text":"TemporaryFile(/tmp/multipartBody2014667923688620320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_07_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6de42391d76132b564ff23358226716f.jpg","text":"TemporaryFile(/tmp/multipartBody5330287213527830674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317723806,"filename":"image_09122025_14_08_16_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398559061","file1":"1398559007","file0":"1398558955","file4":"1398559179","file5":"1398559217","file3":"1398559109"},"map_files_photo_id_array":[{"photo_id":"1398559217","filename":"file5"},{"photo_id":"1398559061","filename":"file2"},{"photo_id":"1398559179","filename":"file4"},{"photo_id":"1398559007","filename":"file1"},{"photo_id":"1398558955","filename":"file0"},{"photo_id":"1398559109","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398559061":["hashtag1","hashtag2"]},{"1398559217":["hashtag1","hashtag2"]},{"1398559007":["hashtag1","hashtag2"]},{"1398559109":["hashtag1","hashtag2"]},{"1398558955":["hashtag1","hashtag2"]},{"1398559179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398559061, 1398559217, 1398559007, 1398559109, 1398558955, 1398559179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00665068626404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:02:03.126973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_45_10693.jpg', '/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_55_9790.jpg', '/home/pi/Desktop/images/09122025/14/08/image_09122025_14_09_05_9629.jpg', '/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_16_10667.jpg', '/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_25_9691.jpg', '/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_45_10693.jpg
/home/pi/Desktop/images/09122025/14/08/image_09122025_14_08_55_9790.jpg
/home/pi/Desktop/images/09122025/14/08/image_09122025_14_09_05_9629.jpg
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_16_10667.jpg
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_25_9691.jpg
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_35_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398559652","1398559649","1398559567","1398559528","1398559488","1398559611"],"photo_ids_order":["1398559488","1398559528","1398559567","1398559611","1398559649","1398559652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30ab7b1638fc5d8da6e96308f1bbeb67.jpg","text":"TemporaryFile(/tmp/multipartBody802630738480025153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_09_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/50529fdd2e3ca33eda5f4864cb42d46a.jpg","text":"TemporaryFile(/tmp/multipartBody974069047929193103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_09_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2a5dcdb3858a8f0aef5fb2075caf8e76.jpg","text":"TemporaryFile(/tmp/multipartBody6995645413434742757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_09_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d8eb53545f7af266f17cc3a9a6a817c8.jpg","text":"TemporaryFile(/tmp/multipartBody4310704495376438092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_08_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d824e4d3424480ac31e03694b240abc.jpg","text":"TemporaryFile(/tmp/multipartBody5576471073754504882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_08_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcb7574c79c04d074d63a5f2177810b5.jpg","text":"TemporaryFile(/tmp/multipartBody3430507437005876047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317783707,"filename":"image_09122025_14_09_16_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398559567","file1":"1398559528","file0":"1398559488","file4":"1398559649","file5":"1398559652","file3":"1398559611"},"map_files_photo_id_array":[{"photo_id":"1398559652","filename":"file5"},{"photo_id":"1398559567","filename":"file2"},{"photo_id":"1398559649","filename":"file4"},{"photo_id":"1398559528","filename":"file1"},{"photo_id":"1398559488","filename":"file0"},{"photo_id":"1398559611","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398559652":["hashtag1","hashtag2"]},{"1398559649":["hashtag1","hashtag2"]},{"1398559567":["hashtag1","hashtag2"]},{"1398559528":["hashtag1","hashtag2"]},{"1398559488":["hashtag1","hashtag2"]},{"1398559611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398559652, 1398559649, 1398559567, 1398559528, 1398559488, 1398559611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.782450914382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:02:42.603552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_11_2807.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_13_2624.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_17_3518.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_22_2855.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_29_2840.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_32_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_11_2807.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_13_2624.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_17_3518.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_22_2855.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_29_2840.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_32_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398559693","1398559843","1398559804","1398559731","1398559895","1398559769"],"photo_ids_order":["1398559693","1398559731","1398559769","1398559804","1398559843","1398559895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/229c197593dd1f3487a082d2d703f320.jpg","text":"TemporaryFile(/tmp/multipartBody7458073645683825192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_11_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/07432e26b82e59823ffa1bab57102ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8795230409559564115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_29_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a45200ec7cc77cc2ef1d406c2f19f375.jpg","text":"TemporaryFile(/tmp/multipartBody5204382351788299436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_22_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3bbb67a533b02c10be85324022ae46b7.jpg","text":"TemporaryFile(/tmp/multipartBody7149751794423070354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_13_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee5e2a00c4cc2742bf9106e5282ee122.jpg","text":"TemporaryFile(/tmp/multipartBody7073440893781648662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_32_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/440ad5f1307b7fd6c275a999af781376.jpg","text":"TemporaryFile(/tmp/multipartBody7769051668293390342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317823576,"filename":"image_01112025_19_57_17_3518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398559769","file1":"1398559731","file0":"1398559693","file4":"1398559843","file5":"1398559895","file3":"1398559804"},"map_files_photo_id_array":[{"photo_id":"1398559895","filename":"file5"},{"photo_id":"1398559769","filename":"file2"},{"photo_id":"1398559843","filename":"file4"},{"photo_id":"1398559731","filename":"file1"},{"photo_id":"1398559693","filename":"file0"},{"photo_id":"1398559804","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398559693":["hashtag1","hashtag2"]},{"1398559843":["hashtag1","hashtag2"]},{"1398559804":["hashtag1","hashtag2"]},{"1398559731":["hashtag1","hashtag2"]},{"1398559895":["hashtag1","hashtag2"]},{"1398559769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398559693, 1398559843, 1398559804, 1398559731, 1398559895, 1398559769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.920700550079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:03:21.752305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_46_10614.jpg', '/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_55_9574.jpg', '/home/pi/Desktop/images/09122025/14/09/image_09122025_14_10_05_9618.jpg', '/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_15_10557.jpg', '/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_25_9830.jpg', '/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_35_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_46_10614.jpg
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_09_55_9574.jpg
/home/pi/Desktop/images/09122025/14/09/image_09122025_14_10_05_9618.jpg
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_15_10557.jpg
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_25_9830.jpg
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_35_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398560502","1398560202","1398560579","1398560671","1398560312","1398560419"],"photo_ids_order":["1398560202","1398560312","1398560419","1398560502","1398560579","1398560671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d544573611f48e7f4f28cfd7730f9f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2089414837589424367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_10_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e9e66134987eb7a6d82e110fd6c930ef.jpg","text":"TemporaryFile(/tmp/multipartBody4030682090245615312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_09_46_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4cd7408db9e53bd8cf9ef240fc12f5dc.jpg","text":"TemporaryFile(/tmp/multipartBody8010421314003534033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_10_25_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe10454d876d2dd57c99beb62a732ea5.jpg","text":"TemporaryFile(/tmp/multipartBody720940986709052675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_10_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30eaad28aa32538ad9710ef92c1d70dc.jpg","text":"TemporaryFile(/tmp/multipartBody481753611953035874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_09_55_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e84b5425261f0148c14c421f64a19edb.jpg","text":"TemporaryFile(/tmp/multipartBody3458325053834714523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317862282,"filename":"image_09122025_14_10_05_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398560419","file1":"1398560312","file0":"1398560202","file4":"1398560579","file5":"1398560671","file3":"1398560502"},"map_files_photo_id_array":[{"photo_id":"1398560671","filename":"file5"},{"photo_id":"1398560419","filename":"file2"},{"photo_id":"1398560579","filename":"file4"},{"photo_id":"1398560312","filename":"file1"},{"photo_id":"1398560202","filename":"file0"},{"photo_id":"1398560502","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398560502":["hashtag1","hashtag2"]},{"1398560202":["hashtag1","hashtag2"]},{"1398560579":["hashtag1","hashtag2"]},{"1398560671":["hashtag1","hashtag2"]},{"1398560312":["hashtag1","hashtag2"]},{"1398560419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398560502, 1398560202, 1398560579, 1398560671, 1398560312, 1398560419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4042284488678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:04:02.713601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_45_10652.jpg', '/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_55_9708.jpg', '/home/pi/Desktop/images/09122025/14/10/image_09122025_14_11_05_9716.jpg', '/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_16_10685.jpg', '/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_25_9562.jpg', '/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_35_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_45_10652.jpg
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_10_55_9708.jpg
/home/pi/Desktop/images/09122025/14/10/image_09122025_14_11_05_9716.jpg
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_16_10685.jpg
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_25_9562.jpg
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_35_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398561383","1398561008","1398561265","1398561189","1398561342","1398561105"],"photo_ids_order":["1398561008","1398561105","1398561189","1398561265","1398561342","1398561383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e99d7adb9f11c36967737b5a36c1db8.jpg","text":"TemporaryFile(/tmp/multipartBody7056178361932360895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_11_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bd045e29e2c9a36a7181d77f6de51992.jpg","text":"TemporaryFile(/tmp/multipartBody835158138821175957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_10_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15edf9259a57294bca008a35f913d08a.jpg","text":"TemporaryFile(/tmp/multipartBody6445943202865507626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_11_16_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7bba6c14f37fcb5a107f572fbb64746d.jpg","text":"TemporaryFile(/tmp/multipartBody5940305589872777146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_11_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4c19b96edc682e12ba422115f88821a9.jpg","text":"TemporaryFile(/tmp/multipartBody6470566097611254816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_11_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94ced65e3529f5865f906a16cc335070.jpg","text":"TemporaryFile(/tmp/multipartBody1145607549828370194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317903378,"filename":"image_09122025_14_10_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398561189","file1":"1398561105","file0":"1398561008","file4":"1398561342","file5":"1398561383","file3":"1398561265"},"map_files_photo_id_array":[{"photo_id":"1398561383","filename":"file5"},{"photo_id":"1398561189","filename":"file2"},{"photo_id":"1398561342","filename":"file4"},{"photo_id":"1398561105","filename":"file1"},{"photo_id":"1398561008","filename":"file0"},{"photo_id":"1398561265","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398561383":["hashtag1","hashtag2"]},{"1398561008":["hashtag1","hashtag2"]},{"1398561265":["hashtag1","hashtag2"]},{"1398561189":["hashtag1","hashtag2"]},{"1398561342":["hashtag1","hashtag2"]},{"1398561105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398561383, 1398561008, 1398561265, 1398561189, 1398561342, 1398561105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78391981124878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:04:42.161089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_35_3560.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_38_2750.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_41_2604.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_43_2741.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_47_3744.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_50_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_35_3560.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_38_2750.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_41_2604.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_43_2741.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_47_3744.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_50_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398561598","1398561511","1398561657","1398561558","1398561630","1398561627"],"photo_ids_order":["1398561511","1398561558","1398561598","1398561627","1398561630","1398561657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01ed05af04f303408b1dea4a30085d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6422193625794720093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_41_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c90b0e293004406bf0efbf8edebb6b6.jpg","text":"TemporaryFile(/tmp/multipartBody8727673808476591565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_35_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bafedffc7a0e4df7ca0fb35ddbb2b92.jpg","text":"TemporaryFile(/tmp/multipartBody4329545452640003777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_50_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b13b804ed02f1141b8716e2a9cfb824f.jpg","text":"TemporaryFile(/tmp/multipartBody6475055791570411110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_38_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e95c224081e9c5014f6912379bcacb0b.jpg","text":"TemporaryFile(/tmp/multipartBody5390477504172684963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_47_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c4192287c7b1c9af350ff3de663eb2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8053226644827056679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317943176,"filename":"image_01112025_19_57_43_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398561598","file1":"1398561558","file0":"1398561511","file4":"1398561630","file5":"1398561657","file3":"1398561627"},"map_files_photo_id_array":[{"photo_id":"1398561657","filename":"file5"},{"photo_id":"1398561598","filename":"file2"},{"photo_id":"1398561630","filename":"file4"},{"photo_id":"1398561558","filename":"file1"},{"photo_id":"1398561511","filename":"file0"},{"photo_id":"1398561627","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398561598":["hashtag1","hashtag2"]},{"1398561511":["hashtag1","hashtag2"]},{"1398561657":["hashtag1","hashtag2"]},{"1398561558":["hashtag1","hashtag2"]},{"1398561630":["hashtag1","hashtag2"]},{"1398561627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398561598, 1398561511, 1398561657, 1398561558, 1398561630, 1398561627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86192774772644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:05:22.378196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_45_10593.jpg', '/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_55_9652.jpg', '/home/pi/Desktop/images/09122025/14/11/image_09122025_14_12_06_10544.jpg', '/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_15_9653.jpg', '/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_25_9709.jpg', '/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_35_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_45_10593.jpg
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_11_55_9652.jpg
/home/pi/Desktop/images/09122025/14/11/image_09122025_14_12_06_10544.jpg
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_15_9653.jpg
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_25_9709.jpg
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_35_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398561935","1398561832","1398561894","1398561858","1398561804","1398561989"],"photo_ids_order":["1398561804","1398561832","1398561858","1398561894","1398561935","1398561989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47e122c3559137925661eff2148af8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8043733700581180707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_12_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/575061144d32d10648bcd29779c5717e.jpg","text":"TemporaryFile(/tmp/multipartBody1783718432629031648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_11_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1e393c465c0415f572d11550db2fc7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2313540126300416254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_12_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/897a34d3a9aa2dde50142c15e36c27f3.jpg","text":"TemporaryFile(/tmp/multipartBody904553885264652447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_12_06_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4e4a5f08d4f2dd6f1fc237f5c4901f64.jpg","text":"TemporaryFile(/tmp/multipartBody574815711230872639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_11_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5eb2c03fb6c915557db6bf1b2766bd0e.jpg","text":"TemporaryFile(/tmp/multipartBody4079165934195894207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765317985719,"filename":"image_09122025_14_12_35_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398561858","file1":"1398561832","file0":"1398561804","file4":"1398561935","file5":"1398561989","file3":"1398561894"},"map_files_photo_id_array":[{"photo_id":"1398561989","filename":"file5"},{"photo_id":"1398561858","filename":"file2"},{"photo_id":"1398561935","filename":"file4"},{"photo_id":"1398561832","filename":"file1"},{"photo_id":"1398561804","filename":"file0"},{"photo_id":"1398561894","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398561935":["hashtag1","hashtag2"]},{"1398561832":["hashtag1","hashtag2"]},{"1398561894":["hashtag1","hashtag2"]},{"1398561858":["hashtag1","hashtag2"]},{"1398561804":["hashtag1","hashtag2"]},{"1398561989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398561935, 1398561832, 1398561894, 1398561858, 1398561804, 1398561989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19324040412903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:06:02.978463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_45_9649.jpg', '/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_55_9659.jpg', '/home/pi/Desktop/images/09122025/14/12/image_09122025_14_13_06_10719.jpg', '/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_15_9542.jpg', '/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_25_9746.jpg', '/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_36_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_45_9649.jpg
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_12_55_9659.jpg
/home/pi/Desktop/images/09122025/14/12/image_09122025_14_13_06_10719.jpg
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_15_9542.jpg
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_25_9746.jpg
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_36_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398562390","1398562465","1398562153","1398562209","1398562277","1398562322"],"photo_ids_order":["1398562153","1398562209","1398562277","1398562322","1398562390","1398562465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8baa2d3c56d433008a30cb2be4748bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2285821446119014607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_13_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7baf60a6d5b1c0ff258e5a339aea7118.jpg","text":"TemporaryFile(/tmp/multipartBody8461679210126354997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_13_36_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffc7171e7c32d1957ce82bdd6af7d371.jpg","text":"TemporaryFile(/tmp/multipartBody6049882679701779747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_12_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab5dcda2c9fd621118b9564668d4ad36.jpg","text":"TemporaryFile(/tmp/multipartBody1231292004902711560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_12_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e746e4520cfae1f17220ab6470fc16a8.jpg","text":"TemporaryFile(/tmp/multipartBody3105717679404394951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_13_06_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5b7b9d141e8b55bccf71f66de0ebcc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1007956004471154880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318023600,"filename":"image_09122025_14_13_15_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398562277","file1":"1398562209","file0":"1398562153","file4":"1398562390","file5":"1398562465","file3":"1398562322"},"map_files_photo_id_array":[{"photo_id":"1398562465","filename":"file5"},{"photo_id":"1398562277","filename":"file2"},{"photo_id":"1398562390","filename":"file4"},{"photo_id":"1398562209","filename":"file1"},{"photo_id":"1398562153","filename":"file0"},{"photo_id":"1398562322","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398562390":["hashtag1","hashtag2"]},{"1398562465":["hashtag1","hashtag2"]},{"1398562153":["hashtag1","hashtag2"]},{"1398562209":["hashtag1","hashtag2"]},{"1398562277":["hashtag1","hashtag2"]},{"1398562322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398562390, 1398562465, 1398562153, 1398562209, 1398562277, 1398562322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65265774726868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:06:42.637867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_55_5106.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_56_1761.jpg', '/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_59_2543.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_02_2929.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_04_2525.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_08_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_55_5106.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_56_1761.jpg
/home/pi/Desktop/images/01112025/19/57/image_01112025_19_57_59_2543.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_02_2929.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_04_2525.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_08_3547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398563128","1398563454","1398563234","1398563021","1398563336","1398562883"],"photo_ids_order":["1398562883","1398563021","1398563128","1398563234","1398563336","1398563454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34292754b113a8b4e5241be40ead39de.jpg","text":"TemporaryFile(/tmp/multipartBody9013575416257335669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_57_59_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0f2ef51118c6ddbd8df4a6c53414df5.jpg","text":"TemporaryFile(/tmp/multipartBody4200136137949596849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_58_08_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/14bc26cf076f769ce41c2e85cce9cf27.jpg","text":"TemporaryFile(/tmp/multipartBody5341087071734335030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_58_02_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/67b940c43156a6ae85233f8001354e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7811962562779904556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_57_56_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf39b8a7228eb02c735d9f33751e0514.jpg","text":"TemporaryFile(/tmp/multipartBody2022546467130033829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_58_04_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b3868dbfa40041b991beccea04abcdb.jpg","text":"TemporaryFile(/tmp/multipartBody6416884818383230582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318063691,"filename":"image_01112025_19_57_55_5106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398563128","file1":"1398563021","file0":"1398562883","file4":"1398563336","file5":"1398563454","file3":"1398563234"},"map_files_photo_id_array":[{"photo_id":"1398563454","filename":"file5"},{"photo_id":"1398563128","filename":"file2"},{"photo_id":"1398563336","filename":"file4"},{"photo_id":"1398563021","filename":"file1"},{"photo_id":"1398562883","filename":"file0"},{"photo_id":"1398563234","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398563128":["hashtag1","hashtag2"]},{"1398563454":["hashtag1","hashtag2"]},{"1398563234":["hashtag1","hashtag2"]},{"1398563021":["hashtag1","hashtag2"]},{"1398563336":["hashtag1","hashtag2"]},{"1398562883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398563128, 1398563454, 1398563234, 1398563021, 1398563336, 1398562883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92912936210632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:07:22.861932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_45_9867.jpg', '/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_55_9622.jpg', '/home/pi/Desktop/images/09122025/14/13/image_09122025_14_14_05_9728.jpg', '/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_16_10760.jpg', '/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_25_9092.jpg', '/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_35_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_45_9867.jpg
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_13_55_9622.jpg
/home/pi/Desktop/images/09122025/14/13/image_09122025_14_14_05_9728.jpg
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_16_10760.jpg
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_25_9092.jpg
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_35_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398563965","1398564099","1398564062","1398563802","1398564023","1398563893"],"photo_ids_order":["1398563802","1398563893","1398563965","1398564023","1398564062","1398564099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca4211b83cdad124f9766b60befe8936.jpg","text":"TemporaryFile(/tmp/multipartBody407655624899104668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_14_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2fa3c57acd31f778ec686c3649dd4042.jpg","text":"TemporaryFile(/tmp/multipartBody1895879689018634659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_14_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d32a7f454ec381b50bd8f2ba700bf386.jpg","text":"TemporaryFile(/tmp/multipartBody1357814364636715398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_14_25_9092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3a86227e9df302a842365433f69d909b.jpg","text":"TemporaryFile(/tmp/multipartBody6535587956334500711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_13_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c489b41c1bb4c0ef4702e21f85a4857e.jpg","text":"TemporaryFile(/tmp/multipartBody7274076717575072632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_14_16_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8a8e7fffbcb31310c6cfd7584e63ed35.jpg","text":"TemporaryFile(/tmp/multipartBody3431710001095209410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318103468,"filename":"image_09122025_14_13_55_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398563965","file1":"1398563893","file0":"1398563802","file4":"1398564062","file5":"1398564099","file3":"1398564023"},"map_files_photo_id_array":[{"photo_id":"1398564099","filename":"file5"},{"photo_id":"1398563965","filename":"file2"},{"photo_id":"1398564062","filename":"file4"},{"photo_id":"1398563893","filename":"file1"},{"photo_id":"1398563802","filename":"file0"},{"photo_id":"1398564023","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398563965":["hashtag1","hashtag2"]},{"1398564099":["hashtag1","hashtag2"]},{"1398564062":["hashtag1","hashtag2"]},{"1398563802":["hashtag1","hashtag2"]},{"1398564023":["hashtag1","hashtag2"]},{"1398563893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398563965, 1398564099, 1398564062, 1398563802, 1398564023, 1398563893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.838014364242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:08:02.657329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_45_9542.jpg', '/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_55_10656.jpg', '/home/pi/Desktop/images/09122025/14/14/image_09122025_14_15_05_9761.jpg', '/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_15_9657.jpg', '/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_25_9757.jpg', '/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_45_9542.jpg
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_14_55_10656.jpg
/home/pi/Desktop/images/09122025/14/14/image_09122025_14_15_05_9761.jpg
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_15_9657.jpg
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_25_9757.jpg
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_35_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398564408","1398564485","1398564557","1398564448","1398564328","1398564520"],"photo_ids_order":["1398564328","1398564408","1398564448","1398564485","1398564520","1398564557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/916b375b7bb2b3e45bb7a2ce356d0b71.jpg","text":"TemporaryFile(/tmp/multipartBody3728993010067904210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_14_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcb781cd0eefd38e3ba489f287bce769.jpg","text":"TemporaryFile(/tmp/multipartBody4421233830909313299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_15_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84ead905f2628f1ee920d530bb02333b.jpg","text":"TemporaryFile(/tmp/multipartBody5772266270258855223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_15_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c8505d6dd4113acdf2c0d2646b9135a5.jpg","text":"TemporaryFile(/tmp/multipartBody5577698119190621384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_15_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/381507c018ab85134b07201b826a5586.jpg","text":"TemporaryFile(/tmp/multipartBody7964796688256821764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_14_45_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9c745484f43e0fb7e95c6b98cf3c052.jpg","text":"TemporaryFile(/tmp/multipartBody3352960776965854715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318143289,"filename":"image_09122025_14_15_25_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398564448","file1":"1398564408","file0":"1398564328","file4":"1398564520","file5":"1398564557","file3":"1398564485"},"map_files_photo_id_array":[{"photo_id":"1398564557","filename":"file5"},{"photo_id":"1398564448","filename":"file2"},{"photo_id":"1398564520","filename":"file4"},{"photo_id":"1398564408","filename":"file1"},{"photo_id":"1398564328","filename":"file0"},{"photo_id":"1398564485","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398564408":["hashtag1","hashtag2"]},{"1398564485":["hashtag1","hashtag2"]},{"1398564557":["hashtag1","hashtag2"]},{"1398564448":["hashtag1","hashtag2"]},{"1398564328":["hashtag1","hashtag2"]},{"1398564520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398564408, 1398564485, 1398564557, 1398564448, 1398564328, 1398564520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.805418729782104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:08:41.987301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_11_2635.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_13_2800.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_17_3555.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_20_2708.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_29_2710.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_31_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_11_2635.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_13_2800.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_17_3555.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_20_2708.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_29_2710.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_31_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398565104","1398565011","1398564909","1398565178","1398565318","1398565260"],"photo_ids_order":["1398564909","1398565011","1398565104","1398565178","1398565260","1398565318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35cb81e0062b2a6eac58b3778f96e15f.jpg","text":"TemporaryFile(/tmp/multipartBody2952788326075628576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_17_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/524dd0c9b9dea19f3ab48fee761c766c.jpg","text":"TemporaryFile(/tmp/multipartBody7194279515621581117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cd611dfbdca41493740d93ad66af00ca.jpg","text":"TemporaryFile(/tmp/multipartBody1414022364264633496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_11_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/872ea8cefa38e5a2a46eae9942e35e84.jpg","text":"TemporaryFile(/tmp/multipartBody759059683344686828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_20_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/662165ca48b6d16366a74d57435d2d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1634230388310331945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_31_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/095b9ddf4982b8241f4a2e2b429d8f67.jpg","text":"TemporaryFile(/tmp/multipartBody2860760776550076878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318182955,"filename":"image_01112025_19_58_29_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398565104","file1":"1398565011","file0":"1398564909","file4":"1398565260","file5":"1398565318","file3":"1398565178"},"map_files_photo_id_array":[{"photo_id":"1398565318","filename":"file5"},{"photo_id":"1398565104","filename":"file2"},{"photo_id":"1398565260","filename":"file4"},{"photo_id":"1398565011","filename":"file1"},{"photo_id":"1398564909","filename":"file0"},{"photo_id":"1398565178","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398565104":["hashtag1","hashtag2"]},{"1398565011":["hashtag1","hashtag2"]},{"1398564909":["hashtag1","hashtag2"]},{"1398565178":["hashtag1","hashtag2"]},{"1398565318":["hashtag1","hashtag2"]},{"1398565260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398565104, 1398565011, 1398564909, 1398565178, 1398565318, 1398565260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.596641063690186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:09:22.308073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_45_9670.jpg', '/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_56_10568.jpg', '/home/pi/Desktop/images/09122025/14/15/image_09122025_14_16_05_9631.jpg', '/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_15_9714.jpg', '/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_26_10651.jpg', '/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_35_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_45_9670.jpg
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_15_56_10568.jpg
/home/pi/Desktop/images/09122025/14/15/image_09122025_14_16_05_9631.jpg
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_15_9714.jpg
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_26_10651.jpg
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_35_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398565938","1398565851","1398565560","1398565635","1398565737","1398566015"],"photo_ids_order":["1398565560","1398565635","1398565737","1398565851","1398565938","1398566015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f3e3278bdf9e36d0b362bc57cc9bed43.jpg","text":"TemporaryFile(/tmp/multipartBody7013321587843014497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_16_26_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82d4956a4e9603ca49932b2c7fd76fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1651008231891240914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_16_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a6085702466e05037a6f449255b16df.jpg","text":"TemporaryFile(/tmp/multipartBody7255678225724793670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_15_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/774ad9e7fa592d48aee0af4fdf98a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody7123649637197154784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_15_56_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/83ad57d47fabcf294433ebeee6332f14.jpg","text":"TemporaryFile(/tmp/multipartBody7306797231843376215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_16_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/15cf9a234549beb5d6bad3abef8d1a23.jpg","text":"TemporaryFile(/tmp/multipartBody8075961466897069603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318222905,"filename":"image_09122025_14_16_35_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398565737","file1":"1398565635","file0":"1398565560","file4":"1398565938","file5":"1398566015","file3":"1398565851"},"map_files_photo_id_array":[{"photo_id":"1398566015","filename":"file5"},{"photo_id":"1398565737","filename":"file2"},{"photo_id":"1398565938","filename":"file4"},{"photo_id":"1398565635","filename":"file1"},{"photo_id":"1398565560","filename":"file0"},{"photo_id":"1398565851","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398565938":["hashtag1","hashtag2"]},{"1398565851":["hashtag1","hashtag2"]},{"1398565560":["hashtag1","hashtag2"]},{"1398565635":["hashtag1","hashtag2"]},{"1398565737":["hashtag1","hashtag2"]},{"1398566015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398565938, 1398565851, 1398565560, 1398565635, 1398565737, 1398566015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.071345806121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:10:02.558072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_45_9624.jpg', '/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_56_10736.jpg', '/home/pi/Desktop/images/09122025/14/16/image_09122025_14_17_05_9613.jpg', '/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_15_9758.jpg', '/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_25_10566.jpg', '/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_35_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_45_9624.jpg
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_16_56_10736.jpg
/home/pi/Desktop/images/09122025/14/16/image_09122025_14_17_05_9613.jpg
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_15_9758.jpg
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_25_10566.jpg
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_35_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398566672","1398566507","1398566342","1398566590","1398566407","1398566463"],"photo_ids_order":["1398566342","1398566407","1398566463","1398566507","1398566590","1398566672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e698f87a3ee742bb45f2d5749c2e6d8.jpg","text":"TemporaryFile(/tmp/multipartBody427002954412329940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_17_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3fd430ba754e542436cf013a58e6ea6e.jpg","text":"TemporaryFile(/tmp/multipartBody7978603495867465905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_17_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9aa6c86c88e2cf83c5501f888f06e929.jpg","text":"TemporaryFile(/tmp/multipartBody4652565089411043669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_16_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fe4a54d473e35748e54a8f7cdceedabe.jpg","text":"TemporaryFile(/tmp/multipartBody3950679225310331749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_17_25_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/73069854b0907809722590fa6dc121a2.jpg","text":"TemporaryFile(/tmp/multipartBody4933756786714874171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_16_56_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dccc3fbaa3bd1508cd6f3957089c947e.jpg","text":"TemporaryFile(/tmp/multipartBody8760922550977844147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318263166,"filename":"image_09122025_14_17_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398566463","file1":"1398566407","file0":"1398566342","file4":"1398566590","file5":"1398566672","file3":"1398566507"},"map_files_photo_id_array":[{"photo_id":"1398566672","filename":"file5"},{"photo_id":"1398566463","filename":"file2"},{"photo_id":"1398566590","filename":"file4"},{"photo_id":"1398566407","filename":"file1"},{"photo_id":"1398566342","filename":"file0"},{"photo_id":"1398566507","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398566672":["hashtag1","hashtag2"]},{"1398566507":["hashtag1","hashtag2"]},{"1398566342":["hashtag1","hashtag2"]},{"1398566590":["hashtag1","hashtag2"]},{"1398566407":["hashtag1","hashtag2"]},{"1398566463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398566672, 1398566507, 1398566342, 1398566590, 1398566407, 1398566463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.308326721191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:10:42.253752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_35_3684.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_38_2656.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_40_2584.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_44_3669.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_47_2855.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_49_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_35_3684.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_38_2656.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_40_2584.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_44_3669.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_47_2855.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_49_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398567005","1398567175","1398567256","1398567418","1398567099","1398567333"],"photo_ids_order":["1398567005","1398567099","1398567175","1398567256","1398567333","1398567418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7fe099d11dddab5fd5f5003e1f87268.jpg","text":"TemporaryFile(/tmp/multipartBody7449615853485407108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_35_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5568ed36ca7856c1c49d9da49a58fc2f.jpg","text":"TemporaryFile(/tmp/multipartBody5499521911784794909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_40_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e916803156f3ce950c4da9e6522a7702.jpg","text":"TemporaryFile(/tmp/multipartBody3640520609868727087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dea94c189bd51d79454bde6dd22e9f33.jpg","text":"TemporaryFile(/tmp/multipartBody9198376778991870757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_49_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/802785bb40e3138f7b24495cc225ec59.jpg","text":"TemporaryFile(/tmp/multipartBody3742498328977094254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_38_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89dd236b927145091ee7dfb3740781b8.jpg","text":"TemporaryFile(/tmp/multipartBody4362257964775426291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318303262,"filename":"image_01112025_19_58_47_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398567175","file1":"1398567099","file0":"1398567005","file4":"1398567333","file5":"1398567418","file3":"1398567256"},"map_files_photo_id_array":[{"photo_id":"1398567418","filename":"file5"},{"photo_id":"1398567175","filename":"file2"},{"photo_id":"1398567333","filename":"file4"},{"photo_id":"1398567099","filename":"file1"},{"photo_id":"1398567005","filename":"file0"},{"photo_id":"1398567256","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398567005":["hashtag1","hashtag2"]},{"1398567175":["hashtag1","hashtag2"]},{"1398567256":["hashtag1","hashtag2"]},{"1398567418":["hashtag1","hashtag2"]},{"1398567099":["hashtag1","hashtag2"]},{"1398567333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398567005, 1398567175, 1398567256, 1398567418, 1398567099, 1398567333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.592106103897095 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:11:32.531459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/11/image_08122025_14_12_04_9737.jpg', '/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_15_10625.jpg', '/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_25_9605.jpg', '/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_45_10611.jpg', '/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_55_9748.jpg', '/home/pi/Desktop/images/08122025/14/12/image_08122025_14_13_05_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/11/image_08122025_14_12_04_9737.jpg
/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_15_10625.jpg
/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_25_9605.jpg
/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_45_10611.jpg
/home/pi/Desktop/images/08122025/14/12/image_08122025_14_12_55_9748.jpg
/home/pi/Desktop/images/08122025/14/12/image_08122025_14_13_05_9979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398568456","1398568705","1398568300","1398568566","1398568965","1398568854"],"photo_ids_order":["1398568300","1398568456","1398568566","1398568705","1398568854","1398568965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0f9262b3491ed505c67fd8fa6035359f.jpg","text":"TemporaryFile(/tmp/multipartBody5896509255486742121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_12_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb6674d14e6b8d2b085019915c96b418.jpg","text":"TemporaryFile(/tmp/multipartBody5411451096061715989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_12_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/161783a9e0c4d099e451aa6c6a72357a.jpg","text":"TemporaryFile(/tmp/multipartBody7735555995093861321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_12_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca62760d1f7e3a2f9a7d9532672309be.jpg","text":"TemporaryFile(/tmp/multipartBody4366381713205195970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_12_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b711f47fa2dc14c5a9c9590074d745f.jpg","text":"TemporaryFile(/tmp/multipartBody7501294436701680295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_13_05_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab25e754fef94e6ba93044cc22cb1ff4.jpg","text":"TemporaryFile(/tmp/multipartBody9022759919816030490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318354469,"filename":"image_08122025_14_12_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398568566","file1":"1398568456","file0":"1398568300","file4":"1398568854","file5":"1398568965","file3":"1398568705"},"map_files_photo_id_array":[{"photo_id":"1398568965","filename":"file5"},{"photo_id":"1398568566","filename":"file2"},{"photo_id":"1398568854","filename":"file4"},{"photo_id":"1398568456","filename":"file1"},{"photo_id":"1398568300","filename":"file0"},{"photo_id":"1398568705","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398568456":["hashtag1","hashtag2"]},{"1398568705":["hashtag1","hashtag2"]},{"1398568300":["hashtag1","hashtag2"]},{"1398568566":["hashtag1","hashtag2"]},{"1398568965":["hashtag1","hashtag2"]},{"1398568854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398568456, 1398568705, 1398568300, 1398568566, 1398568965, 1398568854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42099618911743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:12:12.673642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_15_9947.jpg', '/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_24_9662.jpg', '/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_35_10731.jpg', '/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_45_9745.jpg', '/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_54_9618.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_05_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_15_9947.jpg
/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_24_9662.jpg
/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_35_10731.jpg
/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_45_9745.jpg
/home/pi/Desktop/images/08122025/14/13/image_08122025_14_13_54_9618.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_05_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398569292","1398569268","1398569232","1398569294","1398569191","1398569275"],"photo_ids_order":["1398569191","1398569232","1398569268","1398569275","1398569292","1398569294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/00e41c1cd799682f36e9df25d223f08c.jpg","text":"TemporaryFile(/tmp/multipartBody1593060589292296352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_13_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/537e8703aaaac7a44bbbf0d08e4b678e.jpg","text":"TemporaryFile(/tmp/multipartBody4756325529944369298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_13_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cc096fb67caf2ee50ee06ce61ce03930.jpg","text":"TemporaryFile(/tmp/multipartBody3132967741933779967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_13_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/505ef4f057336fe2355285174dba280a.jpg","text":"TemporaryFile(/tmp/multipartBody4989086734718515380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_14_05_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd1e9e9d6b19dac7ffa5885c9d5c99ae.jpg","text":"TemporaryFile(/tmp/multipartBody7982058279820444147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_13_15_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e67a296a6ea77cb3761d4f3447e0dda.jpg","text":"TemporaryFile(/tmp/multipartBody3988665016037491472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318394475,"filename":"image_08122025_14_13_45_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398569268","file1":"1398569232","file0":"1398569191","file4":"1398569292","file5":"1398569294","file3":"1398569275"},"map_files_photo_id_array":[{"photo_id":"1398569294","filename":"file5"},{"photo_id":"1398569268","filename":"file2"},{"photo_id":"1398569292","filename":"file4"},{"photo_id":"1398569232","filename":"file1"},{"photo_id":"1398569191","filename":"file0"},{"photo_id":"1398569275","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398569292":["hashtag1","hashtag2"]},{"1398569268":["hashtag1","hashtag2"]},{"1398569232":["hashtag1","hashtag2"]},{"1398569294":["hashtag1","hashtag2"]},{"1398569191":["hashtag1","hashtag2"]},{"1398569275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398569292, 1398569268, 1398569232, 1398569294, 1398569191, 1398569275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67174291610718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:13:02.755356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_45_9776.jpg', '/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_55_9776.jpg', '/home/pi/Desktop/images/09122025/14/17/image_09122025_14_18_06_10846.jpg', '/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_15_9603.jpg', '/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_25_9947.jpg', '/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_45_9776.jpg
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_17_55_9776.jpg
/home/pi/Desktop/images/09122025/14/17/image_09122025_14_18_06_10846.jpg
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_15_9603.jpg
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_25_9947.jpg
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_35_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398569569","1398569527","1398569382","1398569427","1398569486","1398569446"],"photo_ids_order":["1398569382","1398569427","1398569446","1398569486","1398569527","1398569569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/92d8d03c812de7f1b8f1cbe1ee635f54.jpg","text":"TemporaryFile(/tmp/multipartBody8401284931810199307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_18_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f87bec6eae0b2c3b6228822182bd0c89.jpg","text":"TemporaryFile(/tmp/multipartBody8598295312775856113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_18_25_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6355984c6206c65be50715a81f82ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody7512225168520098987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_17_45_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/35885eabce1f4eb8d164942c68dd9141.jpg","text":"TemporaryFile(/tmp/multipartBody6975676814332917011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_17_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c7830908f6188ac8bffc82377e32972.jpg","text":"TemporaryFile(/tmp/multipartBody3764437815463066414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_18_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/317e6bc35ca40d3299b13ef1f3ac710a.jpg","text":"TemporaryFile(/tmp/multipartBody3614877526946842029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318443382,"filename":"image_09122025_14_18_06_10846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398569446","file1":"1398569427","file0":"1398569382","file4":"1398569527","file5":"1398569569","file3":"1398569486"},"map_files_photo_id_array":[{"photo_id":"1398569569","filename":"file5"},{"photo_id":"1398569446","filename":"file2"},{"photo_id":"1398569527","filename":"file4"},{"photo_id":"1398569427","filename":"file1"},{"photo_id":"1398569382","filename":"file0"},{"photo_id":"1398569486","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398569569":["hashtag1","hashtag2"]},{"1398569527":["hashtag1","hashtag2"]},{"1398569382":["hashtag1","hashtag2"]},{"1398569427":["hashtag1","hashtag2"]},{"1398569486":["hashtag1","hashtag2"]},{"1398569446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398569569, 1398569527, 1398569382, 1398569427, 1398569486, 1398569446)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.10048055648804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:14:02.884869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_45_10587.jpg', '/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_55_9693.jpg', '/home/pi/Desktop/images/09122025/14/18/image_09122025_14_19_05_9865.jpg', '/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_15_10518.jpg', '/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_25_9657.jpg', '/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_35_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_45_10587.jpg
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_18_55_9693.jpg
/home/pi/Desktop/images/09122025/14/18/image_09122025_14_19_05_9865.jpg
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_15_10518.jpg
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_25_9657.jpg
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_35_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398570215","1398570484","1398570110","1398570359","1398570053","1398570592"],"photo_ids_order":["1398570053","1398570110","1398570215","1398570359","1398570484","1398570592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b32d93af4833ba0ed68a3fc9c4dfad67.jpg","text":"TemporaryFile(/tmp/multipartBody3546549080237658731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_19_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c15f720a2c8ea96614f045acc429092f.jpg","text":"TemporaryFile(/tmp/multipartBody3929009555507637921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_19_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dcf683d4af3d0d641b1307921807d3ea.jpg","text":"TemporaryFile(/tmp/multipartBody7866587857765434416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_18_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2f5dbc5954b1a7a197604a1160a9708.jpg","text":"TemporaryFile(/tmp/multipartBody4985117897238881183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_19_15_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b8b1e53e576f3343b37772706c045f69.jpg","text":"TemporaryFile(/tmp/multipartBody9010710993311298151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_18_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8bb97ac88405a45fde6b2773d716779b.jpg","text":"TemporaryFile(/tmp/multipartBody6138186809276071062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318503494,"filename":"image_09122025_14_19_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398570215","file1":"1398570110","file0":"1398570053","file4":"1398570484","file5":"1398570592","file3":"1398570359"},"map_files_photo_id_array":[{"photo_id":"1398570592","filename":"file5"},{"photo_id":"1398570215","filename":"file2"},{"photo_id":"1398570484","filename":"file4"},{"photo_id":"1398570110","filename":"file1"},{"photo_id":"1398570053","filename":"file0"},{"photo_id":"1398570359","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398570215":["hashtag1","hashtag2"]},{"1398570484":["hashtag1","hashtag2"]},{"1398570110":["hashtag1","hashtag2"]},{"1398570359":["hashtag1","hashtag2"]},{"1398570053":["hashtag1","hashtag2"]},{"1398570592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398570215, 1398570484, 1398570110, 1398570359, 1398570053, 1398570592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01413583755493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:14:42.356872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_52_2598.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_56_3671.jpg', '/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_58_2664.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_01_2710.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_05_3605.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_07_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_52_2598.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_56_3671.jpg
/home/pi/Desktop/images/01112025/19/58/image_01112025_19_58_58_2664.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_01_2710.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_05_3605.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_07_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398571162","1398571042","1398571386","1398571245","1398571329","1398571288"],"photo_ids_order":["1398571042","1398571162","1398571245","1398571288","1398571329","1398571386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47fd47964f89e57e826408a9aaf91369.jpg","text":"TemporaryFile(/tmp/multipartBody5178844336493088944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_58_56_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5215b0ef718ee870074402501a32d412.jpg","text":"TemporaryFile(/tmp/multipartBody3071318483615823119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_58_52_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5de9346254e52639a3dc29ac1a346d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2787647800555901384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_59_07_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69d2142c70742b03716575a59543a664.jpg","text":"TemporaryFile(/tmp/multipartBody72004645423964266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_58_58_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b52945bce538c13bb29205b4a3987f95.jpg","text":"TemporaryFile(/tmp/multipartBody4919149017654079912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_59_05_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0125deed1660c3c3d2e70a4f04077a93.jpg","text":"TemporaryFile(/tmp/multipartBody3756273175668300178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318543380,"filename":"image_01112025_19_59_01_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398571245","file1":"1398571162","file0":"1398571042","file4":"1398571329","file5":"1398571386","file3":"1398571288"},"map_files_photo_id_array":[{"photo_id":"1398571386","filename":"file5"},{"photo_id":"1398571245","filename":"file2"},{"photo_id":"1398571329","filename":"file4"},{"photo_id":"1398571162","filename":"file1"},{"photo_id":"1398571042","filename":"file0"},{"photo_id":"1398571288","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398571162":["hashtag1","hashtag2"]},{"1398571042":["hashtag1","hashtag2"]},{"1398571386":["hashtag1","hashtag2"]},{"1398571245":["hashtag1","hashtag2"]},{"1398571329":["hashtag1","hashtag2"]},{"1398571288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398571162, 1398571042, 1398571386, 1398571245, 1398571329, 1398571288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22321009635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:15:22.411871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_45_10525.jpg', '/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_55_9774.jpg', '/home/pi/Desktop/images/09122025/14/19/image_09122025_14_20_05_9685.jpg', '/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_15_10613.jpg', '/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_25_9638.jpg', '/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_35_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_45_10525.jpg
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_19_55_9774.jpg
/home/pi/Desktop/images/09122025/14/19/image_09122025_14_20_05_9685.jpg
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_15_10613.jpg
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_25_9638.jpg
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_35_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398571776","1398571872","1398571629","1398571815","1398571955","1398571709"],"photo_ids_order":["1398571629","1398571709","1398571776","1398571815","1398571872","1398571955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ce3dd22c83836a585ab9e3365ded76e5.jpg","text":"TemporaryFile(/tmp/multipartBody2073569838716020813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_20_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/65e35a8bd593d70040c7e6548aa0fd95.jpg","text":"TemporaryFile(/tmp/multipartBody8847329733032882738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_20_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dfc36b9decd6cda0f51b798c3ea32fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6732439596296948733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_19_45_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89ebccd9dccc30cf0c4ddc04b7f9219c.jpg","text":"TemporaryFile(/tmp/multipartBody3206219118651006911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_20_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/74b7333530c459189ba51d77f91589cc.jpg","text":"TemporaryFile(/tmp/multipartBody1173923495987421801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_20_35_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec1c10a9238e4b4e5278c0eaad5fd669.jpg","text":"TemporaryFile(/tmp/multipartBody1404939034246098579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318582977,"filename":"image_09122025_14_19_55_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398571776","file1":"1398571709","file0":"1398571629","file4":"1398571872","file5":"1398571955","file3":"1398571815"},"map_files_photo_id_array":[{"photo_id":"1398571955","filename":"file5"},{"photo_id":"1398571776","filename":"file2"},{"photo_id":"1398571872","filename":"file4"},{"photo_id":"1398571709","filename":"file1"},{"photo_id":"1398571629","filename":"file0"},{"photo_id":"1398571815","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398571776":["hashtag1","hashtag2"]},{"1398571872":["hashtag1","hashtag2"]},{"1398571629":["hashtag1","hashtag2"]},{"1398571815":["hashtag1","hashtag2"]},{"1398571955":["hashtag1","hashtag2"]},{"1398571709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398571776, 1398571872, 1398571629, 1398571815, 1398571955, 1398571709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98026633262634 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:16:13.127995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_15_9794.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_24_9769.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_35_10673.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_45_9652.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_54_9689.jpg', '/home/pi/Desktop/images/08122025/14/14/image_08122025_14_15_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_15_9794.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_24_9769.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_35_10673.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_45_9652.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_14_54_9689.jpg
/home/pi/Desktop/images/08122025/14/14/image_08122025_14_15_05_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398572373","1398572448","1398572412","1398572291","1398572488","1398572332"],"photo_ids_order":["1398572291","1398572332","1398572373","1398572412","1398572448","1398572488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/adc4d890801f63d8d4aa5edf5c296bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3211490401672699200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_14_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5028d73c223d84ba5b15cfe70bbbfec8.jpg","text":"TemporaryFile(/tmp/multipartBody4065323728874487535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_14_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7251dba09769ef770304ea9a51ea23b.jpg","text":"TemporaryFile(/tmp/multipartBody8591771042285844427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_14_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/02da255d77f3afef60283a626b008ffd.jpg","text":"TemporaryFile(/tmp/multipartBody792072488261735261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_14_15_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37da5b5993de663c11b3d05f41c4981c.jpg","text":"TemporaryFile(/tmp/multipartBody6956666566082758352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_15_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8b94bcaaf657c2dc86f427031586cdcb.jpg","text":"TemporaryFile(/tmp/multipartBody6537488388061200459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318634962,"filename":"image_08122025_14_14_24_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398572373","file1":"1398572332","file0":"1398572291","file4":"1398572448","file5":"1398572488","file3":"1398572412"},"map_files_photo_id_array":[{"photo_id":"1398572488","filename":"file5"},{"photo_id":"1398572373","filename":"file2"},{"photo_id":"1398572448","filename":"file4"},{"photo_id":"1398572332","filename":"file1"},{"photo_id":"1398572291","filename":"file0"},{"photo_id":"1398572412","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398572373":["hashtag1","hashtag2"]},{"1398572448":["hashtag1","hashtag2"]},{"1398572412":["hashtag1","hashtag2"]},{"1398572291":["hashtag1","hashtag2"]},{"1398572488":["hashtag1","hashtag2"]},{"1398572332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398572373, 1398572448, 1398572412, 1398572291, 1398572488, 1398572332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.697834730148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:17:02.966553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_45_9850.jpg', '/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_55_10604.jpg', '/home/pi/Desktop/images/09122025/14/20/image_09122025_14_21_05_9642.jpg', '/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_16_10579.jpg', '/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_25_9616.jpg', '/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_45_9850.jpg
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_20_55_10604.jpg
/home/pi/Desktop/images/09122025/14/20/image_09122025_14_21_05_9642.jpg
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_16_10579.jpg
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_25_9616.jpg
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398572688","1398573249","1398572777","1398572648","1398573088","1398572935"],"photo_ids_order":["1398572648","1398572688","1398572777","1398572935","1398573088","1398573249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0d4b947fd2df9a3001a814e0ae6d8eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1062175540366297469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_20_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d43bfc0a1fab6011388863a1325ae2da.jpg","text":"TemporaryFile(/tmp/multipartBody1712572274139577930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_21_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e18a82c35b09d5cdf358c34748df0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1007744576819823682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_21_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/45c6484a92414d1966c44b9ff11e6187.jpg","text":"TemporaryFile(/tmp/multipartBody8739239704774887994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_20_45_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f898486aba3f20305f31f496aa0d57d8.jpg","text":"TemporaryFile(/tmp/multipartBody2111546897287178006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_21_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f82ad2dc8ea1d1bd1c00b95f8c444afb.jpg","text":"TemporaryFile(/tmp/multipartBody2976950505580881672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318683609,"filename":"image_09122025_14_21_16_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398572777","file1":"1398572688","file0":"1398572648","file4":"1398573088","file5":"1398573249","file3":"1398572935"},"map_files_photo_id_array":[{"photo_id":"1398573249","filename":"file5"},{"photo_id":"1398572777","filename":"file2"},{"photo_id":"1398573088","filename":"file4"},{"photo_id":"1398572688","filename":"file1"},{"photo_id":"1398572648","filename":"file0"},{"photo_id":"1398572935","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398572688":["hashtag1","hashtag2"]},{"1398573249":["hashtag1","hashtag2"]},{"1398572777":["hashtag1","hashtag2"]},{"1398572648":["hashtag1","hashtag2"]},{"1398573088":["hashtag1","hashtag2"]},{"1398572935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398572688, 1398573249, 1398572777, 1398572648, 1398573088, 1398572935)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05902981758118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:18:05.492327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_45_10687.jpg', '/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_55_9697.jpg', '/home/pi/Desktop/images/09122025/14/21/image_09122025_14_22_05_9794.jpg', '/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_15_9669.jpg', '/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_25_10559.jpg', '/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_35_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_45_10687.jpg
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_21_55_9697.jpg
/home/pi/Desktop/images/09122025/14/21/image_09122025_14_22_05_9794.jpg
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_15_9669.jpg
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_25_10559.jpg
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_35_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398573714","1398573717","1398573881","1398573812","1398573961","1398573747"],"photo_ids_order":["1398573714","1398573717","1398573747","1398573812","1398573881","1398573961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c3a2437cebadeaa1b394922c4dad5e4.jpg","text":"TemporaryFile(/tmp/multipartBody3622374380682944264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_21_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7870536f753ab69a82acdf1463e12599.jpg","text":"TemporaryFile(/tmp/multipartBody4021915220228772204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_21_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89abffba3fbd8bd8f2d2c0a37748fc9e.jpg","text":"TemporaryFile(/tmp/multipartBody8207485704896581714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_22_25_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fcf266c4a40f35db95b0e7996631a13b.jpg","text":"TemporaryFile(/tmp/multipartBody7124220158537324073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_22_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/12efeaa94081d4dd3512f66aebe59ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5012671061809295478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_22_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/14c3b5111c1a4db39ada6dad31f966bc.jpg","text":"TemporaryFile(/tmp/multipartBody7461212031281102362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318749139,"filename":"image_09122025_14_22_05_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398573747","file1":"1398573717","file0":"1398573714","file4":"1398573881","file5":"1398573961","file3":"1398573812"},"map_files_photo_id_array":[{"photo_id":"1398573961","filename":"file5"},{"photo_id":"1398573747","filename":"file2"},{"photo_id":"1398573881","filename":"file4"},{"photo_id":"1398573717","filename":"file1"},{"photo_id":"1398573714","filename":"file0"},{"photo_id":"1398573812","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398573714":["hashtag1","hashtag2"]},{"1398573717":["hashtag1","hashtag2"]},{"1398573881":["hashtag1","hashtag2"]},{"1398573812":["hashtag1","hashtag2"]},{"1398573961":["hashtag1","hashtag2"]},{"1398573747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398573714, 1398573717, 1398573881, 1398573812, 1398573961, 1398573747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12327527999878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:19:06.016072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_45_10558.jpg', '/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_55_9564.jpg', '/home/pi/Desktop/images/09122025/14/22/image_09122025_14_23_05_9736.jpg', '/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_15_10589.jpg', '/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_25_9675.jpg', '/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_45_10558.jpg
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_22_55_9564.jpg
/home/pi/Desktop/images/09122025/14/22/image_09122025_14_23_05_9736.jpg
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_15_10589.jpg
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_25_9675.jpg
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_35_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398574298","1398574313","1398574316","1398574309","1398574341","1398574311"],"photo_ids_order":["1398574298","1398574309","1398574311","1398574313","1398574316","1398574341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2a7b839f1ca9a1675c762f9114ed7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3047528949439323639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_22_45_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/acc956db62156503f7874c29199eed51.jpg","text":"TemporaryFile(/tmp/multipartBody5960941971505109771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_23_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/87e9fbc9de45313af278e4099ed79983.jpg","text":"TemporaryFile(/tmp/multipartBody6924514271805543917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_23_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afe4e56f3c30e196c4fc6462ac5028d7.jpg","text":"TemporaryFile(/tmp/multipartBody4138223331049162173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_22_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7f211e2007303615210f6b6a8a937f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1763277561594243059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_23_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a24184d41c8fff59b0a3f22c4d2b288.jpg","text":"TemporaryFile(/tmp/multipartBody4220826141905022464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318806756,"filename":"image_09122025_14_23_05_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398574311","file1":"1398574309","file0":"1398574298","file4":"1398574316","file5":"1398574341","file3":"1398574313"},"map_files_photo_id_array":[{"photo_id":"1398574341","filename":"file5"},{"photo_id":"1398574311","filename":"file2"},{"photo_id":"1398574316","filename":"file4"},{"photo_id":"1398574309","filename":"file1"},{"photo_id":"1398574298","filename":"file0"},{"photo_id":"1398574313","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398574298":["hashtag1","hashtag2"]},{"1398574313":["hashtag1","hashtag2"]},{"1398574316":["hashtag1","hashtag2"]},{"1398574309":["hashtag1","hashtag2"]},{"1398574341":["hashtag1","hashtag2"]},{"1398574311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398574298, 1398574313, 1398574316, 1398574309, 1398574341, 1398574311)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.679349184036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:20:02.761025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_45_10586.jpg', '/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_55_9778.jpg', '/home/pi/Desktop/images/09122025/14/23/image_09122025_14_24_06_10580.jpg', '/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_15_9764.jpg', '/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_25_9680.jpg', '/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_35_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_45_10586.jpg
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_23_55_9778.jpg
/home/pi/Desktop/images/09122025/14/23/image_09122025_14_24_06_10580.jpg
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_15_9764.jpg
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_25_9680.jpg
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_35_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398574540","1398574534","1398574447","1398574528","1398574488","1398574530"],"photo_ids_order":["1398574447","1398574488","1398574528","1398574530","1398574534","1398574540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ada1ab021cb2f08eb928b407eadb451.jpg","text":"TemporaryFile(/tmp/multipartBody4360856978639815740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_24_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/84637eebdb94600eef5820880f2000d8.jpg","text":"TemporaryFile(/tmp/multipartBody4137046768090777483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_24_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ffdadb6a1ef0b7f381c5994ce5f256a0.jpg","text":"TemporaryFile(/tmp/multipartBody5041179750462040781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_23_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6328adddd5f0fc2fde9715c40411734f.jpg","text":"TemporaryFile(/tmp/multipartBody324215820002821361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_24_06_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33f195298350c4ef37f76055a7977cca.jpg","text":"TemporaryFile(/tmp/multipartBody8885522285869410635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_23_55_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6171ec59268aae366cfe28262ea97b91.jpg","text":"TemporaryFile(/tmp/multipartBody89428991385690609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318863378,"filename":"image_09122025_14_24_15_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398574528","file1":"1398574488","file0":"1398574447","file4":"1398574534","file5":"1398574540","file3":"1398574530"},"map_files_photo_id_array":[{"photo_id":"1398574540","filename":"file5"},{"photo_id":"1398574528","filename":"file2"},{"photo_id":"1398574534","filename":"file4"},{"photo_id":"1398574488","filename":"file1"},{"photo_id":"1398574447","filename":"file0"},{"photo_id":"1398574530","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398574540":["hashtag1","hashtag2"]},{"1398574534":["hashtag1","hashtag2"]},{"1398574447":["hashtag1","hashtag2"]},{"1398574528":["hashtag1","hashtag2"]},{"1398574488":["hashtag1","hashtag2"]},{"1398574530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398574540, 1398574534, 1398574447, 1398574528, 1398574488, 1398574530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72354054450989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:21:03.100230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_45_10628.jpg', '/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_55_9681.jpg', '/home/pi/Desktop/images/09122025/14/24/image_09122025_14_25_05_9765.jpg', '/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_15_10524.jpg', '/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_25_9634.jpg', '/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_36_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_45_10628.jpg
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_24_55_9681.jpg
/home/pi/Desktop/images/09122025/14/24/image_09122025_14_25_05_9765.jpg
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_15_10524.jpg
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_25_9634.jpg
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_36_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398574598","1398574564","1398574683","1398574566","1398574560","1398574635"],"photo_ids_order":["1398574560","1398574564","1398574566","1398574598","1398574635","1398574683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/68a729a570a34bf3026aa2f50562ac06.jpg","text":"TemporaryFile(/tmp/multipartBody1523309973239159397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_25_15_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3236e9d11adaeb3a25fae3fb80d740a0.jpg","text":"TemporaryFile(/tmp/multipartBody7168004653329880516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_24_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f8df1eb2e90df78c4b0cebdd8b3ae77.jpg","text":"TemporaryFile(/tmp/multipartBody5558619956036201576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_25_36_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/79f1f368e2096ffb002d6e18b4b3d36f.jpg","text":"TemporaryFile(/tmp/multipartBody4640332705479994622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_25_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/260405e2efa757b74afac41c5a23e293.jpg","text":"TemporaryFile(/tmp/multipartBody1289366091553655359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_24_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54d0e61bef3ff30c4f2d1a836dfcb549.jpg","text":"TemporaryFile(/tmp/multipartBody7125968114722159177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318923738,"filename":"image_09122025_14_25_25_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398574566","file1":"1398574564","file0":"1398574560","file4":"1398574635","file5":"1398574683","file3":"1398574598"},"map_files_photo_id_array":[{"photo_id":"1398574683","filename":"file5"},{"photo_id":"1398574566","filename":"file2"},{"photo_id":"1398574635","filename":"file4"},{"photo_id":"1398574564","filename":"file1"},{"photo_id":"1398574560","filename":"file0"},{"photo_id":"1398574598","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398574598":["hashtag1","hashtag2"]},{"1398574564":["hashtag1","hashtag2"]},{"1398574683":["hashtag1","hashtag2"]},{"1398574566":["hashtag1","hashtag2"]},{"1398574560":["hashtag1","hashtag2"]},{"1398574635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398574598, 1398574564, 1398574683, 1398574566, 1398574560, 1398574635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.085837602615356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:21:42.380843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_10_2875.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_13_2917.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_19_2581.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_22_2782.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_26_3744.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_29_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_10_2875.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_13_2917.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_19_2581.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_22_2782.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_26_3744.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_29_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398575009","1398574969","1398574808","1398574930","1398574849","1398574890"],"photo_ids_order":["1398574808","1398574849","1398574890","1398574930","1398574969","1398575009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0e9decdafcdd5971881d9c9cdce59fd5.jpg","text":"TemporaryFile(/tmp/multipartBody502429006877015379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_29_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dbb09e6d109c7b06bc658c54a60a7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7594463929007724174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_26_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2434cf15bb082280eb2033a52659769e.jpg","text":"TemporaryFile(/tmp/multipartBody3143165914775894504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_10_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/128d31771a84f09e682057b53f251a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2933107909738324011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_22_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e59a7e646edaa28914ee1e4f8d6cca5b.jpg","text":"TemporaryFile(/tmp/multipartBody4806327905173389693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_13_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/586b6f52f5be2746eb40198c1d9d6bff.jpg","text":"TemporaryFile(/tmp/multipartBody6503545175592528356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765318963345,"filename":"image_01112025_19_59_19_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398574890","file1":"1398574849","file0":"1398574808","file4":"1398574969","file5":"1398575009","file3":"1398574930"},"map_files_photo_id_array":[{"photo_id":"1398575009","filename":"file5"},{"photo_id":"1398574890","filename":"file2"},{"photo_id":"1398574969","filename":"file4"},{"photo_id":"1398574849","filename":"file1"},{"photo_id":"1398574808","filename":"file0"},{"photo_id":"1398574930","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398575009":["hashtag1","hashtag2"]},{"1398574969":["hashtag1","hashtag2"]},{"1398574808":["hashtag1","hashtag2"]},{"1398574930":["hashtag1","hashtag2"]},{"1398574849":["hashtag1","hashtag2"]},{"1398574890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398575009, 1398574969, 1398574808, 1398574930, 1398574849, 1398574890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838334798812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:22:22.580347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_45_9711.jpg', '/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_55_9670.jpg', '/home/pi/Desktop/images/09122025/14/25/image_09122025_14_26_05_10579.jpg', '/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_15_9632.jpg', '/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_25_9673.jpg', '/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_35_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_45_9711.jpg
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_25_55_9670.jpg
/home/pi/Desktop/images/09122025/14/25/image_09122025_14_26_05_10579.jpg
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_15_9632.jpg
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_25_9673.jpg
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_35_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398575332","1398575181","1398575256","1398575220","1398575142","1398575291"],"photo_ids_order":["1398575142","1398575181","1398575220","1398575256","1398575291","1398575332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dc5a9ed1d3384a29bfc89d2e95687f0.jpg","text":"TemporaryFile(/tmp/multipartBody7441335065997611886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_26_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2cfb692b7927cda28017c186af60549.jpg","text":"TemporaryFile(/tmp/multipartBody2237556905733219689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_25_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6207be0b9ac217095f88c4c4ceb66b78.jpg","text":"TemporaryFile(/tmp/multipartBody3141269259715196360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_26_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/26d245fdf222c56f5df941be48ca491d.jpg","text":"TemporaryFile(/tmp/multipartBody6673729897574709569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_26_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4625383f519de9737c12b9e80c4e58ed.jpg","text":"TemporaryFile(/tmp/multipartBody1457955384067830574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_25_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fa59ffe2fcb50fc2509daf4d846c0d05.jpg","text":"TemporaryFile(/tmp/multipartBody6478346338827851599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319003164,"filename":"image_09122025_14_26_25_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398575220","file1":"1398575181","file0":"1398575142","file4":"1398575291","file5":"1398575332","file3":"1398575256"},"map_files_photo_id_array":[{"photo_id":"1398575332","filename":"file5"},{"photo_id":"1398575220","filename":"file2"},{"photo_id":"1398575291","filename":"file4"},{"photo_id":"1398575181","filename":"file1"},{"photo_id":"1398575142","filename":"file0"},{"photo_id":"1398575256","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398575332":["hashtag1","hashtag2"]},{"1398575181":["hashtag1","hashtag2"]},{"1398575256":["hashtag1","hashtag2"]},{"1398575220":["hashtag1","hashtag2"]},{"1398575142":["hashtag1","hashtag2"]},{"1398575291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398575332, 1398575181, 1398575256, 1398575220, 1398575142, 1398575291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24945950508118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:23:03.366216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_45_9783.jpg', '/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_55_9609.jpg', '/home/pi/Desktop/images/09122025/14/26/image_09122025_14_27_05_10634.jpg', '/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_15_9606.jpg', '/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_25_9720.jpg', '/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_35_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_45_9783.jpg
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_26_55_9609.jpg
/home/pi/Desktop/images/09122025/14/26/image_09122025_14_27_05_10634.jpg
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_15_9606.jpg
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_25_9720.jpg
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_35_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576209","1398575816","1398575692","1398575941","1398576071","1398575561"],"photo_ids_order":["1398575561","1398575692","1398575816","1398575941","1398576071","1398576209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc57b34dacdd92999c8f30398ad5b877.jpg","text":"TemporaryFile(/tmp/multipartBody218679449842399046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_27_35_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34d51a4a6adb5b6763476438e2886cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2071459344893074261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_27_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a774b0b5e9217fac129bbf635a06b532.jpg","text":"TemporaryFile(/tmp/multipartBody4072851482903655895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_26_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96474ae0f1d87e603cec7c1f817f2a33.jpg","text":"TemporaryFile(/tmp/multipartBody1041880752257654762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_27_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/befe6ff1dd8d10116993c1cd883f9993.jpg","text":"TemporaryFile(/tmp/multipartBody1767119867675002261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_27_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7fc8cb0e6a119129fe16c08227beceb6.jpg","text":"TemporaryFile(/tmp/multipartBody443956634925614355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319043998,"filename":"image_09122025_14_26_45_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398575816","file1":"1398575692","file0":"1398575561","file4":"1398576071","file5":"1398576209","file3":"1398575941"},"map_files_photo_id_array":[{"photo_id":"1398576209","filename":"file5"},{"photo_id":"1398575816","filename":"file2"},{"photo_id":"1398576071","filename":"file4"},{"photo_id":"1398575692","filename":"file1"},{"photo_id":"1398575561","filename":"file0"},{"photo_id":"1398575941","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398576209":["hashtag1","hashtag2"]},{"1398575816":["hashtag1","hashtag2"]},{"1398575692":["hashtag1","hashtag2"]},{"1398575941":["hashtag1","hashtag2"]},{"1398576071":["hashtag1","hashtag2"]},{"1398575561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398576209, 1398575816, 1398575692, 1398575941, 1398576071, 1398575561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060635566711426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:23:42.790673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_31_2765.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_34_2690.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_38_3794.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_41_2803.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_43_2603.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_46_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_31_2765.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_34_2690.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_38_3794.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_41_2803.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_43_2603.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_46_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576283","1398576282","1398576281","1398576269","1398576278","1398576280"],"photo_ids_order":["1398576269","1398576278","1398576280","1398576281","1398576282","1398576283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/298a8db0d457e70cd58e5c58ff03ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody8947735828724356050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_46_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2ec7cf833f8def4ae0ab615be99aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody3853693430606777061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c1ede412e6a4b9d5089e666141df74eb.jpg","text":"TemporaryFile(/tmp/multipartBody1338939159609548867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_41_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9a083cd33c1eb510f1d62b2140f4ea04.jpg","text":"TemporaryFile(/tmp/multipartBody3292055001941535679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_31_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/911530a3a5dbd213e429be58fc8ddd3a.jpg","text":"TemporaryFile(/tmp/multipartBody4132196020712090895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fd2daf488044021e6b786fc2eb8ed8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3657620486992813167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319083820,"filename":"image_01112025_19_59_38_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576280","file1":"1398576278","file0":"1398576269","file4":"1398576282","file5":"1398576283","file3":"1398576281"},"map_files_photo_id_array":[{"photo_id":"1398576283","filename":"file5"},{"photo_id":"1398576280","filename":"file2"},{"photo_id":"1398576282","filename":"file4"},{"photo_id":"1398576278","filename":"file1"},{"photo_id":"1398576269","filename":"file0"},{"photo_id":"1398576281","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398576283":["hashtag1","hashtag2"]},{"1398576282":["hashtag1","hashtag2"]},{"1398576281":["hashtag1","hashtag2"]},{"1398576269":["hashtag1","hashtag2"]},{"1398576278":["hashtag1","hashtag2"]},{"1398576280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398576283, 1398576282, 1398576281, 1398576269, 1398576278, 1398576280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71888470649719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:24:31.951476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_14_9093.jpg', '/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_25_10739.jpg', '/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_34_9548.jpg', '/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_44_9783.jpg', '/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_55_10249.jpg', '/home/pi/Desktop/images/08122025/14/15/image_08122025_14_16_04_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_14_9093.jpg
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_25_10739.jpg
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_34_9548.jpg
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_44_9783.jpg
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_15_55_10249.jpg
/home/pi/Desktop/images/08122025/14/15/image_08122025_14_16_04_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576787","1398576754","1398576783","1398576645","1398576818","1398576728"],"photo_ids_order":["1398576645","1398576728","1398576754","1398576783","1398576787","1398576818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a7dbd4ffe2e78616f2194830b33c8eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2777758564148014777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_15_55_10249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/34e8923f570f078539aad712de0f44c8.jpg","text":"TemporaryFile(/tmp/multipartBody9093774810338409507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_15_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/36e8af3eee7349c379bee4a39649c063.jpg","text":"TemporaryFile(/tmp/multipartBody4827591694215111504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_15_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7b602432e10fa39e4ddfb3e5661846f8.jpg","text":"TemporaryFile(/tmp/multipartBody6393353378588017039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_15_14_9093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b06e706e4a0dfc0478bae2a5901daaa.jpg","text":"TemporaryFile(/tmp/multipartBody1539894240695619019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_16_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/60dd007d6101ee9314de3e2e95d73d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4790589060658317504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319133859,"filename":"image_08122025_14_15_25_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576754","file1":"1398576728","file0":"1398576645","file4":"1398576787","file5":"1398576818","file3":"1398576783"},"map_files_photo_id_array":[{"photo_id":"1398576818","filename":"file5"},{"photo_id":"1398576754","filename":"file2"},{"photo_id":"1398576787","filename":"file4"},{"photo_id":"1398576728","filename":"file1"},{"photo_id":"1398576645","filename":"file0"},{"photo_id":"1398576783","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398576787":["hashtag1","hashtag2"]},{"1398576754":["hashtag1","hashtag2"]},{"1398576783":["hashtag1","hashtag2"]},{"1398576645":["hashtag1","hashtag2"]},{"1398576818":["hashtag1","hashtag2"]},{"1398576728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398576787, 1398576754, 1398576783, 1398576645, 1398576818, 1398576728)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.01791000366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:25:22.149997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_45_9770.jpg', '/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_55_9666.jpg', '/home/pi/Desktop/images/09122025/14/27/image_09122025_14_28_05_10736.jpg', '/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_15_9641.jpg', '/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_25_9808.jpg', '/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_36_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_45_9770.jpg
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_27_55_9666.jpg
/home/pi/Desktop/images/09122025/14/27/image_09122025_14_28_05_10736.jpg
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_15_9641.jpg
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_25_9808.jpg
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_36_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576902","1398576901","1398576904","1398576906","1398576903","1398576898"],"photo_ids_order":["1398576898","1398576901","1398576902","1398576903","1398576904","1398576906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bbe657d0f4fb1ab73621387b7f6ebec2.jpg","text":"TemporaryFile(/tmp/multipartBody8885973653405266850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_28_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c185c91d95bf1437af4319c5fe570cd.jpg","text":"TemporaryFile(/tmp/multipartBody6647583976932465487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_27_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cedc00f6ee4bad0b26bb77fdc0a43fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3978763836238685557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_28_25_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c40dcc583f8cfa4f46924f35742352a4.jpg","text":"TemporaryFile(/tmp/multipartBody8675402029800315402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_28_36_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbd0e4932d08f03006c7463b811e9b4a.jpg","text":"TemporaryFile(/tmp/multipartBody9100027497527839033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_28_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25df7b2c004893216365790b6bfb51c2.jpg","text":"TemporaryFile(/tmp/multipartBody2453071778205562276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319182708,"filename":"image_09122025_14_27_45_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576902","file1":"1398576901","file0":"1398576898","file4":"1398576904","file5":"1398576906","file3":"1398576903"},"map_files_photo_id_array":[{"photo_id":"1398576906","filename":"file5"},{"photo_id":"1398576902","filename":"file2"},{"photo_id":"1398576904","filename":"file4"},{"photo_id":"1398576901","filename":"file1"},{"photo_id":"1398576898","filename":"file0"},{"photo_id":"1398576903","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398576902":["hashtag1","hashtag2"]},{"1398576901":["hashtag1","hashtag2"]},{"1398576904":["hashtag1","hashtag2"]},{"1398576906":["hashtag1","hashtag2"]},{"1398576903":["hashtag1","hashtag2"]},{"1398576898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398576902, 1398576901, 1398576904, 1398576906, 1398576903, 1398576898)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.20269227027893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:26:14.158775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_15_10737.jpg', '/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_25_9822.jpg', '/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_34_9644.jpg', '/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_45_10596.jpg', '/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_55_9666.jpg', '/home/pi/Desktop/images/08122025/14/16/image_08122025_14_17_04_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_15_10737.jpg
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_25_9822.jpg
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_34_9644.jpg
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_45_10596.jpg
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_16_55_9666.jpg
/home/pi/Desktop/images/08122025/14/16/image_08122025_14_17_04_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576913","1398576919","1398576912","1398576921","1398576917","1398576914"],"photo_ids_order":["1398576912","1398576913","1398576914","1398576917","1398576919","1398576921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0a897a9d8461633a418da1a56c6fdcc3.jpg","text":"TemporaryFile(/tmp/multipartBody3220154539519432337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_16_25_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01bee9e1c98aedfbe06344f5bb54a9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6549689863471971888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_16_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c6c669b5c25f22433b6ea967ce7fb54b.jpg","text":"TemporaryFile(/tmp/multipartBody8827795896402977023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_16_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9c81ce3b238e28ea86a35b75e044648b.jpg","text":"TemporaryFile(/tmp/multipartBody6675904707938385562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_17_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c24e25e2e5297951c6b460aadff8ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody8092149838789957576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_16_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f11110f6f6b4e051a33b932e0d4971dd.jpg","text":"TemporaryFile(/tmp/multipartBody7081764712125005616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319236044,"filename":"image_08122025_14_16_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576914","file1":"1398576913","file0":"1398576912","file4":"1398576919","file5":"1398576921","file3":"1398576917"},"map_files_photo_id_array":[{"photo_id":"1398576921","filename":"file5"},{"photo_id":"1398576914","filename":"file2"},{"photo_id":"1398576919","filename":"file4"},{"photo_id":"1398576913","filename":"file1"},{"photo_id":"1398576912","filename":"file0"},{"photo_id":"1398576917","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398576913":["hashtag1","hashtag2"]},{"1398576919":["hashtag1","hashtag2"]},{"1398576912":["hashtag1","hashtag2"]},{"1398576921":["hashtag1","hashtag2"]},{"1398576917":["hashtag1","hashtag2"]},{"1398576914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398576913, 1398576919, 1398576912, 1398576921, 1398576917, 1398576914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29975414276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:27:02.844712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_45_9730.jpg', '/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_55_9654.jpg', '/home/pi/Desktop/images/09122025/14/28/image_09122025_14_29_05_9667.jpg', '/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_15_10796.jpg', '/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_25_9601.jpg', '/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_35_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_45_9730.jpg
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_28_55_9654.jpg
/home/pi/Desktop/images/09122025/14/28/image_09122025_14_29_05_9667.jpg
/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_15_10796.jpg
/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_25_9601.jpg
/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_35_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576940","1398576942","1398576939","1398576936","1398576944","1398576938"],"photo_ids_order":["1398576936","1398576938","1398576939","1398576940","1398576942","1398576944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d06f8d61c87d192d05625166434e678.jpg","text":"TemporaryFile(/tmp/multipartBody8569088349390973090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_29_15_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b1a0f5813165ba1c8510e325a258a714.jpg","text":"TemporaryFile(/tmp/multipartBody250490919695968349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_29_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b64598a66d7affe2c0b34a6e38cf0f74.jpg","text":"TemporaryFile(/tmp/multipartBody6045280917164365677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_29_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94953170a3fc3dd356986fe66e31e8f4.jpg","text":"TemporaryFile(/tmp/multipartBody8729440181694643139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_28_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ff24eac754b97f4e9a52782651bf963.jpg","text":"TemporaryFile(/tmp/multipartBody2671267334317452680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_29_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc17937bd83891687a8330e8e2a9049d.jpg","text":"TemporaryFile(/tmp/multipartBody1162716917443192214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319286089,"filename":"image_09122025_14_28_55_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576939","file1":"1398576938","file0":"1398576936","file4":"1398576942","file5":"1398576944","file3":"1398576940"},"map_files_photo_id_array":[{"photo_id":"1398576944","filename":"file5"},{"photo_id":"1398576939","filename":"file2"},{"photo_id":"1398576942","filename":"file4"},{"photo_id":"1398576938","filename":"file1"},{"photo_id":"1398576936","filename":"file0"},{"photo_id":"1398576940","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398576940":["hashtag1","hashtag2"]},{"1398576942":["hashtag1","hashtag2"]},{"1398576939":["hashtag1","hashtag2"]},{"1398576936":["hashtag1","hashtag2"]},{"1398576944":["hashtag1","hashtag2"]},{"1398576938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398576940, 1398576942, 1398576939, 1398576936, 1398576944, 1398576938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.01104164123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:28:05.793154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_46_10757.jpg', '/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_55_9721.jpg', '/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_14_10051.jpg', '/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_25_10638.jpg', '/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_35_9544.jpg', '/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_45_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_46_10757.jpg
/home/pi/Desktop/images/09122025/14/29/image_09122025_14_29_55_9721.jpg
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_14_10051.jpg
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_25_10638.jpg
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_35_9544.jpg
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_45_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576952","1398576961","1398576957","1398576954","1398576956","1398576959"],"photo_ids_order":["1398576952","1398576954","1398576956","1398576957","1398576959","1398576961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/379357357738cdde0538425d11761801.jpg","text":"TemporaryFile(/tmp/multipartBody9145404781412791402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_29_46_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bda2d81e772c912bd29058d6694cdffe.jpg","text":"TemporaryFile(/tmp/multipartBody1279937105217323466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_30_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2eee6999b2bffb84d5f4bf88fdf664e2.jpg","text":"TemporaryFile(/tmp/multipartBody5655205375803522087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_30_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e84d814e17af67eb0825981003b9501f.jpg","text":"TemporaryFile(/tmp/multipartBody7710872751649365984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_29_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0575b317da14b6f7e7724001dbc4c31a.jpg","text":"TemporaryFile(/tmp/multipartBody8446524809839542691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_30_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e548eaee820e7d3a845cf3b3b3da073b.jpg","text":"TemporaryFile(/tmp/multipartBody1959021274095697822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319349290,"filename":"image_09122025_14_30_35_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576956","file1":"1398576954","file0":"1398576952","file4":"1398576959","file5":"1398576961","file3":"1398576957"},"map_files_photo_id_array":[{"photo_id":"1398576961","filename":"file5"},{"photo_id":"1398576956","filename":"file2"},{"photo_id":"1398576959","filename":"file4"},{"photo_id":"1398576954","filename":"file1"},{"photo_id":"1398576952","filename":"file0"},{"photo_id":"1398576957","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398576952":["hashtag1","hashtag2"]},{"1398576961":["hashtag1","hashtag2"]},{"1398576957":["hashtag1","hashtag2"]},{"1398576954":["hashtag1","hashtag2"]},{"1398576956":["hashtag1","hashtag2"]},{"1398576959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398576952, 1398576961, 1398576957, 1398576954, 1398576956, 1398576959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97683668136597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:28:45.340814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_50_3693.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_53_2711.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_55_2688.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_20_00_02_2662.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_04_2844.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_07_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_50_3693.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_53_2711.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_55_2688.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_20_00_02_2662.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_04_2844.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_07_2712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8878397941589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:29:03.743259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_55_9674.jpg', '/home/pi/Desktop/images/09122025/14/30/image_09122025_14_31_05_9752.jpg', '/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_15_10559.jpg', '/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_25_9732.jpg', '/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_35_9718.jpg', '/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_45_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_30_55_9674.jpg
/home/pi/Desktop/images/09122025/14/30/image_09122025_14_31_05_9752.jpg
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_15_10559.jpg
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_25_9732.jpg
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_35_9718.jpg
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_45_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398576979","1398576973","1398576984","1398576980","1398576977","1398576982"],"photo_ids_order":["1398576973","1398576977","1398576979","1398576980","1398576982","1398576984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/96631edecd67d8d7a5f571ff634ff3f8.jpg","text":"TemporaryFile(/tmp/multipartBody655705902252540911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_31_15_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9fecc2aeee18f4bd281962232e529045.jpg","text":"TemporaryFile(/tmp/multipartBody6975840695820903188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_30_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cf4a91bc7ee155428ab6b3520c416da9.jpg","text":"TemporaryFile(/tmp/multipartBody2420852107823704068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_31_45_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5e4fd6e1f2d64411b0854ab6665510b.jpg","text":"TemporaryFile(/tmp/multipartBody4921515278435894543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_31_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5db34887893d1cd3f25e1aac2e3aaf67.jpg","text":"TemporaryFile(/tmp/multipartBody3909786099679336810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_31_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/18e00b3236892269ff7646d7dbb99aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8640435226252955436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319404404,"filename":"image_09122025_14_31_35_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398576979","file1":"1398576977","file0":"1398576973","file4":"1398576982","file5":"1398576984","file3":"1398576980"},"map_files_photo_id_array":[{"photo_id":"1398576984","filename":"file5"},{"photo_id":"1398576979","filename":"file2"},{"photo_id":"1398576982","filename":"file4"},{"photo_id":"1398576977","filename":"file1"},{"photo_id":"1398576973","filename":"file0"},{"photo_id":"1398576980","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398576979":["hashtag1","hashtag2"]},{"1398576973":["hashtag1","hashtag2"]},{"1398576984":["hashtag1","hashtag2"]},{"1398576980":["hashtag1","hashtag2"]},{"1398576977":["hashtag1","hashtag2"]},{"1398576982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398576979, 1398576973, 1398576984, 1398576980, 1398576977, 1398576982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2546820640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:29:42.773141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_50_3693.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_53_2711.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_55_2688.jpg', '/home/pi/Desktop/images/01112025/19/59/image_01112025_20_00_02_2662.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_04_2844.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_07_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_50_3693.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_53_2711.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_19_59_55_2688.jpg
/home/pi/Desktop/images/01112025/19/59/image_01112025_20_00_02_2662.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_04_2844.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_07_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577000","1398577003","1398577005","1398577002","1398576989","1398577001"],"photo_ids_order":["1398576989","1398577000","1398577001","1398577002","1398577003","1398577005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/95cc6ad5c25b3ce59bacb7dc8bbc364b.jpg","text":"TemporaryFile(/tmp/multipartBody8666164768382580120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_19_59_53_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/01eff05f25da23b21118b3de779fe10c.jpg","text":"TemporaryFile(/tmp/multipartBody6076215342256836168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_20_00_04_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6d9d114840137db5db24fc2512ec63a7.jpg","text":"TemporaryFile(/tmp/multipartBody5426273839237947175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_20_00_07_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/37330f002f2c33a8b3209343bd8e0247.jpg","text":"TemporaryFile(/tmp/multipartBody8071062623999476620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_20_00_02_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/692c6c06b879c7bb5da594477eb5d975.jpg","text":"TemporaryFile(/tmp/multipartBody8944294752124751949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_19_59_50_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6962a22db1f3a06b78ada8637b1d9ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3690740515999699799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319443647,"filename":"image_01112025_19_59_55_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577001","file1":"1398577000","file0":"1398576989","file4":"1398577003","file5":"1398577005","file3":"1398577002"},"map_files_photo_id_array":[{"photo_id":"1398577005","filename":"file5"},{"photo_id":"1398577001","filename":"file2"},{"photo_id":"1398577003","filename":"file4"},{"photo_id":"1398577000","filename":"file1"},{"photo_id":"1398576989","filename":"file0"},{"photo_id":"1398577002","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577000":["hashtag1","hashtag2"]},{"1398577003":["hashtag1","hashtag2"]},{"1398577005":["hashtag1","hashtag2"]},{"1398577002":["hashtag1","hashtag2"]},{"1398576989":["hashtag1","hashtag2"]},{"1398577001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577000, 1398577003, 1398577005, 1398577002, 1398576989, 1398577001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37689566612244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:30:21.958980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_54_9790.jpg', '/home/pi/Desktop/images/09122025/14/31/image_09122025_14_32_05_10161.jpg', '/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_14_9797.jpg', '/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_25_10676.jpg', '/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_35_9636.jpg', '/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_31_54_9790.jpg
/home/pi/Desktop/images/09122025/14/31/image_09122025_14_32_05_10161.jpg
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_14_9797.jpg
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_25_10676.jpg
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_35_9636.jpg
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_44_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577012","1398577015","1398577014","1398577016","1398577019","1398577010"],"photo_ids_order":["1398577010","1398577012","1398577014","1398577015","1398577016","1398577019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d40608f3a81d37cead3e603cb46cd1f2.jpg","text":"TemporaryFile(/tmp/multipartBody4249505055308178091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_32_05_10161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5eb33cb9153755094d7d10bd0f5d3e43.jpg","text":"TemporaryFile(/tmp/multipartBody8901913625650267684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_32_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9cc8e0faf3acebcc07e7da4f052ed4b3.jpg","text":"TemporaryFile(/tmp/multipartBody6240280674122427431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_32_14_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cebca11a1084447283827cd2d9c47065.jpg","text":"TemporaryFile(/tmp/multipartBody9011676650712068689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_32_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1dea2c872d4c907f2cd9a54b96991e11.jpg","text":"TemporaryFile(/tmp/multipartBody301563628896967763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_32_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ddc13316f4526bd28bed900ecafefa0.jpg","text":"TemporaryFile(/tmp/multipartBody8933653800382476642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319482531,"filename":"image_09122025_14_31_54_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577014","file1":"1398577012","file0":"1398577010","file4":"1398577016","file5":"1398577019","file3":"1398577015"},"map_files_photo_id_array":[{"photo_id":"1398577019","filename":"file5"},{"photo_id":"1398577014","filename":"file2"},{"photo_id":"1398577016","filename":"file4"},{"photo_id":"1398577012","filename":"file1"},{"photo_id":"1398577010","filename":"file0"},{"photo_id":"1398577015","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577012":["hashtag1","hashtag2"]},{"1398577015":["hashtag1","hashtag2"]},{"1398577014":["hashtag1","hashtag2"]},{"1398577016":["hashtag1","hashtag2"]},{"1398577019":["hashtag1","hashtag2"]},{"1398577010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577012, 1398577015, 1398577014, 1398577016, 1398577019, 1398577010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.015963315963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:31:02.753079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_55_10697.jpg', '/home/pi/Desktop/images/09122025/14/32/image_09122025_14_33_05_9562.jpg', '/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_14_9773.jpg', '/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_25_10586.jpg', '/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_35_9839.jpg', '/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_45_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_32_55_10697.jpg
/home/pi/Desktop/images/09122025/14/32/image_09122025_14_33_05_9562.jpg
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_14_9773.jpg
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_25_10586.jpg
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_35_9839.jpg
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_45_10524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577033","1398577026","1398577029","1398577031","1398577028","1398577030"],"photo_ids_order":["1398577026","1398577028","1398577029","1398577030","1398577031","1398577033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a2034ab5501b75560ae8428a55278c8.jpg","text":"TemporaryFile(/tmp/multipartBody5888610296765484974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_33_45_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eab9e09a5d1c1c215e82be92535fdf4c.jpg","text":"TemporaryFile(/tmp/multipartBody6226060229616949944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_32_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c58fc671a1c84bf26aa10b8e8dcff2d0.jpg","text":"TemporaryFile(/tmp/multipartBody215921806462113443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_33_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8aa3bfeaffdca60a39bff01781c24de9.jpg","text":"TemporaryFile(/tmp/multipartBody1795892242866831709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_33_35_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a37aae53c0b5e986c31a8d0f91b705b6.jpg","text":"TemporaryFile(/tmp/multipartBody3992003268353708918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_33_05_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a494b2c78a2a8398bd981bd86888b17.jpg","text":"TemporaryFile(/tmp/multipartBody501449177992144296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319523353,"filename":"image_09122025_14_33_25_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577029","file1":"1398577028","file0":"1398577026","file4":"1398577031","file5":"1398577033","file3":"1398577030"},"map_files_photo_id_array":[{"photo_id":"1398577033","filename":"file5"},{"photo_id":"1398577029","filename":"file2"},{"photo_id":"1398577031","filename":"file4"},{"photo_id":"1398577028","filename":"file1"},{"photo_id":"1398577026","filename":"file0"},{"photo_id":"1398577030","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577033":["hashtag1","hashtag2"]},{"1398577026":["hashtag1","hashtag2"]},{"1398577029":["hashtag1","hashtag2"]},{"1398577031":["hashtag1","hashtag2"]},{"1398577028":["hashtag1","hashtag2"]},{"1398577030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577033, 1398577026, 1398577029, 1398577031, 1398577028, 1398577030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873197078704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:31:42.316687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_11_3733.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_14_2662.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_16_2598.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_20_3676.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_22_2604.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_25_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_11_3733.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_14_2662.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_16_2598.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_20_3676.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_22_2604.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_25_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577042","1398577041","1398577044","1398577038","1398577043","1398577046"],"photo_ids_order":["1398577038","1398577041","1398577042","1398577043","1398577044","1398577046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a68a802a94a2e3bb0d48923b4337920d.jpg","text":"TemporaryFile(/tmp/multipartBody2615493005010408923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_16_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/984e4710bfde911ac3cf771ba3b412fb.jpg","text":"TemporaryFile(/tmp/multipartBody6380066855791329347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_14_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b27f1e98610120b18e637c70cae53fb.jpg","text":"TemporaryFile(/tmp/multipartBody3240097063589803646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_22_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db810b55193d166d1fce9a480a840f09.jpg","text":"TemporaryFile(/tmp/multipartBody3969897386139587258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_11_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2b0b2e828ac5d73e8cc1a385bab43581.jpg","text":"TemporaryFile(/tmp/multipartBody1123568124063360730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_20_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9f9c65ce76a082de660e7f9d725efaa.jpg","text":"TemporaryFile(/tmp/multipartBody3135359061930537113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319563372,"filename":"image_01112025_20_00_25_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577042","file1":"1398577041","file0":"1398577038","file4":"1398577044","file5":"1398577046","file3":"1398577043"},"map_files_photo_id_array":[{"photo_id":"1398577046","filename":"file5"},{"photo_id":"1398577042","filename":"file2"},{"photo_id":"1398577044","filename":"file4"},{"photo_id":"1398577041","filename":"file1"},{"photo_id":"1398577038","filename":"file0"},{"photo_id":"1398577043","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577042":["hashtag1","hashtag2"]},{"1398577041":["hashtag1","hashtag2"]},{"1398577044":["hashtag1","hashtag2"]},{"1398577038":["hashtag1","hashtag2"]},{"1398577043":["hashtag1","hashtag2"]},{"1398577046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577042, 1398577041, 1398577044, 1398577038, 1398577043, 1398577046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05487418174744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:32:22.449074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_55_9660.jpg', '/home/pi/Desktop/images/09122025/14/33/image_09122025_14_34_05_9594.jpg', '/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_15_10704.jpg', '/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_25_9622.jpg', '/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_35_9572.jpg', '/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_33_55_9660.jpg
/home/pi/Desktop/images/09122025/14/33/image_09122025_14_34_05_9594.jpg
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_15_10704.jpg
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_25_9622.jpg
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_35_9572.jpg
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_45_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577054","1398577056","1398577052","1398577064","1398577058","1398577057"],"photo_ids_order":["1398577052","1398577054","1398577056","1398577057","1398577058","1398577064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/14285538e62579a935dbe81fbd1d87b8.jpg","text":"TemporaryFile(/tmp/multipartBody239783255643546575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_34_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f28a4f6e0585e1be948c8a43405f4d42.jpg","text":"TemporaryFile(/tmp/multipartBody1049952182020366304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_34_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d0cd59c5ca933edbe0f28cf3f5f88b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4224959658329188825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_33_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5226178882833e4f13d15c8985747b62.jpg","text":"TemporaryFile(/tmp/multipartBody8218440836470059907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_34_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/341033adf4480d4564088aeb306d457c.jpg","text":"TemporaryFile(/tmp/multipartBody4287032560602825506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_34_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c0c7fc24a9759f9ae5bf9ee90bfc8739.jpg","text":"TemporaryFile(/tmp/multipartBody3669211722945257173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319603013,"filename":"image_09122025_14_34_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577056","file1":"1398577054","file0":"1398577052","file4":"1398577058","file5":"1398577064","file3":"1398577057"},"map_files_photo_id_array":[{"photo_id":"1398577064","filename":"file5"},{"photo_id":"1398577056","filename":"file2"},{"photo_id":"1398577058","filename":"file4"},{"photo_id":"1398577054","filename":"file1"},{"photo_id":"1398577052","filename":"file0"},{"photo_id":"1398577057","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577054":["hashtag1","hashtag2"]},{"1398577056":["hashtag1","hashtag2"]},{"1398577052":["hashtag1","hashtag2"]},{"1398577064":["hashtag1","hashtag2"]},{"1398577058":["hashtag1","hashtag2"]},{"1398577057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577054, 1398577056, 1398577052, 1398577064, 1398577058, 1398577057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54734492301941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:33:03.364077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_55_9830.jpg', '/home/pi/Desktop/images/09122025/14/34/image_09122025_14_35_05_9719.jpg', '/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_15_10624.jpg', '/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_25_9595.jpg', '/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_35_9665.jpg', '/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_45_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_34_55_9830.jpg
/home/pi/Desktop/images/09122025/14/34/image_09122025_14_35_05_9719.jpg
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_15_10624.jpg
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_25_9595.jpg
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_35_9665.jpg
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_45_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577080","1398577083","1398577079","1398577076","1398577081","1398577078"],"photo_ids_order":["1398577076","1398577078","1398577079","1398577080","1398577081","1398577083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca1e8ab3e1fe881ab439ee387ff8ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody186157755406767443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_35_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fc1d7b7a0580e87e9774f5437f35233a.jpg","text":"TemporaryFile(/tmp/multipartBody8280917860553540397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_35_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e7673dc09e39eb3631cdced6b422533a.jpg","text":"TemporaryFile(/tmp/multipartBody3961087452465628531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_35_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4ec10db24df7f5352f269a08859d700f.jpg","text":"TemporaryFile(/tmp/multipartBody4190975622878096196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_34_55_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1236ca4a94ca20a3d9ad05d5c6c7a33d.jpg","text":"TemporaryFile(/tmp/multipartBody7930337605580940762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_35_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/993e8571db705531036c4d61599f4826.jpg","text":"TemporaryFile(/tmp/multipartBody5383251496157231947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319643982,"filename":"image_09122025_14_35_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577079","file1":"1398577078","file0":"1398577076","file4":"1398577081","file5":"1398577083","file3":"1398577080"},"map_files_photo_id_array":[{"photo_id":"1398577083","filename":"file5"},{"photo_id":"1398577079","filename":"file2"},{"photo_id":"1398577081","filename":"file4"},{"photo_id":"1398577078","filename":"file1"},{"photo_id":"1398577076","filename":"file0"},{"photo_id":"1398577080","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577080":["hashtag1","hashtag2"]},{"1398577083":["hashtag1","hashtag2"]},{"1398577079":["hashtag1","hashtag2"]},{"1398577076":["hashtag1","hashtag2"]},{"1398577081":["hashtag1","hashtag2"]},{"1398577078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577080, 1398577083, 1398577079, 1398577076, 1398577081, 1398577078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.826974868774414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:33:42.814838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_28_2771.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_32_3685.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_34_2902.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_37_2688.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_41_3576.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_43_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_28_2771.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_32_3685.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_34_2902.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_37_2688.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_41_3576.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_43_2559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577092","1398577089","1398577091","1398577094","1398577093","1398577096"],"photo_ids_order":["1398577089","1398577091","1398577092","1398577093","1398577094","1398577096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bcb9ccc548f48e5f027685ebb6001625.jpg","text":"TemporaryFile(/tmp/multipartBody5582259071845945142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_34_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/46682a8ff395509315c39664e58c6fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6038971066578606284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_28_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/66d6f12db3aaf979a73954cf352da532.jpg","text":"TemporaryFile(/tmp/multipartBody4921727987213976582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_32_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8f295f54b8bee85aa70c0848e188bf85.jpg","text":"TemporaryFile(/tmp/multipartBody6526005082710931208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_41_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/922fd4f9e4d636d07f320fac30a8188c.jpg","text":"TemporaryFile(/tmp/multipartBody1550936167229385765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a4492305a161e1ea8d8960ffb6546c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5758374671118087607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319683843,"filename":"image_01112025_20_00_43_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577092","file1":"1398577091","file0":"1398577089","file4":"1398577094","file5":"1398577096","file3":"1398577093"},"map_files_photo_id_array":[{"photo_id":"1398577096","filename":"file5"},{"photo_id":"1398577092","filename":"file2"},{"photo_id":"1398577094","filename":"file4"},{"photo_id":"1398577091","filename":"file1"},{"photo_id":"1398577089","filename":"file0"},{"photo_id":"1398577093","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577092":["hashtag1","hashtag2"]},{"1398577089":["hashtag1","hashtag2"]},{"1398577091":["hashtag1","hashtag2"]},{"1398577094":["hashtag1","hashtag2"]},{"1398577093":["hashtag1","hashtag2"]},{"1398577096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577092, 1398577089, 1398577091, 1398577094, 1398577093, 1398577096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2744300365448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:34:22.018901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_55_9570.jpg', '/home/pi/Desktop/images/09122025/14/35/image_09122025_14_36_05_9739.jpg', '/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_15_10709.jpg', '/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_25_9695.jpg', '/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_35_9675.jpg', '/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_45_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_35_55_9570.jpg
/home/pi/Desktop/images/09122025/14/35/image_09122025_14_36_05_9739.jpg
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_15_10709.jpg
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_25_9695.jpg
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_35_9675.jpg
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_45_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577108","1398577102","1398577105","1398577104","1398577101","1398577106"],"photo_ids_order":["1398577101","1398577102","1398577104","1398577105","1398577106","1398577108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f79950ebde8f27336918a72069d594bb.jpg","text":"TemporaryFile(/tmp/multipartBody5877740645340134404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_36_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/517c23ad52ea3dedba893b0509281c61.jpg","text":"TemporaryFile(/tmp/multipartBody3473689693639046489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_36_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/bf9ad423c3f56bb696c258ea17e59f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4067963840187738191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_36_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ee91552cc980dc92c6d44b243c32909a.jpg","text":"TemporaryFile(/tmp/multipartBody8240782877991089497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_36_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32c313f86a1e04937fc81291aebb108b.jpg","text":"TemporaryFile(/tmp/multipartBody1689511916172241876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_35_55_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/47f005478fca79a687b34fc67f266d58.jpg","text":"TemporaryFile(/tmp/multipartBody6842825315320258918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319722609,"filename":"image_09122025_14_36_35_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577104","file1":"1398577102","file0":"1398577101","file4":"1398577106","file5":"1398577108","file3":"1398577105"},"map_files_photo_id_array":[{"photo_id":"1398577108","filename":"file5"},{"photo_id":"1398577104","filename":"file2"},{"photo_id":"1398577106","filename":"file4"},{"photo_id":"1398577102","filename":"file1"},{"photo_id":"1398577101","filename":"file0"},{"photo_id":"1398577105","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577108":["hashtag1","hashtag2"]},{"1398577102":["hashtag1","hashtag2"]},{"1398577105":["hashtag1","hashtag2"]},{"1398577104":["hashtag1","hashtag2"]},{"1398577101":["hashtag1","hashtag2"]},{"1398577106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577108, 1398577102, 1398577105, 1398577104, 1398577101, 1398577106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58189511299133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:35:02.907040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_55_9691.jpg', '/home/pi/Desktop/images/09122025/14/36/image_09122025_14_37_05_9658.jpg', '/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_15_10623.jpg', '/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_25_9678.jpg', '/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_35_9661.jpg', '/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_45_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_36_55_9691.jpg
/home/pi/Desktop/images/09122025/14/36/image_09122025_14_37_05_9658.jpg
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_15_10623.jpg
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_25_9678.jpg
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_35_9661.jpg
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_45_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577117","1398577119","1398577113","1398577116","1398577115","1398577118"],"photo_ids_order":["1398577113","1398577115","1398577116","1398577117","1398577118","1398577119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3497d45d0c78a7cb0ac8a29b3a91d7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4308559288197257578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_37_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ed0fd83c393e6892da74b50df4b612f.jpg","text":"TemporaryFile(/tmp/multipartBody6121746276797310907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_37_45_10498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5ef8904d8a66039b220840a5c55c71f3.jpg","text":"TemporaryFile(/tmp/multipartBody3143290062066104382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_36_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a5b5d8ce9b2d72c18b840ee3829df846.jpg","text":"TemporaryFile(/tmp/multipartBody4034629778216925371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_37_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e5b28daa0debdf33547583a21b88b82.jpg","text":"TemporaryFile(/tmp/multipartBody6034985381955936156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_37_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d93093fd1305a418516d159d605ca742.jpg","text":"TemporaryFile(/tmp/multipartBody2078589110758367347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319763589,"filename":"image_09122025_14_37_35_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577116","file1":"1398577115","file0":"1398577113","file4":"1398577118","file5":"1398577119","file3":"1398577117"},"map_files_photo_id_array":[{"photo_id":"1398577119","filename":"file5"},{"photo_id":"1398577116","filename":"file2"},{"photo_id":"1398577118","filename":"file4"},{"photo_id":"1398577115","filename":"file1"},{"photo_id":"1398577113","filename":"file0"},{"photo_id":"1398577117","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577117":["hashtag1","hashtag2"]},{"1398577119":["hashtag1","hashtag2"]},{"1398577113":["hashtag1","hashtag2"]},{"1398577116":["hashtag1","hashtag2"]},{"1398577115":["hashtag1","hashtag2"]},{"1398577118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577117, 1398577119, 1398577113, 1398577116, 1398577115, 1398577118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85277318954468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:35:42.244926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_46_2699.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_49_2885.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_53_3842.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_55_2754.jpg', '/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_58_2686.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_01_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_46_2699.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_49_2885.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_53_3842.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_55_2754.jpg
/home/pi/Desktop/images/01112025/20/00/image_01112025_20_00_58_2686.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_01_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577123","1398577167","1398577169","1398577157","1398577121","1398577165"],"photo_ids_order":["1398577121","1398577123","1398577157","1398577165","1398577167","1398577169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3d611e1b00c1b3b84c2b62852136ff71.jpg","text":"TemporaryFile(/tmp/multipartBody1502860226073476830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_00_49_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/979305209656eb1433b67d4728b6b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody771295851064118664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_00_58_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9b20a5a0127e40856ac8226ef7b8d00a.jpg","text":"TemporaryFile(/tmp/multipartBody4688907196797336808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_01_01_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eb784ec86d94bdff0debd323422d6680.jpg","text":"TemporaryFile(/tmp/multipartBody7135885343843026887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_00_53_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3c60f3e4949d476c51ab80f43cfb757a.jpg","text":"TemporaryFile(/tmp/multipartBody3920947498228868526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_00_46_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3ada073b0db1a786eff6de4a6b8091f6.jpg","text":"TemporaryFile(/tmp/multipartBody3891472239590092539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319803308,"filename":"image_01112025_20_00_55_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577157","file1":"1398577123","file0":"1398577121","file4":"1398577167","file5":"1398577169","file3":"1398577165"},"map_files_photo_id_array":[{"photo_id":"1398577169","filename":"file5"},{"photo_id":"1398577157","filename":"file2"},{"photo_id":"1398577167","filename":"file4"},{"photo_id":"1398577123","filename":"file1"},{"photo_id":"1398577121","filename":"file0"},{"photo_id":"1398577165","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577123":["hashtag1","hashtag2"]},{"1398577167":["hashtag1","hashtag2"]},{"1398577169":["hashtag1","hashtag2"]},{"1398577157":["hashtag1","hashtag2"]},{"1398577121":["hashtag1","hashtag2"]},{"1398577165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577123, 1398577167, 1398577169, 1398577157, 1398577121, 1398577165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26287078857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:36:22.475856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_55_9638.jpg', '/home/pi/Desktop/images/09122025/14/37/image_09122025_14_38_05_9804.jpg', '/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_15_10660.jpg', '/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_25_9670.jpg', '/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_35_9582.jpg', '/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_37_55_9638.jpg
/home/pi/Desktop/images/09122025/14/37/image_09122025_14_38_05_9804.jpg
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_15_10660.jpg
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_25_9670.jpg
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_35_9582.jpg
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_45_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577182","1398577176","1398577170","1398577178","1398577172","1398577174"],"photo_ids_order":["1398577170","1398577172","1398577174","1398577176","1398577178","1398577182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dc7e4996ff0ec84f7b2a0021f94fea24.jpg","text":"TemporaryFile(/tmp/multipartBody6181654081509985721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_38_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/430ceeb7cd29bf0796f908ae58cf1546.jpg","text":"TemporaryFile(/tmp/multipartBody5824010680237625630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_38_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61d00e7ac2a6a332907ae4ce4ab4d1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2087515166313607489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_37_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b7e95c73f9f5170b9d2d3fdbdbf48a50.jpg","text":"TemporaryFile(/tmp/multipartBody5366072583196658227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_38_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6f7d75bbdc79d20636584a4f7652d937.jpg","text":"TemporaryFile(/tmp/multipartBody1562881667761354273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_38_05_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0329ac5329865786c092411ae744d0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5597388484800409686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319843082,"filename":"image_09122025_14_38_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577174","file1":"1398577172","file0":"1398577170","file4":"1398577178","file5":"1398577182","file3":"1398577176"},"map_files_photo_id_array":[{"photo_id":"1398577182","filename":"file5"},{"photo_id":"1398577174","filename":"file2"},{"photo_id":"1398577178","filename":"file4"},{"photo_id":"1398577172","filename":"file1"},{"photo_id":"1398577170","filename":"file0"},{"photo_id":"1398577176","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577182":["hashtag1","hashtag2"]},{"1398577176":["hashtag1","hashtag2"]},{"1398577170":["hashtag1","hashtag2"]},{"1398577178":["hashtag1","hashtag2"]},{"1398577172":["hashtag1","hashtag2"]},{"1398577174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577182, 1398577176, 1398577170, 1398577178, 1398577172, 1398577174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76852512359619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:37:03.334453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_55_9579.jpg', '/home/pi/Desktop/images/09122025/14/38/image_09122025_14_39_05_10652.jpg', '/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_15_9610.jpg', '/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_25_9566.jpg', '/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_35_10601.jpg', '/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_38_55_9579.jpg
/home/pi/Desktop/images/09122025/14/38/image_09122025_14_39_05_10652.jpg
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_15_9610.jpg
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_25_9566.jpg
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_35_10601.jpg
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577191","1398577194","1398577188","1398577196","1398577190","1398577192"],"photo_ids_order":["1398577188","1398577190","1398577191","1398577192","1398577194","1398577196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/aca7303384170badbe47e7237e0d7c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2527538645818909047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_39_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/347278881222d32a9179d8e5000d2dda.jpg","text":"TemporaryFile(/tmp/multipartBody8330897547836670210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_39_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/13061c596be816abd4c807172378579f.jpg","text":"TemporaryFile(/tmp/multipartBody7366954866657269446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_38_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6a4826357df8fb72c3b52733c8c01026.jpg","text":"TemporaryFile(/tmp/multipartBody7197671056416989189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_39_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/28b7220a09e3b8d28af2d3412d07d356.jpg","text":"TemporaryFile(/tmp/multipartBody7230783450797350330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_39_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b3337078f6d8c7ac29a32e26e73665b8.jpg","text":"TemporaryFile(/tmp/multipartBody2254892554627637133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319883949,"filename":"image_09122025_14_39_25_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577191","file1":"1398577190","file0":"1398577188","file4":"1398577194","file5":"1398577196","file3":"1398577192"},"map_files_photo_id_array":[{"photo_id":"1398577196","filename":"file5"},{"photo_id":"1398577191","filename":"file2"},{"photo_id":"1398577194","filename":"file4"},{"photo_id":"1398577190","filename":"file1"},{"photo_id":"1398577188","filename":"file0"},{"photo_id":"1398577192","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577191":["hashtag1","hashtag2"]},{"1398577194":["hashtag1","hashtag2"]},{"1398577188":["hashtag1","hashtag2"]},{"1398577196":["hashtag1","hashtag2"]},{"1398577190":["hashtag1","hashtag2"]},{"1398577192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577191, 1398577194, 1398577188, 1398577196, 1398577190, 1398577192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.528786420822144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:37:42.581531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_05_3787.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_07_2624.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_10_2762.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_13_2785.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_16_3679.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_19_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_05_3787.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_07_2624.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_10_2762.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_13_2785.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_16_3679.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_19_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577201","1398577204","1398577203","1398577206","1398577208","1398577205"],"photo_ids_order":["1398577201","1398577203","1398577204","1398577205","1398577206","1398577208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f542caf96c128d3d297e803ba8493109.jpg","text":"TemporaryFile(/tmp/multipartBody5954321149785059710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_05_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fec0e8f6c7c6d4aa69b64578ad53e70f.jpg","text":"TemporaryFile(/tmp/multipartBody2568939586458486780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_10_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5dbf1912d47f80c828e2e524f254cf48.jpg","text":"TemporaryFile(/tmp/multipartBody272698935620927132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_07_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81459bb3e68429425a45f4c019d1a420.jpg","text":"TemporaryFile(/tmp/multipartBody8952717113466925908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_16_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/039ee4c1b832ee92bb1be3dfffca21fc.jpg","text":"TemporaryFile(/tmp/multipartBody716936688843105388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_19_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/33ffa05c452823f9df4baba992423f88.jpg","text":"TemporaryFile(/tmp/multipartBody7003358703016264064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319923562,"filename":"image_01112025_20_01_13_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577204","file1":"1398577203","file0":"1398577201","file4":"1398577206","file5":"1398577208","file3":"1398577205"},"map_files_photo_id_array":[{"photo_id":"1398577208","filename":"file5"},{"photo_id":"1398577204","filename":"file2"},{"photo_id":"1398577206","filename":"file4"},{"photo_id":"1398577203","filename":"file1"},{"photo_id":"1398577201","filename":"file0"},{"photo_id":"1398577205","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577201":["hashtag1","hashtag2"]},{"1398577204":["hashtag1","hashtag2"]},{"1398577203":["hashtag1","hashtag2"]},{"1398577206":["hashtag1","hashtag2"]},{"1398577208":["hashtag1","hashtag2"]},{"1398577205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577201, 1398577204, 1398577203, 1398577206, 1398577208, 1398577205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.345983028411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:38:22.781274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_55_9611.jpg', '/home/pi/Desktop/images/09122025/14/39/image_09122025_14_40_05_10675.jpg', '/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_15_9735.jpg', '/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_25_9659.jpg', '/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_35_10550.jpg', '/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_39_55_9611.jpg
/home/pi/Desktop/images/09122025/14/39/image_09122025_14_40_05_10675.jpg
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_15_9735.jpg
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_25_9659.jpg
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_35_10550.jpg
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_45_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577213","1398577216","1398577218","1398577215","1398577220","1398577217"],"photo_ids_order":["1398577213","1398577215","1398577216","1398577217","1398577218","1398577220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f8eb775e9a58cf5cd92e09e5f5dbb8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2454971137153235945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_39_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0b3f4797c5d717b6b104140826fc2b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1355169188566959994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_40_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4711f14ee8ff870bef1f1fb543b35747.jpg","text":"TemporaryFile(/tmp/multipartBody6556627810725151274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_40_35_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec97d233d59ebcdaa55563a5b9780d44.jpg","text":"TemporaryFile(/tmp/multipartBody1847543930199730165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_40_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6c5b602451247e7f81b66c010d2cbc4f.jpg","text":"TemporaryFile(/tmp/multipartBody2337675519390316785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_40_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/779139a9af517077d8d0787972effd63.jpg","text":"TemporaryFile(/tmp/multipartBody912726313665055037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765319963342,"filename":"image_09122025_14_40_25_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577216","file1":"1398577215","file0":"1398577213","file4":"1398577218","file5":"1398577220","file3":"1398577217"},"map_files_photo_id_array":[{"photo_id":"1398577220","filename":"file5"},{"photo_id":"1398577216","filename":"file2"},{"photo_id":"1398577218","filename":"file4"},{"photo_id":"1398577215","filename":"file1"},{"photo_id":"1398577213","filename":"file0"},{"photo_id":"1398577217","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577213":["hashtag1","hashtag2"]},{"1398577216":["hashtag1","hashtag2"]},{"1398577218":["hashtag1","hashtag2"]},{"1398577215":["hashtag1","hashtag2"]},{"1398577220":["hashtag1","hashtag2"]},{"1398577217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577213, 1398577216, 1398577218, 1398577215, 1398577220, 1398577217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48819947242737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:39:03.114233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_54_9669.jpg', '/home/pi/Desktop/images/09122025/14/40/image_09122025_14_41_05_10624.jpg', '/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_15_9621.jpg', '/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_25_10570.jpg', '/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_35_9702.jpg', '/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_45_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_40_54_9669.jpg
/home/pi/Desktop/images/09122025/14/40/image_09122025_14_41_05_10624.jpg
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_15_9621.jpg
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_25_10570.jpg
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_35_9702.jpg
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_45_9531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577252","1398577254","1398577248","1398577251","1398577245","1398577250"],"photo_ids_order":["1398577245","1398577248","1398577250","1398577251","1398577252","1398577254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32e90fcc3d2c95c52f110a13a455b0df.jpg","text":"TemporaryFile(/tmp/multipartBody9019029700238986605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_41_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a62522e5247a29b68ec722e0dbba38dc.jpg","text":"TemporaryFile(/tmp/multipartBody4526454062900954767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_41_45_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/12870ef323686dcce8cf087bac53c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5964748497012371699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_41_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21f822058b0d759ac8c00e3368df7450.jpg","text":"TemporaryFile(/tmp/multipartBody7793486566465720089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_41_25_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e5cf90357b28f299ad3979070dd27a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8992823013824892028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_40_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27cc5adc9d06be0eb20dc5c7cf17ffd6.jpg","text":"TemporaryFile(/tmp/multipartBody2948786354286182445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320003852,"filename":"image_09122025_14_41_15_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577250","file1":"1398577248","file0":"1398577245","file4":"1398577252","file5":"1398577254","file3":"1398577251"},"map_files_photo_id_array":[{"photo_id":"1398577254","filename":"file5"},{"photo_id":"1398577250","filename":"file2"},{"photo_id":"1398577252","filename":"file4"},{"photo_id":"1398577248","filename":"file1"},{"photo_id":"1398577245","filename":"file0"},{"photo_id":"1398577251","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577252":["hashtag1","hashtag2"]},{"1398577254":["hashtag1","hashtag2"]},{"1398577248":["hashtag1","hashtag2"]},{"1398577251":["hashtag1","hashtag2"]},{"1398577245":["hashtag1","hashtag2"]},{"1398577250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577252, 1398577254, 1398577248, 1398577251, 1398577245, 1398577250)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.89008975028992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:40:03.154443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_54_9905.jpg', '/home/pi/Desktop/images/09122025/14/41/image_09122025_14_42_05_10833.jpg', '/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_15_9529.jpg', '/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_25_9725.jpg', '/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_35_10579.jpg', '/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_45_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_41_54_9905.jpg
/home/pi/Desktop/images/09122025/14/41/image_09122025_14_42_05_10833.jpg
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_15_9529.jpg
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_25_9725.jpg
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_35_10579.jpg
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_45_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577267","1398577271","1398577274","1398577273","1398577261","1398577264"],"photo_ids_order":["1398577261","1398577264","1398577267","1398577271","1398577273","1398577274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/44ab27d60fafc8121e4aee8aecfe6ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5267046761485532763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_42_15_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fce080199f96d8495388ef1262c893b6.jpg","text":"TemporaryFile(/tmp/multipartBody1887258980423625531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_42_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f9bb8dd403f4eba2dd39173a47f4c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8572616436466991242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_42_45_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0ce08e17934d967c8bffc0a76e263823.jpg","text":"TemporaryFile(/tmp/multipartBody8275415081054435215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_42_35_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/82b1a24dea13fe82015c719174e9ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody1517982972263038408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_41_54_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/cb34bf26cf92081a2f4e104e36496c43.jpg","text":"TemporaryFile(/tmp/multipartBody2144963996655228968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320063751,"filename":"image_09122025_14_42_05_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577267","file1":"1398577264","file0":"1398577261","file4":"1398577273","file5":"1398577274","file3":"1398577271"},"map_files_photo_id_array":[{"photo_id":"1398577274","filename":"file5"},{"photo_id":"1398577267","filename":"file2"},{"photo_id":"1398577273","filename":"file4"},{"photo_id":"1398577264","filename":"file1"},{"photo_id":"1398577261","filename":"file0"},{"photo_id":"1398577271","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577267":["hashtag1","hashtag2"]},{"1398577271":["hashtag1","hashtag2"]},{"1398577274":["hashtag1","hashtag2"]},{"1398577273":["hashtag1","hashtag2"]},{"1398577261":["hashtag1","hashtag2"]},{"1398577264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577267, 1398577271, 1398577274, 1398577273, 1398577261, 1398577264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.635143995285034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:40:42.748138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_26_3629.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_28_2671.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_31_2838.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_34_2701.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_37_3595.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_40_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_26_3629.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_28_2671.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_31_2838.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_34_2701.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_37_3595.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_40_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577284","1398577278","1398577281","1398577289","1398577286","1398577282"],"photo_ids_order":["1398577278","1398577281","1398577282","1398577284","1398577286","1398577289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5f72883abb880b40e62d221faa6eca1a.jpg","text":"TemporaryFile(/tmp/multipartBody4683123929555805421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ad078e3a3af38c435b748432dc77b260.jpg","text":"TemporaryFile(/tmp/multipartBody227815359647448722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_26_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8afee5b4e05cd7b159b554da61addeed.jpg","text":"TemporaryFile(/tmp/multipartBody9167399365594412999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd7eb37fd8c600e6747787ca1c697c29.jpg","text":"TemporaryFile(/tmp/multipartBody2380817870460125496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_40_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d7ab7f06d2c094ac9a2d292a04495cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4121362611346100427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_37_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c824bfcdefa0c79c735c877347516738.jpg","text":"TemporaryFile(/tmp/multipartBody2530624611283129778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320103715,"filename":"image_01112025_20_01_31_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577282","file1":"1398577281","file0":"1398577278","file4":"1398577286","file5":"1398577289","file3":"1398577284"},"map_files_photo_id_array":[{"photo_id":"1398577289","filename":"file5"},{"photo_id":"1398577282","filename":"file2"},{"photo_id":"1398577286","filename":"file4"},{"photo_id":"1398577281","filename":"file1"},{"photo_id":"1398577278","filename":"file0"},{"photo_id":"1398577284","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577284":["hashtag1","hashtag2"]},{"1398577278":["hashtag1","hashtag2"]},{"1398577281":["hashtag1","hashtag2"]},{"1398577289":["hashtag1","hashtag2"]},{"1398577286":["hashtag1","hashtag2"]},{"1398577282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577284, 1398577278, 1398577281, 1398577289, 1398577286, 1398577282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25558304786682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:41:21.984136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_55_9892.jpg', '/home/pi/Desktop/images/09122025/14/42/image_09122025_14_43_05_10693.jpg', '/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_15_9635.jpg', '/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_25_9634.jpg', '/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_35_10567.jpg', '/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_45_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_42_55_9892.jpg
/home/pi/Desktop/images/09122025/14/42/image_09122025_14_43_05_10693.jpg
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_15_9635.jpg
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_25_9634.jpg
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_35_10567.jpg
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_45_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577296","1398577290","1398577305","1398577298","1398577292","1398577294"],"photo_ids_order":["1398577290","1398577292","1398577294","1398577296","1398577298","1398577305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b2939724fbe9327734f762ce59c02969.jpg","text":"TemporaryFile(/tmp/multipartBody2230522916291755856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_43_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a9107aae08f213f0bde45c8c4b991c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2069521073815382298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_42_55_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f499620606d61b947918e6316d270f09.jpg","text":"TemporaryFile(/tmp/multipartBody8515503835713865914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_43_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/55030404961a2e00b965004199cd37e2.jpg","text":"TemporaryFile(/tmp/multipartBody5707913459069005655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_43_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94fc62715038bb70df7881ad6a807c78.jpg","text":"TemporaryFile(/tmp/multipartBody8410677366239778205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_43_05_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8d45cd2c196e5849f41c855b06b43524.jpg","text":"TemporaryFile(/tmp/multipartBody4215413843221027108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320142567,"filename":"image_09122025_14_43_15_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577294","file1":"1398577292","file0":"1398577290","file4":"1398577298","file5":"1398577305","file3":"1398577296"},"map_files_photo_id_array":[{"photo_id":"1398577305","filename":"file5"},{"photo_id":"1398577294","filename":"file2"},{"photo_id":"1398577298","filename":"file4"},{"photo_id":"1398577292","filename":"file1"},{"photo_id":"1398577290","filename":"file0"},{"photo_id":"1398577296","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577296":["hashtag1","hashtag2"]},{"1398577290":["hashtag1","hashtag2"]},{"1398577305":["hashtag1","hashtag2"]},{"1398577298":["hashtag1","hashtag2"]},{"1398577292":["hashtag1","hashtag2"]},{"1398577294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577296, 1398577290, 1398577305, 1398577298, 1398577292, 1398577294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44330859184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:42:02.624671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_55_10676.jpg', '/home/pi/Desktop/images/09122025/14/43/image_09122025_14_44_05_9708.jpg', '/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_15_9696.jpg', '/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_25_9792.jpg', '/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_35_10707.jpg', '/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_45_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_43_55_10676.jpg
/home/pi/Desktop/images/09122025/14/43/image_09122025_14_44_05_9708.jpg
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_15_9696.jpg
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_25_9792.jpg
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_35_10707.jpg
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_45_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577339","1398577330","1398577329","1398577332","1398577334","1398577336"],"photo_ids_order":["1398577329","1398577330","1398577332","1398577334","1398577336","1398577339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db6dd8003702d3115855a9b42e2ed527.jpg","text":"TemporaryFile(/tmp/multipartBody8681012817863321051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_44_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/39dc5be8d1970f7b49e42c0c1537097f.jpg","text":"TemporaryFile(/tmp/multipartBody765101158456393939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_44_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/605578ddd7565138a2ed347c6f61f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8771776667306427577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_43_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8de75dbd8be1f714d1468d2aa7a3b977.jpg","text":"TemporaryFile(/tmp/multipartBody1579504130541936424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_44_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec4f75b55544accdff4a2335c2652c46.jpg","text":"TemporaryFile(/tmp/multipartBody2383447064739374421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_44_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/733d29a936522b4c3682b1d132c1b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5985359772231217722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320183292,"filename":"image_09122025_14_44_35_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577332","file1":"1398577330","file0":"1398577329","file4":"1398577336","file5":"1398577339","file3":"1398577334"},"map_files_photo_id_array":[{"photo_id":"1398577339","filename":"file5"},{"photo_id":"1398577332","filename":"file2"},{"photo_id":"1398577336","filename":"file4"},{"photo_id":"1398577330","filename":"file1"},{"photo_id":"1398577329","filename":"file0"},{"photo_id":"1398577334","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577339":["hashtag1","hashtag2"]},{"1398577330":["hashtag1","hashtag2"]},{"1398577329":["hashtag1","hashtag2"]},{"1398577332":["hashtag1","hashtag2"]},{"1398577334":["hashtag1","hashtag2"]},{"1398577336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577339, 1398577330, 1398577329, 1398577332, 1398577334, 1398577336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03559374809265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:42:42.133387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_43_2553.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_47_3702.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_49_2768.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_52_2579.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_56_3778.jpg', '/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_58_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_43_2553.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_47_3702.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_49_2768.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_52_2579.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_56_3778.jpg
/home/pi/Desktop/images/01112025/20/01/image_01112025_20_01_58_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577351","1398577353","1398577356","1398577352","1398577349","1398577354"],"photo_ids_order":["1398577349","1398577351","1398577352","1398577353","1398577354","1398577356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4a2a7f5efb90501975a1e3672fbeca7b.jpg","text":"TemporaryFile(/tmp/multipartBody9152280204981821301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_47_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/53b7b409dcc86682e4a58786a3a6e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody470424168486435559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_52_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2296608c28a966e0b1db6364285acb38.jpg","text":"TemporaryFile(/tmp/multipartBody3760837846764865107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_58_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f38186284d5cd72ae61f3f4d4797c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody7880742944086111768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_49_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0032492e975f4265ab93243d94521625.jpg","text":"TemporaryFile(/tmp/multipartBody280629533407029364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_43_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/41385b94acabe19b09428d95a18d2c5b.jpg","text":"TemporaryFile(/tmp/multipartBody4095811206302042790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320223142,"filename":"image_01112025_20_01_56_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577352","file1":"1398577351","file0":"1398577349","file4":"1398577354","file5":"1398577356","file3":"1398577353"},"map_files_photo_id_array":[{"photo_id":"1398577356","filename":"file5"},{"photo_id":"1398577352","filename":"file2"},{"photo_id":"1398577354","filename":"file4"},{"photo_id":"1398577351","filename":"file1"},{"photo_id":"1398577349","filename":"file0"},{"photo_id":"1398577353","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577351":["hashtag1","hashtag2"]},{"1398577353":["hashtag1","hashtag2"]},{"1398577356":["hashtag1","hashtag2"]},{"1398577352":["hashtag1","hashtag2"]},{"1398577349":["hashtag1","hashtag2"]},{"1398577354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577351, 1398577353, 1398577356, 1398577352, 1398577349, 1398577354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.386170864105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:43:22.301308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_55_9712.jpg', '/home/pi/Desktop/images/09122025/14/44/image_09122025_14_45_04_9762.jpg', '/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_15_10734.jpg', '/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_25_9839.jpg', '/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_35_9712.jpg', '/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_45_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_44_55_9712.jpg
/home/pi/Desktop/images/09122025/14/44/image_09122025_14_45_04_9762.jpg
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_15_10734.jpg
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_25_9839.jpg
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_35_9712.jpg
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_45_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577366","1398577365","1398577368","1398577362","1398577364","1398577360"],"photo_ids_order":["1398577360","1398577362","1398577364","1398577365","1398577366","1398577368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a66e8b017ef2cc4d8d1b83b4deb5a86e.jpg","text":"TemporaryFile(/tmp/multipartBody897799493278028153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_45_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8579cdfb8a6153e74bef6be25639fe1f.jpg","text":"TemporaryFile(/tmp/multipartBody2917017140267160220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_45_25_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af4b8d53d03b8eda25c9f54a0932d737.jpg","text":"TemporaryFile(/tmp/multipartBody1370368006424020806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_45_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0754d9aa7e419c45797ce6ab0a322ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5910485308648642311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_45_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c3b6d29228916e050c02e04f75a16507.jpg","text":"TemporaryFile(/tmp/multipartBody5027950577255460756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_45_15_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/70a30791ffb5c500060e67fab928842b.jpg","text":"TemporaryFile(/tmp/multipartBody474386903579942418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320262869,"filename":"image_09122025_14_44_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577364","file1":"1398577362","file0":"1398577360","file4":"1398577366","file5":"1398577368","file3":"1398577365"},"map_files_photo_id_array":[{"photo_id":"1398577368","filename":"file5"},{"photo_id":"1398577364","filename":"file2"},{"photo_id":"1398577366","filename":"file4"},{"photo_id":"1398577362","filename":"file1"},{"photo_id":"1398577360","filename":"file0"},{"photo_id":"1398577365","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577366":["hashtag1","hashtag2"]},{"1398577365":["hashtag1","hashtag2"]},{"1398577368":["hashtag1","hashtag2"]},{"1398577362":["hashtag1","hashtag2"]},{"1398577364":["hashtag1","hashtag2"]},{"1398577360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577366, 1398577365, 1398577368, 1398577362, 1398577364, 1398577360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45132565498352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:44:03.225426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_55_9649.jpg', '/home/pi/Desktop/images/09122025/14/45/image_09122025_14_46_05_9641.jpg', '/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_25_9756.jpg', '/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_35_9592.jpg', '/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_45_10710.jpg', '/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_45_55_9649.jpg
/home/pi/Desktop/images/09122025/14/45/image_09122025_14_46_05_9641.jpg
/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_25_9756.jpg
/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_35_9592.jpg
/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_45_10710.jpg
/home/pi/Desktop/images/09122025/14/46/image_09122025_14_46_55_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577383","1398577379","1398577373","1398577381","1398577375","1398577378"],"photo_ids_order":["1398577373","1398577375","1398577378","1398577379","1398577381","1398577383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f74d6665389a57d0caebecf88a81631a.jpg","text":"TemporaryFile(/tmp/multipartBody5222987392070780323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_46_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a46ff25752ea007b309d2bc0f58265d0.jpg","text":"TemporaryFile(/tmp/multipartBody924803529165980673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_46_35_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/90faf51a25de09167a6ccfea1d569b86.jpg","text":"TemporaryFile(/tmp/multipartBody6273109027784189017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_45_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/afd396889bbdc8d510e4baa33e6bce23.jpg","text":"TemporaryFile(/tmp/multipartBody9119818541374536576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_46_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/116e159940f5140cd3b30270eb5f9984.jpg","text":"TemporaryFile(/tmp/multipartBody1284511543214100520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_46_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8153cae76b9570a1afba370e5f47e598.jpg","text":"TemporaryFile(/tmp/multipartBody7110670179698767044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320303843,"filename":"image_09122025_14_46_25_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577378","file1":"1398577375","file0":"1398577373","file4":"1398577381","file5":"1398577383","file3":"1398577379"},"map_files_photo_id_array":[{"photo_id":"1398577383","filename":"file5"},{"photo_id":"1398577378","filename":"file2"},{"photo_id":"1398577381","filename":"file4"},{"photo_id":"1398577375","filename":"file1"},{"photo_id":"1398577373","filename":"file0"},{"photo_id":"1398577379","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577383":["hashtag1","hashtag2"]},{"1398577379":["hashtag1","hashtag2"]},{"1398577373":["hashtag1","hashtag2"]},{"1398577381":["hashtag1","hashtag2"]},{"1398577375":["hashtag1","hashtag2"]},{"1398577378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577383, 1398577379, 1398577373, 1398577381, 1398577375, 1398577378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.838979959487915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:45:03.330230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/46/image_09122025_14_47_05_9676.jpg', '/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_15_10605.jpg', '/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_25_9620.jpg', '/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_34_9603.jpg', '/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_55_9652.jpg', '/home/pi/Desktop/images/09122025/14/47/image_09122025_14_48_05_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/46/image_09122025_14_47_05_9676.jpg
/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_15_10605.jpg
/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_25_9620.jpg
/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_34_9603.jpg
/home/pi/Desktop/images/09122025/14/47/image_09122025_14_47_55_9652.jpg
/home/pi/Desktop/images/09122025/14/47/image_09122025_14_48_05_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577408","1398577402","1398577410","1398577404","1398577412","1398577406"],"photo_ids_order":["1398577402","1398577404","1398577406","1398577408","1398577410","1398577412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/54d27280c1d6e962c8a7752c083a4f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4921176892706131123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_47_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef897bf9aff0e96654e79392e6b29243.jpg","text":"TemporaryFile(/tmp/multipartBody5842513944150967687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_47_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fb157b914285248e4c2f9d442dd9a8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8446412551397573020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_47_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0acc84ebab3e359acf03cd3873ac112d.jpg","text":"TemporaryFile(/tmp/multipartBody2357074050152538209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_47_15_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2ec31e3ca3b2b1b9eba83af81290a20f.jpg","text":"TemporaryFile(/tmp/multipartBody4205288231555557389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_48_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1edd7ebf4c3490dc47f114e2522e4c95.jpg","text":"TemporaryFile(/tmp/multipartBody1187992782359645144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320368352,"filename":"image_09122025_14_47_25_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577406","file1":"1398577404","file0":"1398577402","file4":"1398577410","file5":"1398577412","file3":"1398577408"},"map_files_photo_id_array":[{"photo_id":"1398577412","filename":"file5"},{"photo_id":"1398577406","filename":"file2"},{"photo_id":"1398577410","filename":"file4"},{"photo_id":"1398577404","filename":"file1"},{"photo_id":"1398577402","filename":"file0"},{"photo_id":"1398577408","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577408":["hashtag1","hashtag2"]},{"1398577402":["hashtag1","hashtag2"]},{"1398577410":["hashtag1","hashtag2"]},{"1398577404":["hashtag1","hashtag2"]},{"1398577412":["hashtag1","hashtag2"]},{"1398577406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577408, 1398577402, 1398577410, 1398577404, 1398577412, 1398577406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66499042510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:46:03.108467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_15_10030.jpg', '/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_25_10604.jpg', '/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_35_9803.jpg', '/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_45_9829.jpg', '/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_55_9652.jpg', '/home/pi/Desktop/images/09122025/14/48/image_09122025_14_49_05_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_15_10030.jpg
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_25_10604.jpg
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_35_9803.jpg
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_45_9829.jpg
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_48_55_9652.jpg
/home/pi/Desktop/images/09122025/14/48/image_09122025_14_49_05_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577426","1398577420","1398577422","1398577419","1398577424","1398577421"],"photo_ids_order":["1398577419","1398577420","1398577421","1398577422","1398577424","1398577426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69169a6622fc94d2ff71471b94a7f1fe.jpg","text":"TemporaryFile(/tmp/multipartBody4869485135283433042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_49_05_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2af32cb0b495c2dd6de65015d86998ef.jpg","text":"TemporaryFile(/tmp/multipartBody2282242331467214282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_48_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/af34d9b2a181d72620dc81802b0db66f.jpg","text":"TemporaryFile(/tmp/multipartBody202903582532162595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_48_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/dd326d01266c9479f298927e128c81c6.jpg","text":"TemporaryFile(/tmp/multipartBody4176726197049056122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_48_15_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f2e7b6cb9f26dcd2aa225603c7609788.jpg","text":"TemporaryFile(/tmp/multipartBody252551505843797636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_48_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3cf6bf744ac01f6ae145337f8dc54a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3383183233771190059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320426167,"filename":"image_09122025_14_48_35_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577421","file1":"1398577420","file0":"1398577419","file4":"1398577424","file5":"1398577426","file3":"1398577422"},"map_files_photo_id_array":[{"photo_id":"1398577426","filename":"file5"},{"photo_id":"1398577421","filename":"file2"},{"photo_id":"1398577424","filename":"file4"},{"photo_id":"1398577420","filename":"file1"},{"photo_id":"1398577419","filename":"file0"},{"photo_id":"1398577422","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577426":["hashtag1","hashtag2"]},{"1398577420":["hashtag1","hashtag2"]},{"1398577422":["hashtag1","hashtag2"]},{"1398577419":["hashtag1","hashtag2"]},{"1398577424":["hashtag1","hashtag2"]},{"1398577421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577426, 1398577420, 1398577422, 1398577419, 1398577424, 1398577421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89763522148132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:46:42.751440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_01_2678.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_05_3657.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_07_2591.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_14_3650.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_17_3048.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_19_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_01_2678.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_05_3657.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_07_2591.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_14_3650.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_17_3048.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_19_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577438","1398577434","1398577437","1398577442","1398577439","1398577436"],"photo_ids_order":["1398577434","1398577436","1398577437","1398577438","1398577439","1398577442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e63d39184661d9d0e73571daf5bf126a.jpg","text":"TemporaryFile(/tmp/multipartBody6147930614308040610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_14_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fbbce9aa9249096a70ffa2ae5abcc8d1.jpg","text":"TemporaryFile(/tmp/multipartBody5387995945972059704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_01_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4d22045ed48ccd92ec643506bb92ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody7091486274180635414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_07_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a3dd085223640fe8d2f38c27a1b3ac07.jpg","text":"TemporaryFile(/tmp/multipartBody2403936237758289841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_19_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/42b925a2739a73949f2524c85e0fdf43.jpg","text":"TemporaryFile(/tmp/multipartBody3058598205345798053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_17_3048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/89a08eb567f2caeb0ddc10dc3c7b0fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1796722315378840458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320463765,"filename":"image_01112025_20_02_05_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577437","file1":"1398577436","file0":"1398577434","file4":"1398577439","file5":"1398577442","file3":"1398577438"},"map_files_photo_id_array":[{"photo_id":"1398577442","filename":"file5"},{"photo_id":"1398577437","filename":"file2"},{"photo_id":"1398577439","filename":"file4"},{"photo_id":"1398577436","filename":"file1"},{"photo_id":"1398577434","filename":"file0"},{"photo_id":"1398577438","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577438":["hashtag1","hashtag2"]},{"1398577434":["hashtag1","hashtag2"]},{"1398577437":["hashtag1","hashtag2"]},{"1398577442":["hashtag1","hashtag2"]},{"1398577439":["hashtag1","hashtag2"]},{"1398577436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577438, 1398577434, 1398577437, 1398577442, 1398577439, 1398577436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982930421829224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:47:21.986850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_15_9642.jpg', '/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_25_9776.jpg', '/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_35_9857.jpg', '/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_45_10695.jpg', '/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_55_9534.jpg', '/home/pi/Desktop/images/09122025/14/49/image_09122025_14_50_05_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_15_9642.jpg
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_25_9776.jpg
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_35_9857.jpg
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_45_10695.jpg
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_49_55_9534.jpg
/home/pi/Desktop/images/09122025/14/49/image_09122025_14_50_05_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577455","1398577449","1398577451","1398577454","1398577453","1398577462"],"photo_ids_order":["1398577449","1398577451","1398577453","1398577454","1398577455","1398577462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/da183ea259230f97cedb920a3e897813.jpg","text":"TemporaryFile(/tmp/multipartBody2118566656151080425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_49_55_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/eef8b65e9379149e4ac0c1890a053917.jpg","text":"TemporaryFile(/tmp/multipartBody8077797555900463797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_49_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ef3e311a8f352bde5482881d371c7187.jpg","text":"TemporaryFile(/tmp/multipartBody625051116526575319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_49_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/22227fe637329ebdeb6ad630046e4d15.jpg","text":"TemporaryFile(/tmp/multipartBody8496448247431592568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_49_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/374f474e6001e0cfcab970991f02f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody8706215030597707535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_49_35_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2347c0ce09827fd0b1a7c8a9e215b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody8660190689698812074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320502549,"filename":"image_09122025_14_50_05_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577453","file1":"1398577451","file0":"1398577449","file4":"1398577455","file5":"1398577462","file3":"1398577454"},"map_files_photo_id_array":[{"photo_id":"1398577462","filename":"file5"},{"photo_id":"1398577453","filename":"file2"},{"photo_id":"1398577455","filename":"file4"},{"photo_id":"1398577451","filename":"file1"},{"photo_id":"1398577449","filename":"file0"},{"photo_id":"1398577454","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577455":["hashtag1","hashtag2"]},{"1398577449":["hashtag1","hashtag2"]},{"1398577451":["hashtag1","hashtag2"]},{"1398577454":["hashtag1","hashtag2"]},{"1398577453":["hashtag1","hashtag2"]},{"1398577462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577455, 1398577449, 1398577451, 1398577454, 1398577453, 1398577462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.701027393341064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:48:02.844239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_15_9665.jpg', '/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_25_9607.jpg', '/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_35_10568.jpg', '/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_45_9784.jpg', '/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_55_9621.jpg', '/home/pi/Desktop/images/09122025/14/50/image_09122025_14_51_05_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_15_9665.jpg
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_25_9607.jpg
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_35_10568.jpg
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_45_9784.jpg
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_50_55_9621.jpg
/home/pi/Desktop/images/09122025/14/50/image_09122025_14_51_05_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577476","1398577470","1398577467","1398577472","1398577471","1398577474"],"photo_ids_order":["1398577467","1398577470","1398577471","1398577472","1398577474","1398577476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/442b779f67cdb4c60ce11b5af64c0269.jpg","text":"TemporaryFile(/tmp/multipartBody1846305136310423277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_51_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6e096390cca7bafc30d3a1625ae74866.jpg","text":"TemporaryFile(/tmp/multipartBody5839317359880266421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_50_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/e8e947be4a39ed4c275317f1e4869b38.jpg","text":"TemporaryFile(/tmp/multipartBody6278106059588526365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_50_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0df80b0ebb971037a434ff91f1d56467.jpg","text":"TemporaryFile(/tmp/multipartBody4838909497135100859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_50_45_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d5c08671e0923d3cbed7e8ef3927f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody1472284807604821206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_50_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b756abe8bb489f729a96bc05aa544462.jpg","text":"TemporaryFile(/tmp/multipartBody429180263204507053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320545854,"filename":"image_09122025_14_50_55_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577471","file1":"1398577470","file0":"1398577467","file4":"1398577474","file5":"1398577476","file3":"1398577472"},"map_files_photo_id_array":[{"photo_id":"1398577476","filename":"file5"},{"photo_id":"1398577471","filename":"file2"},{"photo_id":"1398577474","filename":"file4"},{"photo_id":"1398577470","filename":"file1"},{"photo_id":"1398577467","filename":"file0"},{"photo_id":"1398577472","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577476":["hashtag1","hashtag2"]},{"1398577470":["hashtag1","hashtag2"]},{"1398577467":["hashtag1","hashtag2"]},{"1398577472":["hashtag1","hashtag2"]},{"1398577471":["hashtag1","hashtag2"]},{"1398577474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577476, 1398577470, 1398577467, 1398577472, 1398577471, 1398577474)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.24143099784851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:49:02.829341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:49:11.905790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_15_10817.jpg', '/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_25_9736.jpg', '/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_34_9632.jpg', '/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_45_10632.jpg', '/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_55_9982.jpg', '/home/pi/Desktop/images/08122025/14/17/image_08122025_14_18_05_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_15_10817.jpg
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_25_9736.jpg
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_34_9632.jpg
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_45_10632.jpg
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_17_55_9982.jpg
/home/pi/Desktop/images/08122025/14/17/image_08122025_14_18_05_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577491","1398577493","1398577487","1398577492","1398577486","1398577489"],"photo_ids_order":["1398577486","1398577487","1398577489","1398577491","1398577492","1398577493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5c6c3473881901d5ff3f5d9cb9e59eee.jpg","text":"TemporaryFile(/tmp/multipartBody3553306576330225163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_17_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/61fd04d430ba230c5614f58acf3d16bc.jpg","text":"TemporaryFile(/tmp/multipartBody2756438389162376054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_18_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5834a69727236bf9d30de59c2a893adf.jpg","text":"TemporaryFile(/tmp/multipartBody903209312175810536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_17_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7751fa76669cbd2c011266e77b90c68d.jpg","text":"TemporaryFile(/tmp/multipartBody3819907107293536362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_17_55_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/158b752ccd7bc2abcf1321bb97e809ec.jpg","text":"TemporaryFile(/tmp/multipartBody3369712318404143863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_17_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/b36200f6843a16e1d4815cb57874acae.jpg","text":"TemporaryFile(/tmp/multipartBody8706212915449757508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320618599,"filename":"image_08122025_14_17_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577489","file1":"1398577487","file0":"1398577486","file4":"1398577492","file5":"1398577493","file3":"1398577491"},"map_files_photo_id_array":[{"photo_id":"1398577493","filename":"file5"},{"photo_id":"1398577489","filename":"file2"},{"photo_id":"1398577492","filename":"file4"},{"photo_id":"1398577487","filename":"file1"},{"photo_id":"1398577486","filename":"file0"},{"photo_id":"1398577491","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398577491":["hashtag1","hashtag2"]},{"1398577493":["hashtag1","hashtag2"]},{"1398577487":["hashtag1","hashtag2"]},{"1398577492":["hashtag1","hashtag2"]},{"1398577486":["hashtag1","hashtag2"]},{"1398577489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398577491, 1398577493, 1398577487, 1398577492, 1398577486, 1398577489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.36859679222107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:50:02.817091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_15_9773.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_25_9667.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_35_10625.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_45_9655.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_55_9649.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_52_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_15_9773.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_25_9667.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_35_10625.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_45_9655.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_55_9649.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_52_05_10638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3973891735076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:50:12.266178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_14_9626.jpg', '/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_25_10557.jpg', '/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_34_9633.jpg', '/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_45_10546.jpg', '/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_55_9555.jpg', '/home/pi/Desktop/images/08122025/14/18/image_08122025_14_19_05_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_14_9626.jpg
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_25_10557.jpg
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_34_9633.jpg
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_45_10546.jpg
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_18_55_9555.jpg
/home/pi/Desktop/images/08122025/14/18/image_08122025_14_19_05_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577522","1398577504","1398577512","1398577515","1398577509","1398577506"],"photo_ids_order":["1398577504","1398577506","1398577509","1398577512","1398577515","1398577522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5a170f5c3c6ab375f2b9bea1b02ce24a.jpg","text":"TemporaryFile(/tmp/multipartBody5967529260449899013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_19_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/552a7058a4e42ab059745d068a0fcd2d.jpg","text":"TemporaryFile(/tmp/multipartBody1489389616473883923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_18_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/113832c7afad105d98063506a95d6d38.jpg","text":"TemporaryFile(/tmp/multipartBody2692375638575212457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_18_45_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/024a28417d7a7c685517232015003b60.jpg","text":"TemporaryFile(/tmp/multipartBody39207508626798157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_18_55_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/effb810ac98b694f37df08f09245ace8.jpg","text":"TemporaryFile(/tmp/multipartBody6832488216750131134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_18_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/21773aa4b836a701f44f407d85144d75.jpg","text":"TemporaryFile(/tmp/multipartBody2088768422499187679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320674063,"filename":"image_08122025_14_18_25_10557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577509","file1":"1398577506","file0":"1398577504","file4":"1398577515","file5":"1398577522","file3":"1398577512"},"map_files_photo_id_array":[{"photo_id":"1398577522","filename":"file5"},{"photo_id":"1398577509","filename":"file2"},{"photo_id":"1398577515","filename":"file4"},{"photo_id":"1398577506","filename":"file1"},{"photo_id":"1398577504","filename":"file0"},{"photo_id":"1398577512","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398577522":["hashtag1","hashtag2"]},{"1398577504":["hashtag1","hashtag2"]},{"1398577512":["hashtag1","hashtag2"]},{"1398577515":["hashtag1","hashtag2"]},{"1398577509":["hashtag1","hashtag2"]},{"1398577506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398577522, 1398577504, 1398577512, 1398577515, 1398577509, 1398577506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98434805870056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:51:03.190469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_15_9773.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_25_9667.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_35_10625.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_45_9655.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_55_9649.jpg', '/home/pi/Desktop/images/09122025/14/51/image_09122025_14_52_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_15_9773.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_25_9667.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_35_10625.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_45_9655.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_51_55_9649.jpg
/home/pi/Desktop/images/09122025/14/51/image_09122025_14_52_05_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577539","1398577530","1398577533","1398577542","1398577536","1398577541"],"photo_ids_order":["1398577530","1398577533","1398577536","1398577539","1398577541","1398577542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ec226d70e322b3473e75f1a5ef683c18.jpg","text":"TemporaryFile(/tmp/multipartBody6264441422184605366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_51_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ab1328596e9ec64f494bac5fe863148e.jpg","text":"TemporaryFile(/tmp/multipartBody1395811955242283010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_51_15_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a91a6cb0247ce7e1b0879058b88a889d.jpg","text":"TemporaryFile(/tmp/multipartBody5793338339447394392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_51_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/be42ad11c8f30a53568fdd5a684d974c.jpg","text":"TemporaryFile(/tmp/multipartBody212182891385208614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_52_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/fefbd7eca92f3710887deacf8e01f207.jpg","text":"TemporaryFile(/tmp/multipartBody7086097982936668035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_51_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a31393d816aca7882d53a08bd8a8b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1278805502316133637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320723808,"filename":"image_09122025_14_51_55_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577536","file1":"1398577533","file0":"1398577530","file4":"1398577541","file5":"1398577542","file3":"1398577539"},"map_files_photo_id_array":[{"photo_id":"1398577542","filename":"file5"},{"photo_id":"1398577536","filename":"file2"},{"photo_id":"1398577541","filename":"file4"},{"photo_id":"1398577533","filename":"file1"},{"photo_id":"1398577530","filename":"file0"},{"photo_id":"1398577539","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577539":["hashtag1","hashtag2"]},{"1398577530":["hashtag1","hashtag2"]},{"1398577533":["hashtag1","hashtag2"]},{"1398577542":["hashtag1","hashtag2"]},{"1398577536":["hashtag1","hashtag2"]},{"1398577541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577539, 1398577530, 1398577533, 1398577542, 1398577536, 1398577541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1574764251709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:51:42.579492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_22_3026.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_25_2762.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_28_2680.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_31_3593.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_34_2609.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_38_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_22_3026.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_25_2762.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_28_2680.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_31_3593.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_34_2609.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_38_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577554","1398577548","1398577556","1398577550","1398577552","1398577546"],"photo_ids_order":["1398577546","1398577548","1398577550","1398577552","1398577554","1398577556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5207605e0704a7b6ff358e8df6928467.jpg","text":"TemporaryFile(/tmp/multipartBody562686409975780768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_34_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db4a42f39d1238f48e6b1fc94902be8b.jpg","text":"TemporaryFile(/tmp/multipartBody6557021460451953675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_25_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/06c6bb0a52a55cd8a82363d1a69af057.jpg","text":"TemporaryFile(/tmp/multipartBody328861524934993569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_38_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/94c598c8572ce277eeece50f93208c35.jpg","text":"TemporaryFile(/tmp/multipartBody2075714356906001676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_28_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/57f9f70cdc16ef716e91a23784eb9080.jpg","text":"TemporaryFile(/tmp/multipartBody2846730221679848627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_31_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/213473ef52c5c148dcdd9d6919f61271.jpg","text":"TemporaryFile(/tmp/multipartBody246496721585184369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320763571,"filename":"image_01112025_20_02_22_3026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577550","file1":"1398577548","file0":"1398577546","file4":"1398577554","file5":"1398577556","file3":"1398577552"},"map_files_photo_id_array":[{"photo_id":"1398577556","filename":"file5"},{"photo_id":"1398577550","filename":"file2"},{"photo_id":"1398577554","filename":"file4"},{"photo_id":"1398577548","filename":"file1"},{"photo_id":"1398577546","filename":"file0"},{"photo_id":"1398577552","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577554":["hashtag1","hashtag2"]},{"1398577548":["hashtag1","hashtag2"]},{"1398577556":["hashtag1","hashtag2"]},{"1398577550":["hashtag1","hashtag2"]},{"1398577552":["hashtag1","hashtag2"]},{"1398577546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577554, 1398577548, 1398577556, 1398577550, 1398577552, 1398577546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053664684295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:52:22.703324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:52:32.735910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_15_9680.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_25_10324.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_35_9679.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_46_11222.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_55_8811.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_20_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_15_9680.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_25_10324.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_35_9679.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_46_11222.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_55_8811.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_20_04_9606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8681273460388184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:52:42.749023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_40_2643.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_43_2651.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_50_2948.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_52_2653.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_55_2637.jpg', '/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_58_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_40_2643.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_43_2651.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_50_2948.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_52_2653.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_55_2637.jpg
/home/pi/Desktop/images/01112025/20/02/image_01112025_20_02_58_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577572","1398577569","1398577574","1398577565","1398577573","1398577576"],"photo_ids_order":["1398577565","1398577569","1398577572","1398577573","1398577574","1398577576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/a2805cfedc2c26b29c089f8489e39b04.jpg","text":"TemporaryFile(/tmp/multipartBody3051831656035193667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_50_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/db3846679532ec3b423c53523322070c.jpg","text":"TemporaryFile(/tmp/multipartBody7123384015314362009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_43_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2dd4d8b9d91a79e2664b8141467aa82.jpg","text":"TemporaryFile(/tmp/multipartBody1993713888903037967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_55_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4cbfae2d029cb899731d144a5b5addea.jpg","text":"TemporaryFile(/tmp/multipartBody3313482920267476752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_40_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2697bcdf524c8c74fde74c9c6fa28d22.jpg","text":"TemporaryFile(/tmp/multipartBody8479468780313531881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_52_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/69a0527ab7735d2ff0b84d504008e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5563030852084004816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320823762,"filename":"image_01112025_20_02_58_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577572","file1":"1398577569","file0":"1398577565","file4":"1398577574","file5":"1398577576","file3":"1398577573"},"map_files_photo_id_array":[{"photo_id":"1398577576","filename":"file5"},{"photo_id":"1398577572","filename":"file2"},{"photo_id":"1398577574","filename":"file4"},{"photo_id":"1398577569","filename":"file1"},{"photo_id":"1398577565","filename":"file0"},{"photo_id":"1398577573","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577572":["hashtag1","hashtag2"]},{"1398577569":["hashtag1","hashtag2"]},{"1398577574":["hashtag1","hashtag2"]},{"1398577565":["hashtag1","hashtag2"]},{"1398577573":["hashtag1","hashtag2"]},{"1398577576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577572, 1398577569, 1398577574, 1398577565, 1398577573, 1398577576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84655237197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:53:21.881927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_15_9666.jpg', '/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_25_9672.jpg', '/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_35_10714.jpg', '/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_45_9687.jpg', '/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_55_9701.jpg', '/home/pi/Desktop/images/09122025/14/52/image_09122025_14_53_05_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_15_9666.jpg
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_25_9672.jpg
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_35_10714.jpg
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_45_9687.jpg
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_52_55_9701.jpg
/home/pi/Desktop/images/09122025/14/52/image_09122025_14_53_05_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577581","1398577590","1398577584","1398577586","1398577583","1398577585"],"photo_ids_order":["1398577581","1398577583","1398577584","1398577585","1398577586","1398577590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6bfbaa3c1d068ed89f7b16776c721eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1328118559825676632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_52_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/20ed28fd7432341c3ba7e0382e06cc25.jpg","text":"TemporaryFile(/tmp/multipartBody1948734428189343712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_53_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/27df4fb6c44810050710ac41552843cf.jpg","text":"TemporaryFile(/tmp/multipartBody3232511020613051774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_52_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d6732d17c4f89f29d7d792a9c015b06c.jpg","text":"TemporaryFile(/tmp/multipartBody704840765284876790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_52_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/3097a914c32ad44a99832e1602bd8524.jpg","text":"TemporaryFile(/tmp/multipartBody2491317515098724609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_52_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/81e95019e0024d78794406d70d381ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8722041318087711230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320862974,"filename":"image_09122025_14_52_45_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577584","file1":"1398577583","file0":"1398577581","file4":"1398577586","file5":"1398577590","file3":"1398577585"},"map_files_photo_id_array":[{"photo_id":"1398577590","filename":"file5"},{"photo_id":"1398577584","filename":"file2"},{"photo_id":"1398577586","filename":"file4"},{"photo_id":"1398577583","filename":"file1"},{"photo_id":"1398577581","filename":"file0"},{"photo_id":"1398577585","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577581":["hashtag1","hashtag2"]},{"1398577590":["hashtag1","hashtag2"]},{"1398577584":["hashtag1","hashtag2"]},{"1398577586":["hashtag1","hashtag2"]},{"1398577583":["hashtag1","hashtag2"]},{"1398577585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577581, 1398577590, 1398577584, 1398577586, 1398577583, 1398577585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87500309944153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:54:02.806104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_15_9941.jpg', '/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_25_9664.jpg', '/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_35_9664.jpg', '/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_45_10686.jpg', '/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_55_9734.jpg', '/home/pi/Desktop/images/09122025/14/53/image_09122025_14_54_05_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_15_9941.jpg
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_25_9664.jpg
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_35_9664.jpg
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_45_10686.jpg
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_53_55_9734.jpg
/home/pi/Desktop/images/09122025/14/53/image_09122025_14_54_05_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577600","1398577606","1398577596","1398577608","1398577602","1398577604"],"photo_ids_order":["1398577596","1398577600","1398577602","1398577604","1398577606","1398577608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/71d817a09c8af264ab354ad38bc5c9f8.jpg","text":"TemporaryFile(/tmp/multipartBody47579478954735127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_53_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/30ff3adc608ce7003c543fcbe9aed32f.jpg","text":"TemporaryFile(/tmp/multipartBody3568463462916502518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_53_55_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f08deaf4cac5a4a8a2039d2b0f6ac09c.jpg","text":"TemporaryFile(/tmp/multipartBody4075597298844459946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_53_15_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/25f52ffcfe7d7b1c440dd68bf648bf5b.jpg","text":"TemporaryFile(/tmp/multipartBody222098569448965378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_54_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/824d166f6ea56253b666a6a1c2ed9fae.jpg","text":"TemporaryFile(/tmp/multipartBody6635191029802835708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_53_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d1a2601d50df06339abde084703f3caa.jpg","text":"TemporaryFile(/tmp/multipartBody6332005688864547995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320903422,"filename":"image_09122025_14_53_45_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577602","file1":"1398577600","file0":"1398577596","file4":"1398577606","file5":"1398577608","file3":"1398577604"},"map_files_photo_id_array":[{"photo_id":"1398577608","filename":"file5"},{"photo_id":"1398577602","filename":"file2"},{"photo_id":"1398577606","filename":"file4"},{"photo_id":"1398577600","filename":"file1"},{"photo_id":"1398577596","filename":"file0"},{"photo_id":"1398577604","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577600":["hashtag1","hashtag2"]},{"1398577606":["hashtag1","hashtag2"]},{"1398577596":["hashtag1","hashtag2"]},{"1398577608":["hashtag1","hashtag2"]},{"1398577602":["hashtag1","hashtag2"]},{"1398577604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577600, 1398577606, 1398577596, 1398577608, 1398577602, 1398577604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81685137748718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-09 23:54:42.044870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
  port_id : 28335753
  datou_current_id : 4020355
in upload_from_sqlite, uploading in 28335753
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_01_2745.jpg', '/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_04_2538.jpg', '/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_07_3620.jpg', '/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_10_2514.jpg', '/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_13_3559.jpg', '/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_16_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4020355&datou=0
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_01_2745.jpg
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_04_2538.jpg
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_07_3620.jpg
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_10_2514.jpg
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_13_3559.jpg
/home/pi/Desktop/images/01112025/20/03/image_01112025_20_03_16_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577621","1398577615","1398577611","1398577617","1398577619","1398577613"],"photo_ids_order":["1398577611","1398577613","1398577615","1398577617","1398577619","1398577621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/142bde0ff023ae9c552e8b5006411a48.jpg","text":"TemporaryFile(/tmp/multipartBody779734352217057283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_16_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1a2e76d61aa7f503267db00510d258b9.jpg","text":"TemporaryFile(/tmp/multipartBody2043203184570315738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_07_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5caa9b72ead5e564cc1fbe6f31f1a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody9049932781950324883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_01_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/28081e819f27771bb5ed8061a31e77d3.jpg","text":"TemporaryFile(/tmp/multipartBody4910464043525107555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_10_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/31a0c845804984f07a1b1de455580369.jpg","text":"TemporaryFile(/tmp/multipartBody5760604812203965902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_13_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1b9dbecbe35d6ef260c816a472a9fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody8380795603555370422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320943048,"filename":"image_01112025_20_03_04_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577615","file1":"1398577613","file0":"1398577611","file4":"1398577619","file5":"1398577621","file3":"1398577617"},"map_files_photo_id_array":[{"photo_id":"1398577621","filename":"file5"},{"photo_id":"1398577615","filename":"file2"},{"photo_id":"1398577619","filename":"file4"},{"photo_id":"1398577613","filename":"file1"},{"photo_id":"1398577611","filename":"file0"},{"photo_id":"1398577617","filename":"file3"}],"portfolio_id":28335753,"hashtag_by_photo_ids":[{"1398577621":["hashtag1","hashtag2"]},{"1398577615":["hashtag1","hashtag2"]},{"1398577611":["hashtag1","hashtag2"]},{"1398577617":["hashtag1","hashtag2"]},{"1398577619":["hashtag1","hashtag2"]},{"1398577613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28335753 used, photo_id : ArrayBuffer(1398577621, 1398577615, 1398577611, 1398577617, 1398577619, 1398577613)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.8273241519928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:55:32.307435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_15_9680.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_25_10324.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_35_9679.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_46_11222.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_55_8811.jpg', '/home/pi/Desktop/images/08122025/14/19/image_08122025_14_20_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_15_9680.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_25_10324.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_35_9679.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_46_11222.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_19_55_8811.jpg
/home/pi/Desktop/images/08122025/14/19/image_08122025_14_20_04_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577626","1398577635","1398577631","1398577634","1398577628","1398577633"],"photo_ids_order":["1398577626","1398577628","1398577631","1398577633","1398577634","1398577635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7e4b1defcf164ef3210e262c5e542b20.jpg","text":"TemporaryFile(/tmp/multipartBody2174299870484955045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_19_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/f45e1cbec63c1de7013987a0e073cd46.jpg","text":"TemporaryFile(/tmp/multipartBody2336545890000182387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_20_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/32bb1c0ba9b41501f9939d73a0327e33.jpg","text":"TemporaryFile(/tmp/multipartBody3653233841538127935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_19_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/4afb436d2d8818b9d656dcef8ebe6e59.jpg","text":"TemporaryFile(/tmp/multipartBody1714998159532919130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_19_55_8811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/2789f0393fe39faecb6ed2f385c21a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7217118892105664310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_19_25_10324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/9e0d75beac44e2d5ba4dc844e356abe3.jpg","text":"TemporaryFile(/tmp/multipartBody2803967929297377616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765320996203,"filename":"image_08122025_14_19_46_11222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577631","file1":"1398577628","file0":"1398577626","file4":"1398577634","file5":"1398577635","file3":"1398577633"},"map_files_photo_id_array":[{"photo_id":"1398577635","filename":"file5"},{"photo_id":"1398577631","filename":"file2"},{"photo_id":"1398577634","filename":"file4"},{"photo_id":"1398577628","filename":"file1"},{"photo_id":"1398577626","filename":"file0"},{"photo_id":"1398577633","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398577626":["hashtag1","hashtag2"]},{"1398577635":["hashtag1","hashtag2"]},{"1398577631":["hashtag1","hashtag2"]},{"1398577634":["hashtag1","hashtag2"]},{"1398577628":["hashtag1","hashtag2"]},{"1398577633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398577626, 1398577635, 1398577631, 1398577634, 1398577628, 1398577633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.29515242576599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-09 23:56:22.419263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
  port_id : 29266298
  datou_current_id : 4198831
in upload_from_sqlite, uploading in 29266298
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_15_10545.jpg', '/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_25_9691.jpg', '/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_35_10528.jpg', '/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_45_9625.jpg', '/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_55_9724.jpg', '/home/pi/Desktop/images/09122025/14/54/image_09122025_14_55_05_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4198831&datou=0
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_15_10545.jpg
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_25_9691.jpg
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_35_10528.jpg
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_45_9625.jpg
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_54_55_9724.jpg
/home/pi/Desktop/images/09122025/14/54/image_09122025_14_55_05_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577650","1398577644","1398577641","1398577643","1398577646","1398577645"],"photo_ids_order":["1398577641","1398577643","1398577644","1398577645","1398577646","1398577650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ace9b6b4c02098f8f9737e101d0a6f87.jpg","text":"TemporaryFile(/tmp/multipartBody7431166287809808228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_55_05_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/0cd16a317e5a1df6360754b87ae4bc06.jpg","text":"TemporaryFile(/tmp/multipartBody7404082065797115210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_54_35_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/5e90b8b06e95ce6d85f0536db9165671.jpg","text":"TemporaryFile(/tmp/multipartBody5777929342092016777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_54_15_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/ca261d275c1ee4c32172fcd60d7e3baa.jpg","text":"TemporaryFile(/tmp/multipartBody7796086301975856548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_54_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/d2554ccabe0834b637b15ed48a72ff94.jpg","text":"TemporaryFile(/tmp/multipartBody2382044840803168811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_54_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/6df7476b352a413f428f9aa978845f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7520945941456059997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321042939,"filename":"image_09122025_14_54_45_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577644","file1":"1398577643","file0":"1398577641","file4":"1398577646","file5":"1398577650","file3":"1398577645"},"map_files_photo_id_array":[{"photo_id":"1398577650","filename":"file5"},{"photo_id":"1398577644","filename":"file2"},{"photo_id":"1398577646","filename":"file4"},{"photo_id":"1398577643","filename":"file1"},{"photo_id":"1398577641","filename":"file0"},{"photo_id":"1398577645","filename":"file3"}],"portfolio_id":29266298,"hashtag_by_photo_ids":[{"1398577650":["hashtag1","hashtag2"]},{"1398577644":["hashtag1","hashtag2"]},{"1398577641":["hashtag1","hashtag2"]},{"1398577643":["hashtag1","hashtag2"]},{"1398577646":["hashtag1","hashtag2"]},{"1398577645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29266298 used, photo_id : ArrayBuffer(1398577650, 1398577644, 1398577641, 1398577643, 1398577646, 1398577645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.914326190948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-09 23:57:13.112940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-09 23:57:21.898984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251201 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251202 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251203 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
  port_id : 29254648
  datou_current_id : 4195916
in upload_from_sqlite, uploading in 29254648
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_14_9782.jpg', '/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_25_10615.jpg', '/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_34_9602.jpg', '/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_45_10541.jpg', '/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_55_9927.jpg', '/home/pi/Desktop/images/08122025/14/20/image_08122025_14_21_04_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4195916&datou=0
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_14_9782.jpg
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_25_10615.jpg
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_34_9602.jpg
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_45_10541.jpg
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_20_55_9927.jpg
/home/pi/Desktop/images/08122025/14/20/image_08122025_14_21_04_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1398577665","1398577710","1398577799","1398577745","1398577663","1398577672"],"photo_ids_order":["1398577663","1398577665","1398577672","1398577710","1398577745","1398577799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/04a0b473425475d869e186e89cb2fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody5141827608686656641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_20_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/1241a4d012e5ecd870beea012d1e6725.jpg","text":"TemporaryFile(/tmp/multipartBody6605491786899509198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_20_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/7c3c5152559bfe2da697fb258a208a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5948522607530517793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_21_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/c115925ef75c511b754ca2d11186205a.jpg","text":"TemporaryFile(/tmp/multipartBody3250284409717886909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_20_55_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/76ef31b6b537dbbc53547526622ecee7.jpg","text":"TemporaryFile(/tmp/multipartBody6130497379662041580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_20_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/9/8c5a8b22b61a68381c5a0758910c0847.jpg","text":"TemporaryFile(/tmp/multipartBody5155896518946550678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765321103696,"filename":"image_08122025_14_20_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1398577672","file1":"1398577665","file0":"1398577663","file4":"1398577745","file5":"1398577799","file3":"1398577710"},"map_files_photo_id_array":[{"photo_id":"1398577799","filename":"file5"},{"photo_id":"1398577672","filename":"file2"},{"photo_id":"1398577745","filename":"file4"},{"photo_id":"1398577665","filename":"file1"},{"photo_id":"1398577663","filename":"file0"},{"photo_id":"1398577710","filename":"file3"}],"portfolio_id":29254648,"hashtag_by_photo_ids":[{"1398577665":["hashtag1","hashtag2"]},{"1398577710":["hashtag1","hashtag2"]},{"1398577799":["hashtag1","hashtag2"]},{"1398577745":["hashtag1","hashtag2"]},{"1398577663":["hashtag1","hashtag2"]},{"1398577672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29254648 used, photo_id : ArrayBuffer(1398577665, 1398577710, 1398577799, 1398577745, 1398577663, 1398577672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80026602745056 secondes ---
